There's @interface in my @implementation — why is that?
Posted
by Mark McDonald
on Stack Overflow
See other posts from Stack Overflow
or by Mark McDonald
Published on 2010-05-11T20:50:57Z
Indexed on
2010/05/11
20:54 UTC
Read the original article
Hit count: 128
objective-c
|cocoa
This is a pretty noobish question – I'm looking at some Cocoa sample code and there's @interface blocks in the .m files as well as the headers. For instance, in the AppDelegate class header, a UIWindow and UI navigation are defined as instance variables, but the @property declarations are actually made in the implementation file. Is there a functional reason for this, is it a stylistic choice, or… ?
© Stack Overflow or respective owner