In objective-c programs, there are places where one can write lines like the 
following:

[scrollview setBorderType:NSNoBorder];

with NSNoBoarder being specified in an enum in NSView.  But enums in swift are 
a different sort of beast, and I’ve not yet figured out what get the same job 
done.
Is there a straightforward way to do this?  (I’m using swift 2 in Xcode 7)

Boyd
_______________________________________________

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