LinkedInAttic / LayoutKit

LayoutKit is a fast view layout library for iOS, macOS, and tvOS.
http://layoutkit.org
Apache License 2.0
3.16k stars 266 forks source link

Create script to build framework compatible with Xamarin.iOS #82

Open jzhouw opened 7 years ago

jzhouw commented 7 years ago

It would be great that Xamarin.iOS developer can use this lib!

nicksnyder commented 7 years ago

I have not used Xamarin before so I don't know how it handles importing Swift libraries. If you know what needs to change, please provide details.

jzhouw commented 7 years ago

There're two way to support Xamarin.iOS:

  1. Xamarin.iOS C# version of this lib - e.g. found this repo https://github.com/ararog/LayoutKit.Xamarin

  2. Swift Binding for Xamarin.iOS - didn't find official link for Swift Binding on Xamarin but here is a link http://stackoverflow.com/documentation/xamarin.ios/6091/binding-swift-libraries and this is the official link of OC binding for Xamarin.iOS https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/

nicksnyder commented 7 years ago

I don't plan on writing or maintaining LayoutKit in multiple languages.

It sounds like all you need to do is build LayoutKit as a framework and import that into Xamarin. If you want to submit a PR with a script that builds a framework in the way that Xamarin needs, I would be happy to merge that.