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

ivan hernandez
PLUS
ivan hernandez
Courses Plus Student 2,298 Points

Error in the practice

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

Stone Preston
Stone Preston
42,016 Points

please post the code you are using for the challenge

ivan hernandez
ivan hernandez
Courses Plus Student 2,298 Points

@interface Gem : NSObjet

@end

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

7 Answers

Stone Preston
Stone Preston
42,016 Points
@interface Gem : NSObjet

@end

you misspelled NSObject as NSObjet. try using

@interface Gem : NSObject

@end

instead

Stone Preston
Stone Preston
42,016 Points

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

ivan hernandez
PLUS
ivan hernandez
Courses Plus Student 2,298 Points

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

Stone Preston
Stone Preston
42,016 Points

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

Stone Preston
Stone Preston
42,016 Points

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

ivan hernandez
PLUS
ivan hernandez
Courses Plus Student 2,298 Points

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

Stone Preston
Stone Preston
42,016 Points

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