> On Oct 6, 2015, at 11:31 , Greg Parker <gpar...@apple.com> wrote: > > >> On Oct 5, 2015, at 7:57 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Especially when a struct can be an AnyObject. > > `AnyObject` is an instance of any class type. It is never a struct. `Any` > encompasses both classes and structs.
Thanks for the reminder. So, I wonder why it's behaving as it is in this case, since copy() returns an AnyObject. -- Rick Mann rm...@latencyzero.com _______________________________________________ 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