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:
what
(private)mean in code, private interface & implementation?what last line
@implementation storemean? empty public implementation? without@end?since there 2
@implementation storein above code, mean objective-c support multiple implementation single interface?
what (private) mean in code, private interface & implementation?-(private)means decalring/implementing objective-c category. in caseprivatename. wouldn't make difference ifstore (myprivatemethods)what last line @implementation store mean? empty public implementation? without @end?-@implementation storeactual implementation part of classstore. not sure happens if@endmissing.since there 2 @implementation store in above code, mean objective-c support multiple implementation single interface?- there aren't 2 implementations ofstore. there 1 implementation of classstore, 1 implementation of category of class -store (private).
Comments
Post a Comment