I am trying to play around with making bindings for an objc lib. I am first
trying with a very simple static .a that I made. Here is what i have done so
far:

1. Start Xcode, choose static lib project, make a class called BTouchTest
that contains 2 instance variables that are ints called op1 and op2, added a
setter for op1 and a setter for op2, added a getSum method to return the sum
of the two operands, built the libBTouchTest.a lib successfully

2. Start monodevelop, choose binding library project, added my static .a to
the project and md generated my LinkWith statement, created the bindings
using basetype of NSObject, created each of the three methods with correct
export attributes, built the dll which supposedly includes the static
library inside

3. Switch to new MD project for iPad, added reference to my new dll,
constructed a new BTOuchTest obj, set the two operands, displayed the result
of getSum in an alert view, I always get 0

How do I troubleshoot this?  Everything has built successfully in all 3
stages, everything, I think, is using armv7.  How can I tell if my
underlying static library is even being called?  Any suggestions?

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Btouch-bindings-help-tp4646420.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to