spaghetti code with core data and multiple views

2009-07-13 Thread Christopher Campbell Jensen
Hi, I am busy writing my first app using objective-c, cocoa, xcode, etc. It is basically an app that will allow the user to compile meta data from several sources, select the bits he wants, and then write that meta data to the movie file. Think MetaX with more sources. My main overall probl

Re: spaghetti code with core data and multiple views

2009-07-14 Thread Christopher Campbell Jensen
On 14 Jul 2009, at 09:11, cocoa-dev-requ...@lists.apple.com wrote: In terms of the app delegate, window controllers and view controllers, it sounds like you've done things perfectly for your given user interface design. In terms of the "narrowed down" set of data, you haven't quite thought you

Re: spaghetti code with core data and multiple views

2009-07-14 Thread Christopher Campbell Jensen
In addition to the previous post from Mr Quincey Morris, I received the following from Aaron: Hi Chris, I'm having troubles posting to the list so this is a private response, but feel free to use any of this email on-list if you want to. I haven't read your entire email, but the impress

Disabled controls don't update their visual appearance

2009-08-10 Thread Christopher Campbell Jensen
Hi, I am sure I am just missing a single line of code, but I can't understand the following behavior: This code is where the issue occours: - (void)refreshButtonsEnabledState { NSLog(@"%d", [[[tabView selectedTabViewItem] label] isEqualToString:@"Current/Custom"] && [movieFile.movieMetaData

Re: Disabled controls don't update their visual appearance

2009-08-11 Thread Christopher Campbell Jensen
On 11 Aug 2009, at 08:00, Uli Kusterer wrote: On Aug 10, 2009, at 6:04 PM, Christopher Campbell Jensen wrote: I am sure I am just missing a single line of code, but I can't understand the following behavior: This code is where the issue occours: - (void)refreshButtonsEnabledState {

Re: Disabled controls don't update their visual appearance

2009-08-15 Thread Christopher Campbell Jensen
2009, at 06:45, Uli Kusterer wrote: On Aug 11, 2009, at 5:45 PM, Christopher Campbell Jensen wrote: To check when/if any of them were nil, I set a breakpoint and stepped through the code pausing it each time "refreshButtonsEnabledState" was called and it made me realise that the

bound popup cell not letting me set it's value

2009-08-19 Thread Christopher Campbell Jensen
Hi, I have made a short screen recording of my issue: http://www.flickr.com/photos/christophercjensen/3837784580/ As you might notice, I have an NSDictionaryController MetaData which has it's contents set to an NSMutableDictionary metadata. My window has a NSTableview with two columns: Column

Re: bound popup cell not letting me set it's value

2009-08-20 Thread Christopher Campbell Jensen
Bind the pop up cell's "selectedValue" binding to a string representing the current name, or bind its "selectedIndex" binding to a number that represents the index of the current name. This was the step I had missed, I hadn't bound any of the "selected" bindings. I tried looking in the class d