osx - New cocoa class in Xcode giving @interface and @implementation in implementation file? -


new osx programming. understanding .m file should have @implementation/@end block , .h file should have @interface/@end block. not sure why when create new cocoa class in xcode (version 6.1) both blocks in .m file? upload image don't have enough points.

you can have "private interface" not contained in header files (and not intended public consumption internal use).

the common case so-called "class extension".


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -