Tyson
Tyson

Reputation: 14734

What assembly(s) contain all the MonoTouch binding attributes used by btouch

I'm trying to get intellisense working in MonoDevelop when writing an ObjC binding project. To do this the IDE needs to know where the various binding attributes exist.

e.g:
[ExportAttribute] seems to live in monotouch.dll (MonoTouch.Foundation namespace). [LinkWithAttribute] is also in monotouch.dll (but MonoTouch.ObjCRuntime namespace).

However I can't find the more specialized attributes anywhere (EventArgsAttibute, EventNameAttribute, etc). See the full list documented here: http://docs.xamarin.com/ios/advanced_topics/binding_objective-c_types/Binding_Types_Reference_Guide

Upvotes: 1

Views: 135

Answers (1)

sblom
sblom

Reputation: 27353

Those attributes live in the binding compiler itself (i.e. /Developer/MonoTouch/usr/lib/btouch/btouch.exe).

They're used to give btouch instructions on what kind of code to emit while it builds the bindings assembly; they're not used by the runtime, and, thus, don't have to be included in any of the MonoTouch runtime assemblies.

I guess for purposes of getting IntelliSense working, you might as well just include a reference to btouch.exe.

Upvotes: 2

Related Questions