On 22/10/2009, at 3:52 PM, Joshua Garnham wrote: > Ah, I see. so I need to send it to an instance of the class not the class it > self. > How would I do that?
With respect, please understand that your questions are akin to this: Q. How do I start the car? A. You turn the key. Q. How do I drive? A. ummm.... You need to learn the basics of Objective-C, it is very clear that you do not understand even the simplest concepts. To directly answer your question, you allocate and initialize an instance of your class using [[YourClass alloc] init], or using a convenience class method or other designated initializer. However, this information is unlikely to help you until you invest some time in learning Objective-C. I personally recommend reading this book: http://www.amazon.com/Programming-Objective-C-2-0-Stephen-Kochan/dp/0321566157 It's all laid down here though: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/index.html -- Rob Keniger _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com