I'm running MT 5.3.4, MD 3.0.3.2 and Mono 2.10.9

The SDK version that I'm targeting (iPhone Build options, SDK Version) is iOS 
5.1  Mine says "Default" which is 5.1 because that's all I have installed at 
the moment.  Check what it says on your machine.

Just looking at the api changes from 5.2 to 5.3 I think I can see why you get 
the first error you mention, new constructor overloads taking an NSAction or an 
Action<UIPanGestureRecoginizer>

I think you'll have to update MT.  

Cheers,
Greg

On 18/07/2012, at 1:02 PM, Gerry High wrote:

> Hi Greg--sorry, I didn't see your reply since it went to the list.
> 
> I'll post a few of the errors here.  However, I'm curious as to what version 
> of MT/MD you are using.  I'm using MT 5.2.12 and MD 3.0.3.4 and Mono 2.10.9.
> 
> Some of the errors were with the test project so I've removed that and now 
> see 6 errors.
> /Users/ghigh/Downloads/sgmunn-MonoKit-8d169df/MonoKit.iOS/UI/ViewControllers/SlidingViewController.cs(49,49):
>  Error CS1502: The best overloaded method match for 
> `MonoTouch.UIKit.UIPanGestureRecognizer.UIPanGestureRecognizer(MonoTouch.Foundation.NSCoder)'
>  has some invalid arguments (CS1502) (MonoKit.iOS)
> /Users/ghigh/Downloads/sgmunn-MonoKit-8d169df/MonoKit.iOS/UI/ViewControllers/SlidingViewController.cs(49,49):
>  Error CS1503: Argument `#1' cannot convert `method group' expression to type 
> `MonoTouch.Foundation.NSCoder' (CS1503) (MonoKit.iOS)
> 
> Similar error on line 229.
> 
> And:
> 
> /Users/ghigh/Downloads/sgmunn-MonoKit-8d169df/MonoKit.iOS/UI/ViewDeck/ViewDeckController.cs(38,38):
>  Error CS1502: The best overloaded method match for 
> `MonoTouch.UIKit.UIButton.UIButton(MonoTouch.Foundation.NSCoder)' has some 
> invalid arguments (CS1502) (MonoKit.iOS)
> /Users/ghigh/Downloads/sgmunn-MonoKit-8d169df/MonoKit.iOS/UI/ViewDeck/ViewDeckController.cs(38,38):
>  Error CS1503: Argument `#1' cannot convert `MonoTouch.UIKit.UIButtonType' 
> expression to type `MonoTouch.Foundation.NSCoder' (CS1503) (MonoKit.iOS)
> 
> Thanks,
> Gerry
> On Jul 16, 2012, at 6:29 PM, Greg Munn <[email protected]> wrote:
> 
>> I downloaded the zip just now and it builds.  What errors are you getting?  
>> You might check the sdk version that it is targetting - should be 5.1 (5.0 
>> might be ok, less than 5 probably won't build).
>> 
>> Cheers,
>> Greg
>> 
>> 
>> On 17/07/2012, at 12:47 AM, Gerry High wrote:
>> 
>>> Greg--I took a look at it on Friday but got compile errors in MonoKit (18 
>>> to be exact).  I downloaded the zip.  I'm curious as to how you got it to 
>>> compile Nic.
>>> 
>>> Thanks,
>>> Gerry
>>> 
>>> On Jul 16, 2012, at 6:33 AM, Greg Munn <[email protected]> wrote:
>>> 
>>>> That's cool to hear Nic, glad you liked it.  I'm happy with it too.
>>>> 
>>>> Cheers,
>>>> Greg
>>>> 
>>>> 
>>>> On 16/07/2012, at 7:18 PM, Nic Wise wrote:
>>>> 
>>>>> I had a play with the sample on the weekend, and it works really well!
>>>>> Thanks Greg - I plan on using it on my next app (well, next refresh of
>>>>> the app)
>>>>> 
>>>>> Cheers!
>>>>> 
>>>>> 
>>>>> 
>>>>> On Mon, Jul 16, 2012 at 12:38 AM, Greg Munn <[email protected]> wrote:
>>>>>> I'm pretty happy with the port now, the sample pretty much show how to 
>>>>>> use the controller.
>>>>>> 
>>>>>> https://github.com/sgmunn/MonoKit/tree/master/Samples/ViewDeckSample
>>>>>> 
>>>>>> So far, it's still the only one I've seen that does a nice bounce if you 
>>>>>> try to pan it too far, which was why I decided to port this one (from 
>>>>>> https://github.com/Inferis/ViewDeck).
>>>>>> 
>>>>>> Cheers,
>>>>>> Greg
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Nic Wise
>>>>> t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
>>>>> b. http://www.fastchicken.co.nz/
>>>>> 
>>>>> mobileAgent (for FreeAgent): get your accounts in your pocket.
>>>>> http://goo.gl/IuBU
>>>>> Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
>>>>> Earnest: Self-employed? Track your business expenses and income.
>>>>> http://earnestapp.com
>>>>> Nearest Bus: find when the next bus is coming to your stop. 
>>>>> http://goo.gl/Vcz1p
>>>>> London Bike App: Find the nearest Boris Bike, and get riding! 
>>>>> http://goo.gl/Icp2
>>>> 
>>>> _______________________________________________
>>>> MonoTouch mailing list
>>>> [email protected]
>>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>> 
>>> 
>> 
> 
> 

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

Reply via email to