On Sat, Aug 7, 2010 at 10:15 PM, vincent habchi <[email protected]> wrote: > By the way, can anybody explain me why the call [window fieldEditor: > forObject:] returns a NSText *, while the documentation explicitly states it > returns a NSTextView * (so I had to cast it to get access to the > -layoutManager method)?
According to one old-timer, it's an artifact from when NSText used to be the only public class in the text system, probably left over for source compatibility. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
