[MonoTouch] Storyboard - Properly adding a new UIViewController
Jeff Stedfast
jeff at xamarin.com
Tue Dec 20 18:46:09 EST 2011
Hi Mike,
You should be able to create all of this from within Xcode w/o needing to
manually write any code.
I thought Miguel made a screencast showing how to wire up storyboards and
have them just work on MonoTouch, but I can't find it. Basically, just do
what you'd do in Xcode and MonoDevelop will import the stuff and it should
Just Work(tm).
The following blog provides some links to a sample and the docs which you
may find helpful.
http://tirania.org/monomac/archive/2011/Oct-13.html
Hope that helps,
Jeff
On Mon, Dec 19, 2011 at 9:54 AM, QMIMike <mcasey at qmiusa.com> wrote:
> I have been searching through documentation, blogs, and I have posted on
> StackOverflow for nearly a week. I don't think this should be difficult, I
> just don't see where it is documented on how to do it.
>
> I can't do it within the Storyboard (Xcode). It won't create the proper
> .cs
> files that MonoDevelop can access.
>
> I can do it within MonoDevelop, but I get a .nib file.
>
> I finally deleted the .nib file and set the ViewController properties in
> Xcode to the proper ViewController. I setup my button and ctrl-Dragged to
> create a push Segue. But when I debug, I get the error;
> -[QMIContractorsViewController btnMoveToPictureViewController:]:
> unrecognized selector sent to instance 0xbbee660
>
> I also tried doing it manually in a button trying to follow some example
> online and that did not work either.
>
> I would really like to use the new Storyboard features, but I need a demo,
> or some code to reference.
> Any help you could provide would be appreciated.
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Storyboard-Properly-adding-a-new-UIViewController-tp4214368p4214368.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111220/bc14f20c/attachment.html
More information about the MonoTouch
mailing list