Hi Dermotos,

On Mon, Oct 17, 2011 at 6:23 PM, Dermot O Sullivan <[email protected]> wrote:

> Hi,
>
> Thanks for your help, I think im nearly there. I have facebook working now,
> and bump seems almost there too. I just have a couple more questions:
>
> Firstly, what do I write in the API Definition file for this Bumper.h file:
>
> #import <Foundation/Foundation.h>
>
> @interface Bumper : NSObject {
> }
>
> - (NSString*)userName;
>
>

This would be:

[BaseType (typeof (NSObject))]
interface Bumper {
    [Export ("userName")]
    string UserName { get; }
}



> also, for APIs with asset bundles, do I just place the bundle in the root
> of the project along with the .a file and it gets automatically built, or do
> I need to set some build action to it or reference it explicitly somewhere?


I suspect you'll have to add them to your project as well.

Hope that helps!

Jeff
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to