Re: [swift-users] Build Android GUI apps with Swift 3.0 via a framework/library

2016-10-18 Thread Tony Constantinides via swift-users
So according to the Swift Community I should adapt Kotlin and not Swift as my choice for the programming language for a cross-platform GUI framework? Is that really going to be easier than building a GUI framework for Android as listed on this page? https://github.com/apple/swift/blob/master/docs/

[swift-users] Syntax highlighting for all core libs projects in Xcode8?

2016-10-18 Thread Karl Peng via swift-users
Hi, Seems all core libs projects syntax highlighting is broken in Xcode8. Anyone has a solution for this? ___ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users

Re: [swift-users] comparison Non-Optional and Optional without unwrap

2016-10-18 Thread Rien via swift-users
Because the comparison function “==“ has the signature: func ==(lhs: T?, rhs: T?) -> Bool An optional parameter accepts non-optionals. In a sense non-optionals are “promoted” to optionals when used for an optional parameter. Rien. > On 18 Oct 2016, at 10:58, Седых Александр via swift-users >

Re: [swift-users] comparison Non-Optional and Optional without unwrap

2016-10-18 Thread Alex Blewitt via swift-users
> On 18 Oct 2016, at 09:58, Седых Александр via swift-users > wrote: > > This code work: > > let one: Int? = 5 > let two = 5 > let result = one == two > > print(result) > > //print true > > Why we can access to Optional value without unwrap within comparison > operations? The 'one' valu

[swift-users] comparison Non-Optional and Optional without unwrap

2016-10-18 Thread Седых Александр via swift-users
This code work:  let one: Int ? = 5 let two = 5 let result = one == two   print ( result ) //print true Why we can access to Optional value without unwrap within comparison operations? -- Седых Александр___ swift-users mailing list swift-users@sw