Re: UIKit and Swift
Re: UIKit and Swift
- Subject: Re: UIKit and Swift
- From: Kyle Sluder <email@hidden>
- Date: Tue, 10 Jun 2014 23:12:38 -0700
> On Jun 10, 2014, at 10:57 PM, Jim Geist <email@hidden> wrote:
>
> Anyone know off the top of their head how to import an Obj-C extension into Swift? Specifically, I need the NSString extensions from UIKit.
`import UIKit` doesn’t work? Of course, that will only work on platforms where UIKit exists (iOS device/simulator), so you can’t expect it to work in a REPL or Playground.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden