Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desperate for bindings help! Can ya spare a few minutes?




Op 14-dec-04 om 7:19 heeft Steven Palm het volgende geschreven:

I'm at wits end... I've twisted this program upside and down, sideways, and I can't see what it's problem is... It's probably so simple that I'm over looking it, so if anyone would be so gracious as to download this and take a peek, I'd be very so grateful!! This is going to be a freeware GUI for the OpenVPN firewall, so many will benefit.

The problem is that many of the GUI elements are tied to the currently selected item from the Configs array controller, but they don't update properly UNLESS you pick a different config item in the list, then they all update. FRUSTRATING! I fire off an NSTask, and when it terminates I use the notification it sends to set the status to off which sets the active flag to NO, which the GUI should reflect. All objects update, debugging NSLog() statements show it flows through, but the GUI doesn't update.


Have you tried manual notification in the setter? Shouldn't be necessary, but still...


- (void) setStatus: (bool) inNewStatus
{
	[self willChangeValueForKey: @"status"];
	status = inNewStatus;
	[self didChangeValueForKey: @"status"];
}


Regards

Steven Kramer

--
email@hidden
http://sprintteam.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Desperate for bindings help! Can ya spare a few minutes? (From: Steven Palm <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.