• 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
OS X: how to create a text label?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X: how to create a text label?


  • Subject: OS X: how to create a text label?
  • From: Artemiy Pavlov <email@hidden>
  • Date: Wed, 8 Dec 2010 21:15:42 +0200

Hi all!

I would like to add a simple text label to my Cocoa UI on OS X, programaticaly. It's just a static text label that'll be there unchanged, that has a certain font, size and color. What is the best way to do this?

I assumed this would be as easy as with NSBezierCurve, but it doesn't seem that clear from the official Cocoa documentation.

Would appreciate any advise!


Thanks and best wishes,

Artemiy.
_______________________________________________

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


  • Follow-Ups:
    • Re: OS X: how to create a text label?
      • From: Wim Lewis <email@hidden>
    • Re: OS X: how to create a text label?
      • From: Laurent Daudelin <email@hidden>
  • Prev by Date: Re: performSelectorOnMainThread fails second time through
  • Next by Date: Re: OS X: how to create a text label?
  • Previous by thread: Re: C++ linkage errors in XCode
  • Next by thread: Re: OS X: how to create a text label?
  • Index(es):
    • Date
    • Thread