On May 2, 2012, at 7:19 AM, ecir hana wrote: > - I saw that Xcode named the Info.plist differently (it prepends my project > name to it) - is it ok just to call it Info.plist? Is there any convention?
https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/ConfigFiles.html > - this CFBundleDocumentTypes - what if I wanted to have only one kind of > documents? Does it have to be an array as well? What is the absolute > minimum every CFBundleDocumentTypes must contain? https://developer.apple.com/library/mac/#documentation/CoreFOundation/Reference/CFBundleRef/Reference/reference.html > - is it really the case that I don't need the AppDelegate? It currently > makes sense to me but maybe I'm missing something? http://cocoawithlove.com/2008/11/singletons-appdelegates-and-top-level.html > - I don't want to put the window in init, where else should I put it? Does > NSDocument have an equivalent of applicationDidFinishLaunching, i.e. when > the document is created is there any callback fired? https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/nsdocument_Class/Reference/Reference.html > - new windows are positioned over the previous ones - I know this is > because of that NSMakeRect() - the application created using Xcode (with > NIBs) put every new window slightly to the right, slightly below the > previous window - what is responsible for it? The NIB? It is called window cascading. https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/nswindowcontroller_Class/Reference/Reference.html You should also read this. http://cocoawithlove.com/2008/03/cocoa-application-startup.html --Richard _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com