alan.mcgovern at gmail.com
Sat Jan 18 14:34:29 UTC 2014
This is a bug that was found and fixed yesterday. The issue is that the
'Action' attribute does not contain the selector name 'BDown:'. As such,
MonoTouch defaults to using 'BDown', which is missing the colon at the end.
The next alpha release will have this fix though.
On 16 January 2014 11:47, Megan Clodfelter <megan.clodfelter at gmail.com>wrote:
> The documentation seems to suggest that my problem is the fact that I have
> not created an Event correctly, but as far as I can tell, I have. I
> wanted to test the new interface (version 4.3.1 build 3).
> I created a NEW project (iOS, iPad with Storyboard, Tabbed)
> Compiled and ran in debug. Everything fine as expected.
> Launched MainStoryboard.
> Added 1 button on the first tab page
> Clicked on the Event tab and Created a single touch down event called:
> FirstView Designer automatically contained the following code:
> [GeneratedCodeAttribute ("iOS Designer", "1.0")]
> partial void BDown (UIButton sender);
> In FirstView Controller, I added: (Note: Intellisence saw and allowed me
> to create this method)
> partial void BDown (UIButton sender)
> int a = 0;
> and placed a break point on the line a=0;
> Ran the app again in DEBUG mode.
> at UIApplication.Main (args, null, "AppDelegate”);
> the application crashed with the following error message:
> Objective-C exception thrown. Name: NSInvalidArgumentException Reason:
> -[FirstViewController BDown:]: unrecognized selector sent to instance
> As far as I can see, BDown was defined correctly and used correctly, yet
> it is not recognized. I changed to this version of Monotouch as I was
> finding the earlier release version was removing Xcode definitions.
> Any advice would be deeply appreciated.
> Megan Clodfelter
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list