Objective-C : Just another stupid properties question -


in objective-c properties can set alternative names fpr accessors.

@property(setter=namewrite:,getter=nameread,copy) nsstring *name; 

i thinking real hard don't know situation ever that. not kvc standard , see no advantage @ all. use of it?

mostly, used bool properties:

@property(getter=ishidden) bool hidden; @property(readonly, getter=isfinishedlaunching) bool finishedlaunching; 

but, yeah, beyond that, isn't used @ (nor should be).


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -