• 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
Newbie Button Matrix / Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Button Matrix / Bindings


  • Subject: Newbie Button Matrix / Bindings
  • From: Chris Outwin <email@hidden>
  • Date: Fri, 12 Aug 2005 14:21:30 -0500

I have a matrix of three NSButtons which use Bindings' selectedTag via selection.clearColor(NSObjectController).

What Works
When the second or third button is pressed, setClearColor: is called and the associated custom OpenGL view updates.


The Problem
If the first button is the first to be selected after the app starts, setClearColor: is not called. However, the first button works normally if its selection is preceded by either of the other two buttons.


- (void)setClearColor: (id) sender {
    clearColor = [sender intValue];
    [self setNeedsDisplay: YES];
}

- (ClearColors)clearColor {
    return clearColor;
}

I'm using OS X 10.4.2 and Xcode 2.1 on a G5.

Thank you very much.
_______________________________________________
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


  • Prev by Date: xpath id() function
  • Next by Date: APIs to work with zip archives
  • Previous by thread: Re: xpath id() function
  • Next by thread: APIs to work with zip archives
  • Index(es):
    • Date
    • Thread