• 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
NSCell -setFont Clobbers Editability?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCell -setFont Clobbers Editability?


  • Subject: NSCell -setFont Clobbers Editability?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 28 Aug 2005 17:02:11 -0700

I have an NSTextFieldCell subclass and I've noticed that if I call setFont: on it, the cell refuses to be editable, even if you call setFont before calling setEditable:YES. The docs say:

"Sets the font to be used when the receiver displays text. If the
receiver is not a text-type cell, the method converts it to that type."



That makes me wonder. Is it clobbering my cell (in some way I can't figure out) because it thinks it isn't a "text-type" cell? I can work around it, no problem, but this seems weird/wrong to me.



-- Seth Willits _______________________________________________ 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
  • Follow-Ups:
    • Re: NSCell -setFont Clobbers Editability?
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: the underscore naming convention
  • Next by Date: Re: Apple crash reports
  • Previous by thread: Actions on screensaver activate/deactivate
  • Next by thread: Re: NSCell -setFont Clobbers Editability?
  • Index(es):
    • Date
    • Thread