iphone - private interface AND multiple implementation -


there simple object-c code snippet got ios project:

@interface store (private)  @end  @implementation store (private)  @end  @implementation store 

my questions are:

  1. what (private) mean in code, private interface & implementation?

  2. what last line @implementation store mean? empty public implementation? without @end?

  3. since there 2 @implementation store in above code, mean objective-c support multiple implementation single interface?

  1. what (private) mean in code, private interface & implementation? - (private) means decalring/implementing objective-c category. in case private name. wouldn't make difference if store (myprivatemethods)

  2. what last line @implementation store mean? empty public implementation? without @end? - @implementation store actual implementation part of class store. not sure happens if @end missing.

  3. since there 2 @implementation store in above code, mean objective-c support multiple implementation single interface? - there aren't 2 implementations of store. there 1 implementation of class store , 1 implementation of category of class - store (private).


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -