I've created a sample project showing the behavior and submitted it with radar #18730653.
> On Oct 21, 2014, at 17:09 , Greg Parker <gpar...@apple.com> wrote: > > >> On Oct 21, 2014, at 4:25 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> But the names of the elements all have to start with the type name > > This should not be the case. Please provide an example of the ObjC and Swift > code you're using. > > Here's mine: > > // ObjC header: no type name prefix on enumerators > typedef NS_ENUM(NSInteger, Foo) { > Aalpha, Bbeta, Oomega > }; > > // Swift code: compiles successfully > var f = Foo.Aalpha > if f == Foo.Bbeta { println("same") } > > > -- > Greg Parker gpar...@apple.com Runtime Wrangler > > > > _______________________________________________ > > 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/rmann%40latencyzero.com > > This email sent to rm...@latencyzero.com -- 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