[swift-users] Swift 3 on FreeBSD

2017-03-07 Thread Stephen Larew via swift-users
I would like to use Swift 3.0 on FreeBSD. The ports tree currently only provides Swift 2.2 [1]. Can anyone comment on the status of Swift 3.0 on FreeBSD? Will compiling from source/makefiles/cmake “just work” on FreeBSD, or should I expect to spend some time porting things myself? For

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Michael Gardner via swift-users
> On Mar 7, 2017, at 10:14, Jens Alfke wrote: > > >> On Mar 7, 2017, at 9:28 AM, Michael Gardner via swift-users >> wrote: >> >> The general approach would be to run a diff between your old and new arrays. >> Something like

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Jens Alfke via swift-users
> On Mar 7, 2017, at 9:28 AM, Michael Gardner via swift-users > wrote: > > The general approach would be to run a diff between your old and new arrays. > Something like https://github.com/jflinter/Dwifft > could help, though I

Re: [swift-users] Swift/Obj C interoperability: 'Obj C only' functions

2017-03-07 Thread Joe Groff via swift-users
> On Mar 6, 2017, at 2:20 AM, Andrew Hill2 via swift-users > wrote: > > Hi, > > I’ve been looking at making some changes to the ResearchKit library. This is > mainly written in Objective C, with small portions of Swift. > > The Pull request I’ve generated leveraged

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Michael Gardner via swift-users
The general approach would be to run a diff between your old and new arrays. Something like https://github.com/jflinter/Dwifft could help, though I haven't used it personally. Another approach is to build a wrapper around your source array with limited modification methods and a KVO-like

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Jens Alfke via swift-users
> On Mar 7, 2017, at 8:45 AM, Edward Connell wrote: > > My project is on Linux, so pure Swift. > So you don't think this is an issue of intentional library design, but a > recognized problem that hasn't been addressed yet? Exactly. —Jens

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Edward Connell via swift-users
My project is on Linux, so pure Swift. So you don't think this is an issue of intentional library design, but a recognized problem that hasn't been addressed yet? Thanks, Ed On Tue, Mar 7, 2017 at 8:13 AM, Jens Alfke wrote: > > On Mar 7, 2017, at 8:08 AM, Edward Connell

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Jens Alfke via swift-users
> On Mar 7, 2017, at 8:08 AM, Edward Connell wrote: > > My question is, what was their design intent? Rebuild all dependents every > time? Swift started out by piggybacking on facilities provided by Foundation. Over time it’s becoming self-sufficient, but it’s a work in

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Edward Connell via swift-users
Thank you Jens, that is exactly the point of my question. At the moment in pure swift there is no incremental array change API for observers. This must have been considered by the library designers. My question is, what was their design intent? Rebuild all dependents every time? Sent from my

Re: [swift-users] What is the intended response to Array change notification for dependents?

2017-03-07 Thread Jens Alfke via swift-users
On Mar 6, 2017, at 11:36 PM, Rien via swift-users wrote: > On 07 Mar 2017, at 03:56, Edward Connell via swift-users > > wrote: > > I would like to have an Array implementation where I get more information > than just

Re: [swift-users] Swift 3.0.2 on Raspberry Pi 3( Piero Sabino)

2017-03-07 Thread TUNG CK via swift-users
Yes it is possible just google search. There are two variants for arm out there, one for Rasbian and another one for Ubuntu 16.04 > Piero Sabino via swift-users 於 2017年3月7日 上午4:32 寫道: > > Is it possible to install Swift 3.0.2 on Raspberry Pi 3? >