By mswatcher
via infragistics.com
Submitted: Nov 23 2012 / 11:13
So far we've taken a look at some basic objects: Strings and Arrays. I think its about time we take the next step and dive into the creation of our own objects! So today I'm going to go over creating custom classes, properties, and methods. The first thing to note, is that when you create a new class in objective-c you have 2 files, YourClass.h and YourClass.m. The “.h” file is where you’ll define all of your public methods and properties, where as in the “.m” you’ll have the actual implementation of your class, along with any private fields and methods.
Add your comment