That helps a great deal, it gives me some confidence that I'm
probably setting things up close to correct. Not *quite* correct, but
close.
I'm trying to include the MGSplitViewController in an MT project.
Got the Xcode project and the C# bindings.
Built another Xcode project to build the .a file. I've put in only
some of the source so far.
Added the bindings to the MT project,
Compiled the Xcode objc project to a .a,
Ran btouch to build the .dll,
Added the .dll to the MT project,
added the .dll to References,
Changed the MT project thus:
selected Link SDK assemblies only,
cribbed the link flags, changing the name of the .a mentioned in two places
(-l and -force_load)
Attempted to build the MT project.
Result so far: "mtouch failed with no output(1)"
Maybe I should have a half-dozen more -v to the link options...
-Mike
>Don't know if there's a canonical example, but you might look at
>Kevin McMahon's Facebook fork and corresponding MT binding:
>
><https://github.com/kevinmcmahon/facebook-ios-sdk>https://github.com/kevinmcmahon/facebook-ios-sdk
><>https://github.com/kevinmcmahon/monotouch-facebook
>
><https://github.com/kevinmcmahon/monotouch-facebook>In my experience
>the Xcode side is relatively easy -- aside from getting the code
>right; the tricky part is in the binding, since the C# code btouch
>generates doesn't always compile straight off (name collision issues
>etc).
>
>On Thu, May 19, 2011 at 3:07 PM, Michael Brian Bentley
><<mailto:[email protected]>[email protected]> wrote:
>
>Is there an example MonoTouch solution/project that uses bindings to
>Objective C code and links the .a files, with the Xcode project
>needed to build the .a files for the MT project?
>
>-Mike
>_______________________________________________
>MonoTouch mailing list
><mailto:[email protected]>[email protected]
><http://lists.ximian.com/mailman/listinfo/monotouch>http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
>
>--
>David Moles
><mailto:[email protected]>[email protected]
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch