Re: [MonoTouch] Dot net 4.5 and web Api

2012-07-17 Thread slodge

Nic Wise wrote
> I dont think MT supports portable class lib's YET.

MT (and MD from 3.0) does now work with Portable Libraries - I've managed to
get a few to work. There are a few complications - especially around the new
second generation Portable Libraries which are coming from VS11 and .Net 4.5
- but if you can stick to the 1->4 portable profiles from VS10 then you will
probably be OK

Stuart

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Dot-net-4-5-and-web-Api-tp4655984p4656021.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Dot net 4.5 and web Api

2012-07-17 Thread Nic Wise
OH, excellent, thats good to know!

On Tue, Jul 17, 2012 at 8:25 AM, slodge  wrote:
>
> Nic Wise wrote
>> I dont think MT supports portable class lib's YET.
>
> MT (and MD from 3.0) does now work with Portable Libraries - I've managed to
> get a few to work. There are a few complications - especially around the new
> second generation Portable Libraries which are coming from VS11 and .Net 4.5
> - but if you can stick to the 1->4 portable profiles from VS10 then you will
> probably be OK
>
> Stuart
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Dot-net-4-5-and-web-Api-tp4655984p4656021.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
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
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Dot net 4.5 and web Api

2012-07-17 Thread Greg Munn
Stuart,

Is that with the current stable release or with an alpha or beta ?  

Cheers,
Greg


On 17/07/2012, at 5:25 PM, slodge wrote:

> 
> Nic Wise wrote
>> I dont think MT supports portable class lib's YET.
> 
> MT (and MD from 3.0) does now work with Portable Libraries - I've managed to
> get a few to work. There are a few complications - especially around the new
> second generation Portable Libraries which are coming from VS11 and .Net 4.5
> - but if you can stick to the 1->4 portable profiles from VS10 then you will
> probably be OK
> 
> Stuart
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Dot-net-4-5-and-web-Api-tp4655984p4656021.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Simple linq select with orderby and thenby

2012-07-17 Thread HairyJohn
Hi guys,
Just used a simple LINQ query to sort a list in MonoTouch, made me smile it
was so simple!
However Im getting an error if I use a thenby, e.g:

var sortedDigits = 
from d in digits 
orderby d.Length, DoSomething(d) 
select d;

I get a JIT compiler error, cannot be used with --aot parameters. Sorry Im
not at my mac right now so can't be more specific on the error. I'll try and
post it when I get home tonight.

orderby DoSomething(d) on its own works fine, it appears to happen on any
thenby ',' parameter.

I can work around it by splitting it into 2 seperate LINQ queries, but for
simplicity would prefer just one.

Cheers
Hairy

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Simple-linq-select-with-orderby-and-thenby-tp4656026.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Dot net 4.5 and web Api

2012-07-17 Thread bustergonad
I agree pretty much with what Nic has said.

I've been using ASP.NET MVC 4 Web API (since beta, but now in RC) to provide
some REST services that I call from my Monotouch app.  I've used POCOs
within the Monotouch app (could have shared a library, but wasn't much point
for me) and the excellent RestSharp to call the services.

I then used OAuth 2 to secure my services, I've pretty much baked my own
implementation of this following various guides (such as 
http://codebetter.com/howarddierking/2011/10/11/oauth-2-0-in-web-api/
http://codebetter.com/howarddierking/2011/10/11/oauth-2-0-in-web-api/ ). 
However, if I was starting from scratch now I'd seriously look at this: 
http://identityserver.codeplex.com/ http://identityserver.codeplex.com/ 

RestSharp has built a built in deserializer to populate your POCOs and use
within your app.  Only fun and game I've had is with DateTime formats.  But
you can set the default Json deserializer in your web api to suit and make
sure you stick with a consistent format.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Dot-net-4-5-and-web-Api-tp4655984p4656022.html
Sent from the MonoTouch mailing list archive at Nabble.com.___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Play sound on splash image screen

2012-07-17 Thread bustergonad
I know how to play sounds from within Monotouch, but really want to know if
it's possible to play a sound as soon as a splash image is being displayed.

If I play the sound from within the AppDelegate right at the beginning of
FinishedLaunching method using:

var sound = SystemSound.FromFile (new NSUrl ("startup.mp3"));  
sound.PlaySystemSound ();

The sound doesn't get played as quick as I'd like it to be, there is a
slight delay.  I'm thinking this is probably because FinishedLaunching gets
invoked after the splash image is displayed.  

Is it possible to play a sound any earlier?  (without having to create a
View with the splash screen image on it and creating my own "splash screen")

Any tips much appreciated.

Thanks

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Play-sound-on-splash-image-screen-tp4656023.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] UITextField Events Help Needed --

2012-07-17 Thread proindigo
Hello and greetings.

Can you please tell me what event is fired when we enter something in a text
field in iphone application?

I need to call a function when some value is entered in a text field.

I wrote a method and associated it with the value changed event of text
field, but it is not working.
I did the following thing -->


partial void FillRatingBar (MonoTouch.UIKit.UITextField sender)
{
ImageFull.Image=makeImage 
((int)ImageFull.Bounds.Width-20, 30, 1,
getTopColor (), getBaseColor ());
}

Actually I am trying to use core graphics to create a rectangle of some
color when user enters any value.
In the above code, 1 stands for progress which we get from the value of a
slider control. I am hard coding it to 1.

But as it stands I am not getting any result.

Can you tell me why? Is my approach correct?

Thanks.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/UITextField-Events-Help-Needed-tp4656027.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Play sound on splash image screen

2012-07-17 Thread Sebastien Pouliot
Hello,

MonoTouch (or any other iOS) apps do not show their splash screen
(i.e. launch images), iOS itself does that while the application is
being loaded. This means there will always be a delay before any of
the application code is being executed.

Sebastien

On Tue, Jul 17, 2012 at 6:00 AM, bustergonad  wrote:
> I know how to play sounds from within Monotouch, but really want to know if
> it's possible to play a sound as soon as a splash image is being displayed.
>
> If I play the sound from within the AppDelegate right at the beginning of
> FinishedLaunching method using:
>
> var sound = SystemSound.FromFile (new NSUrl ("startup.mp3"));
> sound.PlaySystemSound ();
>
> The sound doesn't get played as quick as I'd like it to be, there is a
> slight delay.  I'm thinking this is probably because FinishedLaunching gets
> invoked after the splash image is displayed.
>
> Is it possible to play a sound any earlier?  (without having to create a
> View with the splash screen image on it and creating my own "splash screen")
>
> Any tips much appreciated.
>
> Thanks
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Play-sound-on-splash-image-screen-tp4656023.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] UITextField Events Help Needed --

2012-07-17 Thread Jason Awbrey
is the event not firing at all, or is it just not updating the UI like you
want?

are you executing the UI update code on the main UI thread?

On Tue, Jul 17, 2012 at 7:41 AM, proindigo  wrote:

> Hello and greetings.
>
> Can you please tell me what event is fired when we enter something in a
> text
> field in iphone application?
>
> I need to call a function when some value is entered in a text field.
>
> I wrote a method and associated it with the value changed event of text
> field, but it is not working.
> I did the following thing -->
>
>
> partial void FillRatingBar (MonoTouch.UIKit.UITextField sender)
> {
> ImageFull.Image=makeImage
> ((int)ImageFull.Bounds.Width-20, 30, 1,
> getTopColor (), getBaseColor ());
> }
>
> Actually I am trying to use core graphics to create a rectangle of some
> color when user enters any value.
> In the above code, 1 stands for progress which we get from the value of a
> slider control. I am hard coding it to 1.
>
> But as it stands I am not getting any result.
>
> Can you tell me why? Is my approach correct?
>
> Thanks.
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/UITextField-Events-Help-Needed-tp4656027.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Simple linq select with orderby and thenby

2012-07-17 Thread Dan Miser
I had something similar and it was reported as a bug. The workaround is to 
ToString each column.

Sent from my iPhone

On Jul 17, 2012, at 8:17 AM, HairyJohn  wrote:

> Hi guys,
> Just used a simple LINQ query to sort a list in MonoTouch, made me smile it
> was so simple!
> However Im getting an error if I use a thenby, e.g:
> 
>var sortedDigits = 
>from d in digits 
>orderby d.Length, DoSomething(d) 
>select d;
> 
> I get a JIT compiler error, cannot be used with --aot parameters. Sorry Im
> not at my mac right now so can't be more specific on the error. I'll try and
> post it when I get home tonight.
> 
> orderby DoSomething(d) on its own works fine, it appears to happen on any
> thenby ',' parameter.
> 
> I can work around it by splitting it into 2 seperate LINQ queries, but for
> simplicity would prefer just one.
> 
> Cheers
> Hairy
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Simple-linq-select-with-orderby-and-thenby-tp4656026.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] setCoordinate binding

2012-07-17 Thread Mike Bluestein
Actually, the code below has a bug. I called WillChangeValue but not
DidChangeValue. The correct version would be:

public override  CLLocationCoordinate2D Coordinate {
get {
return coord;
}
set {
WillChangeValue ("coordinate");
coord = value;
DidChangeValue ("coordinate");
}
}

On Mon, Jul 16, 2012 at 8:46 PM, Mike Bluestein
 wrote:
> MapKit uses key value observing (KVO) for change notification, so to
> change the location of an already added annotation programmatically
> and have it update on the map, you need to raise the KVO notification
> for the coordinate by calling WillChangeValue in the MKAnnotation
> implementation. For example,
>
> public override  CLLocationCoordinate2D Coordinate {
> get {
> return coord;
> }
> set {
> coord = value;
>
> WillChangeValue("coordinate");
> }
> }
>
> On Mon, Jul 16, 2012 at 8:22 AM, lemcube  wrote:
>> I've the same problem and i see the solution indicated: is it still valid?
>> how do i use it? do i have to integrate it in my custom class
>> MKCustomAnnotation that is subclassing MKAnnotation?
>>
>> i'm new to monotouch. thanks to all.
>>
>> --
>> View this message in context: 
>> http://monotouch.2284126.n4.nabble.com/setCoordinate-binding-tp377p4655990.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> ___
>> MonoTouch mailing list
>> MonoTouch@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Trial version download was broken.

2012-07-17 Thread Andy Larkin
Hi all.

I tried to download evaluation version. But download was broken. I tried to
find any actual information about this here, but didn't find anything.

Here is the place in install log, where exception exist:

[2012-07-17 18:45:51.800] [Debug] Detection complete on the introduction
page, determining the next step.
[2012-07-17 18:45:51.800] [Debug] Download service starting.
[2012-07-17 18:45:52.104] [Exception] Failed to get content size at
'http://download.xamarin.com/MonoTouch/Mac-eval/monotouch-eval-5.2.12.pkg'
[2012-07-17 18:45:52.104] [Exception] System.Net.WebException: The remote
server returned an error: (403) Forbidden.
[2012-07-17 18:45:52.104] [Exception] at
System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult
result) [0x0] in :0
[2012-07-17 18:45:52.104] [Exception] at
System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData
data) [0x0] in :0
[2012-07-17 18:45:52.104] [Info] Downloading from
'http://download.xamarin.com/MonoTouch/Mac-eval/monotouch-eval-5.2.12.pkg'.
[2012-07-17 18:45:52.282] [Exception] Failed to retrieve response for URL
'http://download.xamarin.com/MonoTouch/Mac-eval/monotouch-eval-5.2.12.pkg'
[2012-07-17 18:45:52.282] [Exception] System.Net.WebException: The remote
server returned an error: (403) Forbidden.


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Trial-version-download-was-broken-tp4656034.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Trial version download was broken.

2012-07-17 Thread duncanmak
Hello Andy,

Sorry, there was a mix-up in the cloud storage. The file is now available.

Sorry for the inconvenience,

Duncan.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Trial-version-download-was-broken-tp4656034p4656035.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Trial version download was broken.

2012-07-17 Thread Andy Larkin
Thank you. Now it's really ok. 

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Trial-version-download-was-broken-tp4656034p4656036.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Changes in XCode doesn't update to Monotouch

2012-07-17 Thread Jeff Stedfast
Hi Jeff,

What version of MonoDevelop are you using? Earlier emails in this thread
suggest 2.8.6.5, but a lot of improvements have gone into MonoDevelop in
this area since then...

Jeff

On Mon, Jul 16, 2012 at 7:17 PM, Jeff Kesselman  wrote:

> Okay, so here's the ela.
>
> This has happend to me a few times.  In all case its been when MonoDevelop
> barfs and dies.  I seem to be reducing the number of these occurrences by
> being VERY mindful of the synchronization messages when i return to
> monodevelop after being in  Xcode and don't even breath  on it until its
> settled down.
>
> When such a MD death occurs, the only way to get MD and Code properly back
> in sync is to close them both, re open Mono Develop, and reopen the GUI
> editor from MonoDevelop.  This loses the last set of changes in XCode but
> gets the two back in sync and talking to each other.
>
> I hope that helps you iron out the issues.
>
> JK
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Changes-in-XCode-doesn-t-update-to-Monotouch-tp4407974p4656013.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Unable to build ShareKit bindings project

2012-07-17 Thread Bobby Johnson
Hello,

I am attempting to use the sharekit library in my app and am being very
unsuccessful in getting the bindings project to build. I get this error
when running make from the bindings folder.

xcodebuild: error: The project 'sharekit/ShareKit.xcodeproj' does not
contain a target named 'ShareKitLibrary'.

Anyone having any success getting the ShareKit bindings working?

Bobby

-- 
"The explanation requiring the fewest assumptions is most likely to be
correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Side Navigation (a la "Path" and "Facebook")

2012-07-17 Thread Gerry High
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  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  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  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
>>> MonoTouch@lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>> 
>> 
> 


___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Side Navigation (a la "Path" and "Facebook")

2012-07-17 Thread Greg Munn
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

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  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  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  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
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch
>>> 
>>> 
>> 
> 
> 

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Side Navigation (a la "Path" and "Facebook")

2012-07-17 Thread Gerry High
Ok, it was MT.  You are running on the beta channel--I switched it so I could 
get the build so it would compile.  I am running iOS 5.1 as you.

Thanks,
Gerry
On Jul 17, 2012, at 10:20 PM, Greg Munn  wrote:

> 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
> 
> 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  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  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  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
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
 
 
>>> 
>> 
>> 
> 


___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Side Navigation (a la "Path" and "Facebook")

2012-07-17 Thread Greg Munn
Oh, sorry about that.  I updated MT to the beta to fix a different issue and 
promptly forgot all about it - it's been working quite well for me.

Cheers,
Greg


On 18/07/2012, at 2:38 PM, Gerry High wrote:

> Ok, it was MT.  You are running on the beta channel--I switched it so I could 
> get the build so it would compile.  I am running iOS 5.1 as you.
> 
> Thanks,
> Gerry
> On Jul 17, 2012, at 10:20 PM, Greg Munn  wrote:
> 
>> 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
>> 
>> 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  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  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  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
>> MonoTouch@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
> 
> 

Re: [MonoTouch] Side Navigation (a la "Path" and "Facebook")

2012-07-17 Thread Gerry High
It's not a problem for me--I've usually run on the alpha channel but when I got 
a new machine and reloaded MT/MA I didn't reset for it to look for those builds.

Thanks,
Gerry

On Jul 17, 2012, at 11:44 PM, Greg Munn  wrote:

> Oh, sorry about that.  I updated MT to the beta to fix a different issue and 
> promptly forgot all about it - it's been working quite well for me.
> 
> Cheers,
> Greg
> 
> 
> On 18/07/2012, at 2:38 PM, Gerry High wrote:
> 
>> Ok, it was MT.  You are running on the beta channel--I switched it so I 
>> could get the build so it would compile.  I am running iOS 5.1 as you.
>> 
>> Thanks,
>> Gerry
>> On Jul 17, 2012, at 10:20 PM, Greg Munn  wrote:
>> 
>>> 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
>>> 
>>> 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  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  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  
 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
 Near