• 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
Programmatically creating a NSMatrix with a prototype cell question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically creating a NSMatrix with a prototype cell question


  • Subject: Programmatically creating a NSMatrix with a prototype cell question
  • From: David Hoerl <email@hidden>
  • Date: Sat, 20 Jun 2009 13:08:21 -0400

Create a NSTextFieldCell and customize it. Create a NSMatrix using the "prototype" init version, and display it. All the custom formatting is gone - all cells are vanilla NSTextFieldCells.

Loop through the matrix, and set each cell to a copy of the cell I used as a prototype, using the "putCell..." method. Now it works fine.

What's going on? [Google etc no help.]

David

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: my drawer won't close
  • Next by Date: Crash in KVO when using -keyPathsForValuesAffecting<Key>
  • Previous by thread: LSUIElement=1 application activation causes menu items of other applications to be wrongly enabled
  • Next by thread: Crash in KVO when using -keyPathsForValuesAffecting<Key>
  • Index(es):
    • Date
    • Thread