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

https://developer.apple.com/library/ios/#documentation/ides/conceptual/xcode_quick_start/010-tutorial_using_xcode_to_write_hello_world/hello_world_tutorial.html

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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -