User Preferences Causing Application to Crash
User Preferences Causing Application to Crash
- Subject: User Preferences Causing Application to Crash
- From: Patrick Altman <email@hidden>
- Date: Tue, 6 May 2008 13:50:26 -0500
I am very new to cocoa development but a rather seasoned software
engineer in general. I am attempting to get a handle on how user
preferences work in the context of the NSUserDefaultsController and
Bindings.
I follow the steps outlined here:
http://developer.apple.com/cocoa/cocoabindings.html
Despite this document clearly being for 10.4 and I am in 10.5, it
seems to generally still apply.
I get everything wired up with little problem and run the application.
When I select Preferences from my menu, it launches my preference
panel and I type in a value and close the panel. The setting got
written fine to the settings file as verified with a
defaults read
command in the Terminal.
However, when i go to click the "NewApplication" application menu
again to be able to click the Preferences... menu item to pull back up
the preferences pane, the menu doesn't drop down and instead my
application crashes with this in the Console:
The Debugger has exited due to signal 11 (SIGSEGV).The Debugger has
exited due to signal 11 (SIGSEGV).
Any ideas of what I am doing wrong?
I have started a fresh project and repeated the steps just in case I
screwed some setting up somewhere and I get the same results.
Any help is much appreciated.
-Patrick Altman
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden