Home

Advertisement

Customize

Complete ObjectiveC Confusion

2008.Nov.1st | 11:11 pm
location: Red Floors
mood: confused confused

Spent 2 hours playing with a simple interface/implementation model, and the only thing I realized is... Objective-C is AAARGH. Why is it so difficult to implement objects?

I was not able to simply declare an interface class, then implementation, and instantiate with [MyClass new]. Whaaa, eeeh, NAAAAAAA? mew. The problem is that I wasn't extending the GNU Object class, but why should I? Why is that necessary?

Personally, this has turned me off, because I shouldn't be required to extend classes I didn't write. Perhaps I'm doing it wrong, but I wasn't able to manually allocate/instatiate an object either using malloc, etc.

Who knows....

Link | Leave a comment {2} | Add to Memories | Tell a Friend