LayoutKit icon indicating copy to clipboard operation
LayoutKit copied to clipboard

Create script to build framework compatible with Xamarin.iOS

Open jzhouw opened this issue 8 years ago • 3 comments

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

jzhouw avatar Dec 22 '16 06:12 jzhouw

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.

nicksnyder avatar Dec 22 '16 18:12 nicksnyder

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/

jzhouw avatar Dec 23 '16 02:12 jzhouw

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.

nicksnyder avatar Dec 23 '16 22:12 nicksnyder