• 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: textView outlet problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textView outlet problem


  • Subject: Re: textView outlet problem
  • From: simone gabbriellini <email@hidden>
  • Date: Mon, 7 Mar 2005 15:55:30 +0100

No, it is connected,
in fact I'm able to save to file what I type inside that textView.
I'm able to retrive that content too,
but I cannot put it into the textview again.

Thanks,
Simone


Il giorno 07/mar/05, alle 15:47, Geert B. Clemmensen ha scritto:

Your outlet ivar (messagioInvito) isn't connected (control-drag in IB) to to the NSTextView instance, which is why the printf gives "(null)".

Regards,
Geert B. Clemmensen
www.frontbase.com

On 7. mar 2005, at 15.34, simone gabbriellini wrote:

Dear List,

I have a textView outlet (messaggioInvito) in which I would load a NSString (messaggio)

My code is:

[messaggioInvito insertText:messaggio];

but it seems that the outlet doesn't listen, and in the GUI nothing happens.
If I ask to printf the variable after this assignment, I have:

(null)

as an answer.
The textView is editable by the user, and messaggio do have a string stored.
cannot understand why this happens.
any help welcome

thank you,
simone _______________________________________________
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
 _______________________________________________
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

References: 
 >textView outlet problem (From: simone gabbriellini <email@hidden>)
 >Re: textView outlet problem (From: "Geert B. Clemmensen" <email@hidden>)

  • Prev by Date: Re: textView outlet problem
  • Next by Date: RE: textView outlet problem
  • Previous by thread: Re: textView outlet problem
  • Next by thread: RE: textView outlet problem
  • Index(es):
    • Date
    • Thread