Thanks Jeff, I'll fix that up in MonoDevelop! Jeff
On Tue, Jan 31, 2012 at 6:22 PM, JB <[email protected]> wrote: > Hi Jeff > > The files were not in the directory. I have copied them across, restarted > MonoDevelop and created a new Import Project. It now compiles without errors > so those files fixed that problem. > > Still one issue though. I take it the purpose of this project is to create > the DLL that btouch would also create for you? It creates an > APIDefinition.cs file. I can add defintions in there and it works ok. > > However the Binding Objective-C Type document talks about delegates and > using this type of syntax: > > [Export ("delegate", ArgumentSemantic.Assign)][NullAllowed] > NSObject WeakDelegate {get;set;} > > This won't compile. You need to add: > > using MonoTouch.ObjCRuntime; > > to start of file and then it compiles. So that means the default > ApiDefintion,cs file that is automatically generated isn't quite right. > > Cheers > > Jeff > > > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/MonoTouch-Binding-Project-Doesn-t-Work-tp4343564p4346298.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
