Re: Where is kUCHighSurrogateRangeStart in Swift 1.2
Re: Where is kUCHighSurrogateRangeStart in Swift 1.2
- Subject: Re: Where is kUCHighSurrogateRangeStart in Swift 1.2
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 10 Apr 2015 11:43:18 +0700
>
>
> On Thu, Apr 9, 2015, at 10:01 AM, Gerriet M. Denkmann wrote:
>> Using Xcode 6.2 my Swift program compiled and run fine.
>>
>> Now Xcode 6.3 complains of unresolved identifier
>> kUCHighSurrogateRangeStart.
>>
>> This is defined in:
>> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/TextCommon.h
>> .
>>
>> How to make Swift recognise this file?
>
> Are you importing CoreServices?
I tried, but it did not make any difference (importing Cocoa already).
> Did you try referring to the symbol as
> `CoreServices.kUCHighSurrogateRangeStart`?
I just did, and now it is working fine. Thanks a lot!
>
> --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