[swift-users] Operator Overloading in Swift 3.0

2016-11-12 Thread Kwame Bryan via swift-users
I'm currently updating some Swift 2.2 code to Swift 3.0. I had some Overloaded Operators that needed converting. I've managed to get my code to compile and run. Although, looking to the community for any constructive criticism on my approach. Regards import UIKit import Foundation func lines(i

Re: [swift-users] NSInvocation equivalent

2016-10-05 Thread Kwame Bryan via swift-users
If you could define your needs. Is it a one to one ? Or one to many relationship. I would look into the Observer Design pattern. On Oct 5, 2016 7:26 PM, "Jordan Rose via swift-users" wrote: > > > On Oct 5, 2016, at 14:43, Jens Alfke via swift-users < > swift-users@swift.org> wrote: > > > > > >>

Re: [swift-users] Should a queue be value type or reference type?

2016-07-26 Thread Kwame Bryan via swift-users
As Quinn said, this is a hard question to answer. As Dave said in wwdc 15. Will you make comparisons over your collection. There's great examples of how you can do this. Unfortunately, without a usecase. This response is philosophical. On Jul 26, 2016 3:37 AM, "Quinn "The Eskimo!" via swift-users"

Re: [swift-users] Need Help with C-to-Swift (finally)

2015-12-11 Thread Kwame Bryan via swift-users
Tutorial on the subject. http://chris.eidhof.nl/posts/swift-c-interop.html Regards Kwame___ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users

Re: [swift-users] Binding Regular C Functions (Gtk, Cairo, etc.)

2015-12-07 Thread Kwame Bryan via swift-users
There’s also this video by chris eidhof https://realm.io/news/pragma-chris-eidhof-swift-c/ . This will help with seeing a live implementation. Kwame > On Dec 7, 2015, at 10:23 PM, David Turnbull via swift-users > wrote: > > I think you're

Re: [swift-users] Linux

2015-12-07 Thread Kwame Bryan via swift-users
Hi Ankit, you’ll need to follow the instructions @ https://swift.org/getting-started/#installing-swift and look into the Linux section. After you can compile a simple swift project. Look into the Swift Programming Guide. Good Luck Regards K