Cocoa Bridge to Unity

Where would one start with implementing a cocoa bridge from unity iphone . I need to access native functions for sending image via SMS and assign to a contact.

Any help is greatly appreciated. Thanks.

You need to use the Pro Version of Unity in order to use your own Objective-C code as a plugin.

Dupe: http://answers.unity3d.com/questions/3537/xcode-to-unity-communication/3572#3572

The answer to that question is slightly out of date for the native code -> unity communication. As of Unity iPhone 1.6 (or so), there's a native function defined in iPhone_target_Prefix.pch that you can use to send a message to a game object in your Unity scene. If you understand Unity's messaging system it should be pretty self-explanatory.

void UnitySendMessage(const char* obj, const char* method, const char* msg);