Re: Desperate for bindings help! Can ya spare a few minutes?
Re: Desperate for bindings help! Can ya spare a few minutes?
- Subject: Re: Desperate for bindings help! Can ya spare a few minutes?
- From: Steven Kramer <email@hidden>
- Date: Tue, 14 Dec 2004 22:23:49 +0100
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:
This email sent to email@hidden