Re: [swift-users] unsafeBitCast to Unimplemented Class

2017-02-06 Thread Andrew Trick via swift-users
> On Feb 6, 2017, at 8:51 PM, Dave Abrahams wrote: > > > on Mon Feb 06 2017, Andrew Trick wrote: > >> Is a missing declaration a use case that needs to be supported? > > I couldn't say. > >> Wouldn’t it be more proper to use selector based dispatch in those >> cases? > > Example, please?

Re: [swift-users] unsafeBitCast to Unimplemented Class

2017-02-06 Thread Dave Abrahams via swift-users
on Mon Feb 06 2017, Andrew Trick wrote: > Is a missing declaration a use case that needs to be supported? I couldn't say. > Wouldn’t it be more proper to use selector based dispatch in those > cases? Example, please? I don't know what that means, though I probably should. -- -Dave

Re: [swift-users] unsafeBitCast to Unimplemented Class

2017-02-06 Thread Andrew Trick via swift-users
> On Feb 5, 2017, at 9:01 AM, Dave Abrahams via swift-users > wrote: > > > on Sat Feb 04 2017, Saagar Jha > wrote: > >> Thanks–your not only did you method work, it had the side effect of >> obviating the need for a Bridging Header. > > Uh, wait: this doesn

Re: [swift-users] Non-objc protocol inheritance from objc protocol

2017-02-06 Thread Joe Groff via swift-users
> On Feb 6, 2017, at 3:22 PM, Jordan Rose via swift-users > wrote: > > Hi, Pavel. This is definitely supported, and it is indeed a bug that these > are not both producing 'true'. We're tracking this as rdar://problem/24453316 > . I also filed this as https://bugs.swift.org/browse/SR-3882

Re: [swift-users] Non-objc protocol inheritance from objc protocol

2017-02-06 Thread Jordan Rose via swift-users
Hi, Pavel. This is definitely supported, and it is indeed a bug that these are not both producing 'true'. We're tracking this as rdar://problem/24453316 . Jordan > On Feb 5, 2017, at 03:14, Pavel Ivashkov via swift-users > wrote: > > Hello, > > What is the current view on inheriting non-ob

Re: [swift-users] Question about text colouring in NSTextView

2017-02-06 Thread Quinn "The Eskimo!" via swift-users
On 6 Feb 2017, at 19:16, Jens Alfke via swift-users wrote: > Apple developer lists have been offline for more than a week them. This is being investigated (INC063170897). Share and Enjoy -- Quinn "The Eskimo!" Apple Developer Relations, Dev

Re: [swift-users] Question about text colouring in NSTextView

2017-02-06 Thread Jens Alfke via swift-users
> On Feb 4, 2017, at 6:03 AM, Valera Tarasov via swift-users > wrote: > > Dear Members, > I need help and have a question about the performance of text coloring in > NSTextView. Your question is related to Apple’s Cocoa UI frameworks, but this list is focused on the Swift language itself (an

[swift-users] Question about text colouring in NSTextView

2017-02-06 Thread Valera Tarasov via swift-users
Dear Members, I need help and have a question about the performance oftext coloring in NSTextView. I have used NSAttributedString  and NSForegroundColorAttributeName,NSBackgroundColorAttributeName to color the string about 20 000 characters andmore. I have found quite significant slow down dep

[swift-users] TWISt-shout Newsletter 2017-02-06

2017-02-06 Thread Kenny Leung via swift-users
Hi All. Here is your TWISt-shout Newsletter for the week of 2017-01-31 to 2017-02-05 https://github.com/pepperdog/TWISt-shout/blob/master/2017/TWISt-shout-2017-02-06.md Enjoy! -Kenny __

Re: [swift-users] Swift 101: JSON or XML?

2017-02-06 Thread Tino Heth via swift-users
It's no real help for you, but for me, XML is a document format (store data for a long time), whereas JSON is a transfer format (I really wouldn't prefer JSON over XML for archiving). But imho JSON won't continue growing in popularity, because finally people seem to rediscover the advantages of