Re: textView outlet problem
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