Editing text in a custom view?
Editing text in a custom view?
- Subject: Editing text in a custom view?
- From: Håkan Waara <email@hidden>
- Date: Tue, 16 May 2006 13:38:57 +0200
Hi all,
I'm trying to get an editing capability into my custom view.
The approach I'm trying right now is:
* Create a NSTextView*,
* add it to my view with [self addSubView:textView];
* mark my view as dirty with [self setNeedsDisplay:YES];
* Lastly, I set the textView to be the first responder.
I can see a white rect is drawn at the right spot at first, but it's
not refreshed, I don't see a caret and can't input any text.
What am I missing here?
/Håkan _______________________________________________
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