ios - Naming the class of hello world program for Mac in Xcode -
i programming hello world program , i'm new xcode. followed tutorial in apple developer website
when tried make new file objective-c class in cocoa mac os x, required class name while in tutorial saying "subclass of nsview
(# 3 in tutorial).
i put nsview
, clicked [next] , asking put new file not name of file. in tutorial (# 4), there "save helloview.m
.
what supposed name class name? nsview.m
or helloview.m
?
(i cannot post snapshots because i'm new stackoverflow....)
nsview name of superclass don't want call class that, go helloview. class inherits functionality superclass, can add or override behaviour requires. hth
Comments
Post a Comment