On Dec 11, 2009, at 8:49 AM, Half Activist wrote: > Hello All, > > I'm developping a document-based application that up to today could > read two document types and write one of the two. > So one type was set as an editor the other one as viewer in the > Info.plist. > All the save/open panel stuff is the plain AppKit behavior and I > haven't overridden a tiny ounce of it all in my NSDocument subclass. > Today I added a new editor document type in the info.plist. Gave it a > name, an icon, an extension, etc and set the app as an editor of this type. > Now I open a document, choose File > Save As, the save panel appears > and bang, crash! > So i traced it back and my own document's awakeFromNib is being called > by the savepanel opening process! > That's _really_ weird. > > If anyone already experienced this, did I do something wrong (clearly I > don't think so because I haven't even changed the source code, except for one > test)? > Yes the weirdest thing is that my code hasn't changed! >
Hi Half, You should post your crash report; that will help people diagnose the problem. corbin _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
