Re: textView outlet problem
Re: textView outlet problem
- Subject: Re: textView outlet problem
- From: "Geert B. Clemmensen" <email@hidden>
- Date: Mon, 7 Mar 2005 15:47:15 +0100
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