On Mon, Aug 12, 2013, at 01:44 PM, Gordon Apple wrote:
> Is there some reason why some classes, such as NSTextView, don¹t declare
> IBAction in their actions?

Possibly because they predate IBAction? IB used to just look for methods
that took an id argument and returned void.

> I¹ve taken to re-declaring such in
> subclasses,
> which works, but results in compiler warnings about unimplemented
> methods.
> Without that, you can¹t connect, say, a menu, in IB.  You can use a
> binding,
> but if you want the ³sender² parameter, you are SOL.  Am I missing
> something?

Does IB really not allow you to connect to such legacy methods?

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to