Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Introduction to Objective-C Inheritance

Error in the practice

Can t pass the practice it doesnt recognice the "@end"

please post the code you are using for the challenge

@interface Gem : NSObjet

@end

the errors said "BUMMER dont forget '@end'." but i didnt.

7 Answers

@interface Gem : NSObjet

@end

you misspelled NSObject as NSObjet. try using

@interface Gem : NSObject

@end

instead

Ah ok thx ..

Preston,

Sorry but doesnt work either.

I just passed task 1 using the above code. Are you sure you are adding this in the Gem.h file?

Yes, I'm using Gem.h flie I wrote @interface Gem : NSObjet @en d (space in end is because Forum @ change word end for David anuta) can I send you a pic of my screen?

wait for your comments ...thx

you still misspelled NSObject again as NSObjet. Try this:

@interface Gem : NSObject

@end

You can upload a screen shot to imgur or someplace similar and post a link if youd like

Here is the screen shot http://imgur.com/XByRoIX thx for your help ...

you need to change NSObjet to NSObject. if you fix that error it will work

you were damn right, I'm so sorry, but thank you for your patience and understanding, you gain a client ...

haha no worries. Sometimes small errors like that are hard to catch