Monodevelop 2.8, Xcode 3.2.6, Interface Builder: Sockets and Actions

EDIT: Since I have not installed Xcode 4 yet, I would like to know if MD 2.8 is compatible with Xcode 3.2.6 or not. In particular, can I connect weekends and actions with the new procedure described in the MT documentation ?

I just installed MonoDevelop (MD) 2.8. It seems I am not working, waiting.

In MD 2.6 , when I create a new UIViewController, this controller is presented as follows:

  • Controller.xib - inside one tree
    • Controller.xib.cs
    • Controller.xib.designer.cs

Also, if I open the xib file, Controller.xib, only Interface Builder (IB) opens. If I add outputs to xib, the outputs are visible in Controller.xib.designer.cs.

In MD 2.8 , when I create a new UIViewController, this controller is presented as follows:

  • Controller.xib - no more inside one tree
  • Controller.cs
    • Controller.designer.cs

So, I have two files instead of one.

Also, if I open the xib file, Controller.xib, IB, and Xcode open. If I add output to xib, the outputs are not displayed in the designer.

Any suggestions?

+5
source share
1 answer

MonoDevelop 2.8 introduced the new xib design model to support Xcode 4.

Xcode 4 Interface Builder , xib . MonoDevelop , *.xib.designer.cs xib . Interface Builder Objective-C . MonoDevelop - # Objective-C .

xib MonoDevelop 2.8, MonoDevelop Xcode Objective-C , #, Objective-C, , NSObject [Register("SomeName")]. xib , Interface Builder . Xcode 4 , *.designer.cs MonoDevelop.

, - , , . xib.

, Xcode 4:

  • , xib .
  • xib, Interface Builder
  • Builder "", ​​ #, .

, . Outlet ,

[Outlet ("someView")]
UIView SomeView {get; set; }

, , MonoDevelop Interface Builder 3.2.x. , Xcode 4. MD 2.8 .

. http://docs.xamarin.com/ios/tutorials/transitioning_from_xcode_3_to_xcode_4

+6

All Articles