Re: Second try: Setting text in NSTextView
Re: Second try: Setting text in NSTextView
- Subject: Re: Second try: Setting text in NSTextView
- From: Bill Bumgarner <email@hidden>
- Date: Sat, 11 Jan 2003 20:29:24 -0500
On Thursday, Jan 9, 2003, at 01:01 US/Eastern,
email@hidden wrote:
No problem. But can someone explain me, why this
[[textView textStorage] setText:@"new text"];
works, too? I get a waring if I compile that (as I expected)
but it really works. So, I'm curious to know why.
NSTextStorage implements -setText: as a part of the AppKit's
AppleScript support (apparently).
It simply isn't a publicly declared method. That it works at runtime
is merely coincidental.
b.bum
_______________________________________________
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.