• 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: NSTextField, drawing the text offset to the right in the field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField, drawing the text offset to the right in the field


  • Subject: Re: NSTextField, drawing the text offset to the right in the field
  • From: jon <email@hidden>
  • Date: Tue, 29 Sep 2009 20:06:08 -0600

ahh, that was it, thanks a lot, that made perfect sense once i looked inside IB....
I was also surprised that IB knew about my custom cell class...


I was thinking code code code... and i just needed that shove in the correct direction...
you made my day, after a very long day...


thanks,
Jon.


On Sep 29, 2009, at 7:58 PM, Kyle Sluder wrote:

+setCellClass: just tells the view "Hey next time you initialize
yourself, make a cell of this class."  Since your ImageTextField
instance was created inside of IB, this is never going to happen.
Instead you need to change the class of the cell from within IB, under
the Identity inspector.  It might be helpful to switch to the
hierarchical view so you can get easy access to the text field's cell.

_______________________________________________

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


References: 
 >Re: NSTextField, drawing the text offset to the right in the field (From: Matt Neuburg <email@hidden>)
 >Re: NSTextField, drawing the text offset to the right in the field (From: jon <email@hidden>)
 >Re: NSTextField, drawing the text offset to the right in the field (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSTextField, drawing the text offset to the right in the field
  • Next by Date: Re: NSTableColumn value binding + keypath over a relationship
  • Previous by thread: Re: NSTextField, drawing the text offset to the right in the field
  • Next by thread: simpleBrowser example has setCellClass setting a cell to an instance?
  • Index(es):
    • Date
    • Thread