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

Kwame Bryan kwame.bryan at gmail.com
Mon Dec 7 21:33:52 CST 2015


There’s also this video by chris eidhof  https://realm.io/news/pragma-chris-eidhof-swift-c/ <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 <swift-users at swift.org> wrote:
> 
> I think you're looking for this book: Using Swift with Cocoa and Objective-C
> https://itunes.apple.com/us/book/using-swift-cocoa-objective/id888894773 <https://itunes.apple.com/us/book/using-swift-cocoa-objective/id888894773>
> It's also in the Apple Developers web site as HTML. It's free either way.
> Look for the chapter: Interacting with C APIs
> 
> -david
> 
> 
> On Mon, Dec 7, 2015 at 6:49 PM, Gage Morgan via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
> 
> I read that. What I want to know is how to bind the functions themselves after creating a system package. How to use the c functions that got imported, if you will.  
> 
> Sent from Outlook <http://aka.ms/Ox5hz3>
> 
> On Mon, Dec 7, 2015 at 6:39 PM -0800, "Mish Awadah" <mawadah at apple.com <mailto:mawadah at apple.com>> wrote: 
> 
> Please see the reference at  https://github.com/apple/swift-package-manager/blob/master/Documentation/SystemModules.md <https://github.com/apple/swift-package-manager/blob/master/Documentation/SystemModules.md>
> 
> - mish
>  _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151207/be038c71/attachment.html>


More information about the swift-users mailing list