• 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
Action Cell and Matrix Madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Action Cell and Matrix Madness


  • Subject: Action Cell and Matrix Madness
  • From: Andrew Merenbach <email@hidden>
  • Date: Sat, 26 Jan 2008 19:40:48 -0800

Hi, all,

I'm making a version of John Conway's "Game of Life" cellular automaton that requires a grid of cells. A previous version of my program used an NSMatrix subclass of NSCells.

Now, in IB3 on Leopard, I would like to set this up without having to do substitutions or initializations in code (what I had to do before).

There doesn't appear to be a way to add a cell by itself to a view or window -- and this does indeed makes sense to me. There also doesn't appear to be a way to change the class of an NSButtonCell, NSTextCell, NSImageCell, et cetera in a matrix to be a custom subclass of NSCell or NSActionCell -- this also makes sense to me.

What doesn't make sense to me is that I can't figure out a way to do this. I want my custom NSActionCell (or NSCell, if that would work) subclass to be in an NSMatrix subclass. Is there no way to do this from IB3 *without* resorting to a custom palette plugin?

Cheers,
	Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Action Cell and Matrix Madness
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: WebView --> NSWindow = ***decode exception***
  • Next by Date: Interface Builder: WebView gives me SIGTRAP error
  • Previous by thread: Re: WebView --> NSWindow = ***decode exception***
  • Next by thread: Re: Action Cell and Matrix Madness
  • Index(es):
    • Date
    • Thread