• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Desperate for bindings help! Can ya spare a few minutes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: iCal SDK
  • Next by Date: Re: Objective C for Apache modules
  • Previous by thread: Re: Desperate for bindings help! Can ya spare a few minutes?
  • Next by thread: Re: Desperate for bindings help! Can ya spare a few minutes?
  • Index(es):
    • Date
    • Thread