• 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
Newbie Cocoa Question - Drawing Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Cocoa Question - Drawing Text


  • Subject: Newbie Cocoa Question - Drawing Text
  • From: "John Tsombakos" <email@hidden>
  • Date: Mon, 23 Jul 2001 13:29:51 -0400

Hi. I'm just in the learning stages of Cocoa, and want to
try to just draw a string in an NSView or even just do some
drawing. I assume that I need to use a subclass of NSView,
and override the DrawRect message(?) and in Interface
Builder drag the "Custom Class" item into my window. (I
guess). How would I go about this? Maybe set it up so when I
click a button, my drawing routine is called.

Help! I've been reading everything about Cocoa whereever I
can find it, but I haven't seen anything about basic things
like this.

Thanks!

John T.


  • Prev by Date: Re: Use of NSLog() for debugging
  • Next by Date: initWithFocusedViewRect problem - corrected
  • Previous by thread: Re: Use of NSLog() for debugging
  • Next by thread: initWithFocusedViewRect problem - corrected
  • Index(es):
    • Date
    • Thread