|Jul 22, 2010, 11:21 AM||#1|
Question about a new SplitView Application
When you create a new Split-View Application in XCode, I am trying to get a handle on something.
I am completely not understanding a bit in the DetailViewController.h/.m.
Of course in the .h file, it has the expected:
@interface DetailViewController : UIViewController ......
But in the .m file it also has:
@interface DetailViewController ()
and then another method and property declaration. I have never seen code like this in the .m file.
I can't get my brain around it...
|Jul 22, 2010, 11:27 AM||#2|
It's an anonymous category allowing for a truly private interface to be added. Basically it allows that property and method to exist and be visible to all methods in the class but not visible outside the class as they are not part of the public .h file.
Sponsor me to cycle 100Km round London in the dark
|Jul 22, 2010, 01:00 PM||#3|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Stupid Question about iTunes - RE: Application Data||Rat-Boy||iPhone||6||Jun 10, 2009 02:46 PM|
|Help Please. New to mac, question about location of downloaded applications||Italstln13||Mac Applications and Mac App Store||2||Aug 10, 2008 09:04 PM|
|Big time RAM usage / question about OS X and application RAM usage||SteveC||OS X||4||Jun 1, 2005 08:22 PM|
|A Few questions about my New 17" Powerbook||Palador||Buying Tips, Advice and Discussion (archive)||6||May 27, 2004 12:22 AM|
|Question about the new wireless keyboard?||nospleen||General Mac Discussion||3||Sep 21, 2003 10:52 PM|
All times are GMT -5. The time now is 11:26 AM.