[MonoTouch] view-with-controller code generation problem
Jeff Stedfast
jeff at xamarin.com
Mon Oct 10 10:36:54 EDT 2011
Hi Jowi,
On Sun, Oct 9, 2011 at 5:12 AM, jowi <j.wiersma17 at chello.nl> wrote:
> I've set up a vmware mac with xcode 4 and md 2.8, and i found out that above
> constructors do work if you create projects out of the box, so it probably
> goes wrong when using this in projects created with 2.6?
The IntPtr ctor should only ever be called if the instance was
allocated in Objective-C and then C# got a handle to it via a callback
or something.
At least that is my understanding...
>
> Another 'problem' is that i'm trying to work my way through some books on
> monotouch, and all of those are based upon 2.6 and the code generated when
> you start a specific solution or add a xib, the code being generated by 2.6
> differs a lot from that in 2.8, and as a novice this is confusing.
We have some free documentation on our website which is continuing to
expand thanks to the efforts of Bryan Costanich, Michael Bluestein,
Chris Hardy and others (who's names you might recognize as the authors
of some of the MonoTouch books out there).
The tutorials on our documentation site are geared towards MonoDevelop
2.8 and Xcode4, so that might be extremely useful to you.
You can find this documentation here: http://docs.xamarin.com/ios
>
> Positive remark is that monotouch is definitly evolving and growing, if you
> buy some books and there outdated before you finished them, you're on the
> edge of technology hehe ;)
Definitely! There is, unfortunately, a rough patch for those
transitioning to MonoDevelop 2.8, but hopefully the documentation we
provide will help a lot!
(we've also got tutorials for people used to MonoDevelop 2.4/2.6 and
Xcode 3 who are trying to move to MD 2.8 and Xcode 4)
Good luck and happy hacking!
Jeff
More information about the MonoTouch
mailing list