• 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: Dynamically added text views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamically added text views


  • Subject: Re: Dynamically added text views
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Fri, 29 Aug 2003 16:55:56 +0100

On Friday, August 29, 2003, at 04:32 pm, April Gendill wrote:

I understand needing to pass a pointer and getting the value that would be pretty much exactly what's done with IB. what I do not know how to do it to make that pointer. How do I access the view item to make a pointer to it.

You already have a pointer to it... you got one when you created the text view) with a line like this (copied from your previous e-mail):

NSTextView *theTextView = [[NSTextView alloc] initWithFrame:[theScrollView frame]];

All you have to do is store it somewhere.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Dynamically added text views
      • From: April Gendill <email@hidden>
References: 
 >Re: Dynamically added text views (From: April Gendill <email@hidden>)

  • Prev by Date: Re: return two values at once from C function?
  • Next by Date: RE: return two values at once from C function?
  • Previous by thread: Re: Dynamically added text views
  • Next by thread: Re: Dynamically added text views
  • Index(es):
    • Date
    • Thread