|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|
|A question about application switcher :)||wixtren||Mac Applications and Mac App Store||2||Apr 23, 2013 08:53 PM|
|Question about application plans on iPhone 4S||mon-pc||iOS 6||4||Jan 26, 2013 08:36 AM|
|Splitview for iPad Safari?||CavemanUK||Web Design and Development||1||Jan 26, 2013 06:55 AM|
|Application folder question||looxlmc||iMac||13||Sep 10, 2012 03:56 PM|
|SplitView Pass from Master to Detail Issue||newtoiphonesdk||iPhone/iPad Programming||1||Jul 1, 2012 01:51 AM|
All times are GMT -5. The time now is 02:08 AM.