Hi Nic,

or specific to monotouch:

http://stackoverflow.com/questions/12574444/not-key-value-coding-compliant-monotouch-and-ios-6

Drop an email back if these make no sense.

Yeah, makes sense that. Problem is that when I follow the link back to the Xamarin website, it says there should be [Connect] lines in my designer.cs file. My designer file though looks like this

using MonoTouch.Foundation;

namespace ftrack2ios
{
    [Register ("HomeView")]
        partial class HomeView
    {
        [Outlet]
                MonoTouch.UIKit.UIBarButtonItem btnSettings { get; set; }

        [Outlet]
                MonoTouch.UIKit.UILabel lblTitle { get; set; }

        void ReleaseDesignerOutlets()
        {
            if (btnSettings != null)
            {
                btnSettings.Dispose();
                btnSettings = null;
            }

            if (lblTitle != null)
            {
                lblTitle.Dispose();
                lblTitle = null;
            }
        }
    }
}

So no [Connect] bits which is probably the reason why it's not doing as it is told and giving me the Key error. It could be that they stuff on the Xam.iOS part of the trouble shooting (it does refer back to mono 2.4 on there) is out of date, but any advice here would be appreciated.

I'm using Xam Studio 4.1.2, Xam.iOS 6.3.4.36, Xcode 4.6.2.

ISTR an issue between Xam.iOS and Xcode 4.6.2 - is this still the case and is worth rewinding to 4.6.1, running the xib files through xcode and then trying again? I'm getting the same error if I take Xam.iOS back to the stable release.

Paul

--
"Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..."
Hitch Hikers Guide to the Galaxy, a truly remarkable book!

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

Reply via email to