[MonoTouch] MT.Dialog - Implementing a Tapped event

2012-10-08 Thread Phil Cockfield
between what I've got, and the way StringElement is working. Any ideas what I'm missing here? Thanks everyone! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] Playing Media from iPod Library

2012-10-08 Thread Phil Cockfield
I'm wanting to incorporate (playback) songs that user's have purchased on iTunes, that are in their iPod library on the device. Is this possible? Or does it somehow break an Apple restriction or DRM issue, does anyone know? -- *Phil *Cockfield

Re: [MonoTouch] Playing Media from iPod Library

2012-10-08 Thread Phil Cockfield
On Mon, Oct 8, 2012 at 9:06 AM, Phil Cockfield p...@cockfield.net wrote: I'm wanting to incorporate (playback) songs that user's have purchased on iTunes, that are in their iPod library on the device. Is this possible? Or does it somehow break an Apple restriction or DRM issue, does anyone

[MonoTouch] MT.Dialog: RadioElements Weird When Added from Task/Thread

2012-09-25 Thread Phil Cockfield
this safely? Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] Console just got really verbose

2012-09-09 Thread Phil Cockfield
can't seem to find it. -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] Launching my App from link in SMS

2012-09-05 Thread Phil Cockfield
/iPhoneURLScheme_Reference.pdf: Apple URL Scheme Reference But I would like to do the opposite. Send a TXT notification, then have the app launch from there. -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo

Re: [MonoTouch] Launching my App from link in SMS

2012-09-05 Thread Phil Cockfield
for an app you have registered (like twitter://...) On Wed, Sep 5, 2012 at 4:42 PM, Phil Cockfield p...@cockfield.net wrote: I'm wondering if it's possible to cause my app to be launched based on a link in a TXT/SMS message. It's possible to do the reverse of this, using the iPhone URL scheme

Re: [MonoTouch] A recipe for a memory leak ???

2012-08-28 Thread Phil Cockfield
of things. And listening to a Disposed event, in my scheme, was all about making sure I new when to free up the resources. Awesome -- *Phil *Cockfield On Tue, Aug 28, 2012 at 10:26 PM, Nic Wise n...@fastchicken.co.nz wrote: My understanding, and I may be wrong (quite likely, actually): Dispose

[MonoTouch] A recipe for a memory leak ???

2012-08-27 Thread Phil Cockfield
collection and clean up associated state. Thanks for any insights guys! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] PUT call to server using WebRequest

2012-08-12 Thread Phil Cockfield
use *WebClient*. But I need HttpStatus codes - and my understanding is you can't get at those from *WebClient*. (If you can, I can't find them anywhere! :-)) Anyone else seeing weirdness with *HttpWebRequest*? -- *Phil *Cockfield ___ MonoTouch mailing

Re: [MonoTouch] PUT call to server using WebRequest

2012-08-12 Thread Phil Cockfield
On Sun, Aug 12, 2012 at 8:34 AM, Phil Cockfield p...@cockfield.net wrote: Hello! I'm using the HttpWebRequest to do a PUT on my server. The web-server is Node.js. The code is very by the book standard stuff: // Prepare the data. var dataText = data.ToString

Re: [MonoTouch] Ensure Invoked on Main Thread (Performant???)

2012-08-09 Thread Phil Cockfield
BTW for anyone following this thread, here's a simple (and I assume fast) way to determine if you're on the main thread: NSThread.Current.*IsMainThread* * * This seems to report accurately whether it's on the main thread or not. -- *Phil *Cockfield On Wed, Aug 8, 2012 at 8:09 AM, Phil

Re: [MonoTouch] Ensure Invoked on Main Thread (Performant???)

2012-08-07 Thread Phil Cockfield
regards, Rolf On Tue, Aug 7, 2012 at 12:43 PM, Phil Cockfield p...@cockfield.netwrote: I've got some same code which is designed to make sure an Action is invoked on the UI thread. Here it is here: https://gist.github.com/3284433 It uses this to determine if it's running on the UI thread

Re: [MonoTouch] MT.Dialog: Selected Event while in Edit Mode

2012-08-06 Thread Phil Cockfield
may need to EnableInteraction (or something similar) in order for it to receive taps. Same with UILabels. On Sun, Aug 5, 2012 at 9:01 PM, Phil Cockfield p...@cockfield.net wrote: Hey *Nic*, No, what I mean is when a *Contact* is in edit mode. If you put a Contact into Edit mode

[MonoTouch] MT.Dialog: Selected Event while in Edit Mode

2012-08-05 Thread Phil Cockfield
as in the iOS Contacts app with + Add New Address or + Add Field (with the Plus/Insert icon visible). It will be confusing for the user to only hit the ( + ) icon, when the whole cell look like a hit target. Anyway to do this? Thanks! -- *Phil *Cockfield

Re: [MonoTouch] MT.Dialog: Selected Event while in Edit Mode

2012-08-05 Thread Phil Cockfield
:) On Sun, Aug 5, 2012 at 10:36 AM, Phil Cockfield p...@cockfield.netwrote: In *MT.Dialog* I would like to react when a cell (Element) is selected WHILE the table is in edit mode. It appears that the DVC is never invoking the Selected method while in the edit state ( eg. TableView.*SetEditing

[MonoTouch] INotifyPropertyChanged

2012-08-05 Thread Phil Cockfield
people do? Or in iOS is that discouraged. What are common ways for implementing property change observation patterns around models in this world. Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com

[MonoTouch] Glass Buttons

2012-08-04 Thread Phil Cockfield
What is the class for the solid Glass like buttons that you see in the * UIActionSheet* (eg. OK, Cancel) and Delete in the iOS contacts app. They show as either Red, Green, or Black. I can't see any properties on *UIButton*, so figure they must be some other kind of button. Thanks! -- *Phil

Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-30 Thread Phil Cockfield
this issue shortly. Thanks! Jeff On Wed, Jul 18, 2012 at 3:10 AM, Phil Cockfield p...@cockfield.netwrote: I have a *MonoTouch Library Project *referenced by my main MonoTouch iPhone app project. In that project I am creating an *iPhone View Controller* from the template which create

Re: [MonoTouch] Implementing Dispose on an [NSObject]

2012-07-30 Thread Phil Cockfield
Thanks Rodrigo * * * * On Fri, Jul 20, 2012 at 8:40 AM, Rodrigo Kumpera kump...@xamarin.comwrote: You should only override void Dispose (bool disposing), and make sure to always call the base method. On Thu, Jul 19, 2012 at 5:15 PM, Phil Cockfield p...@cockfield.netwrote: What's

[MonoTouch] Implementing Dispose on an [NSObject]

2012-07-19 Thread Phil Cockfield
is cast as NSObject, and Dispose is run - then the parent method will run, but my derived method won't. That's my understanding at least, please correct me if I'm wrong. So what is the best practice for hooking into dispose in these types of scenarios? Thanks! -- *Phil *Cockfield

[MonoTouch] XIB file in sub-folder of Library Project

2012-07-18 Thread Phil Cockfield
. Is there something special I need to configure so that it knows how to build the XIB file? Thanks -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] initWithNibName = Constructor ??

2012-07-14 Thread Phil Cockfield
this: Class UIViewController Selector: *initWithNibName:bundle:* Method: *IntPtr Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);* Is it fair to say that is simply the C# constructor of my derived class? Or is that pointing at something else? -- *Phil *Cockfield

[MonoTouch] UIDatePicker - AM/PM : Getting it exactly the wrong way around.

2012-07-10 Thread Phil Cockfield
though, because it's an exact reversal of the AM/PM values, not a shift in the time. Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

Re: [MonoTouch] OwnerDrawnElement vs. UIViewElement

2012-07-10 Thread Phil Cockfield
, 2012 at 6:31 AM, Phil Cockfield p...@cockfield.netwrote: I just found this by Miguel: http://stackoverflow.com/questions/4028356/monotouch-dialogs-ownerdrawnelement-highlight-not-working The OwnerDrawnElement was a contribution from the community, and it is not as sophisticated as it should

[MonoTouch] StringElement Button - As Stateful Button

2012-07-10 Thread Phil Cockfield
it's blue background, expressing that this is the value that is being edited by the *DatePicker*. Is this possible with* StringElement*? Equally, I can't see anything obvious to do this on the *StyledStringElement*. Thanks everyone. -- *Phil *Cockfield

Re: [MonoTouch] UIDatePicker - AM/PM : Getting it exactly the wrong way around.

2012-07-10 Thread Phil Cockfield
had the same problem developing TripWallet - I was in NZ then, too) On Tue, Jul 10, 2012 at 10:55 AM, Phil Cockfield p...@cockfield.net wrote: I'm using a UIDatePicker control in a pretty standard way (I think). That is, I'm not setting much configuration at all at initialization: Control

Re: [MonoTouch] OwnerDrawnElement vs. UIViewElement

2012-07-10 Thread Phil Cockfield
months, so better tricks may have come up since then. The MWC app might be a good place to look: https://github.com/xamarin/mobile-samples/tree/master/MWC/MWC.iOS/UI/CustomElements .. as it's fairly recent. On Tue, Jul 10, 2012 at 11:08 AM, Phil Cockfield p...@cockfield.netwrote

[MonoTouch] MVC philosophy when it comes to deriving from [Element]

2012-07-10 Thread Phil Cockfield
/recommended? It's tempting to just ram some controller-like model binding behavior into the derived element. Is that evil? Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo

Re: [MonoTouch] MVC philosophy when it comes to deriving from [Element]

2012-07-10 Thread Phil Cockfield
on a faulty understanding of how to structure things gets more and more of a PITA with every new Element I make and use! :) Thanks guys!!! On Wed, Jul 11, 2012 at 7:41 AM, Phil Cockfield p...@cockfield.net wrote: As I start to create custom cells by deriving from *Element* I need to be careful I

[MonoTouch] OwnerDrawnElement vs. UIViewElement

2012-07-09 Thread Phil Cockfield
. That sounds bad. What I'm not experienced enough to know. What are people preferring to do when they want to render custom stuff? UIViewElement sounds easier. Is it like doing a bargain with the devil? Thanks. -- Phil Cockfield ___ MonoTouch mailing list

Re: [MonoTouch] OwnerDrawnElement vs. UIViewElement

2012-07-09 Thread Phil Cockfield
! On Tue, Jul 10, 2012 at 2:27 PM, Phil Cockfield p...@cockfield.net wrote: When wanting to get in and totally control cell style rendering, is there a preferred approach between these two options: - OwnerDrawnElement - UIViewElement For [UIViewElement] the docs say : Can we used to host

[MonoTouch] Recording Sound

2012-07-08 Thread Phil Cockfield
. I'm loving that there is so little code needed to do this kind of thing. Thanks guys! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] Recording Sound

2012-07-08 Thread Phil Cockfield
loving that there is so little code needed to do this kind of thing. Thanks guys! -- Phil Cockfield -- Phil Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] Recording Sound

2012-07-07 Thread Phil Cockfield
recording the *recorder.finished* callback never gets invoked (see *line 55*). Is this a bug in the demo. Is there something about recorders that they perhaps need to be more fully disposed of or something. I'm loving that there is so little code needed to do this kind of thing. Thanks guys! -- *Phil

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

2012-07-05 Thread Phil Cockfield
helpful. A really really really great presentation. -- *Phil *Cockfield On Wed, Jul 4, 2012 at 6:57 AM, Nic Wise n...@fastchicken.co.nz wrote: James Clancey has done a basic version of it: https://github.com/Clancey/FlyOutNavigation I've not seen anything else, tho. But on the surface

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

2012-07-05 Thread Phil Cockfield
BTW - what is that color: baseView.BackgroundColor = Resources.*MoleskineBackgroundColor*; //it's a color, but it's a pattern Is that actually *UIImage* just named as color - or some other trick? On Wed, Jul 4, 2012 at 12:37 PM, Phil Cockfield p...@cockfield.net wrote: That is awesome

Re: [MonoTouch] UIImage.FromFile and @2x images

2012-07-05 Thread Phil Cockfield
://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch -- *Phil *Cockfield ___ MonoTouch mailing list

[MonoTouch] Bundle Version not incrementing for TestFlight deployment

2012-07-05 Thread Phil Cockfield
other way of incrementing the build number? Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

Re: [MonoTouch] Bundle Version not incrementing for TestFlight deployment

2012-07-05 Thread Phil Cockfield
) and set the version there. It's currently set to 1.0. Bob -- Sent from my iPhone On Jul 5, 2012, at 8:55 PM, Phil Cockfield p...@cockfield.netmailto: p...@cockfield.net wrote: I'm incrementing my build version like this: * In project: Options General Main Settings [X] Get

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

2012-07-04 Thread Phil Cockfield
like a significant variant from from the *UINavigationController* does. Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch

[MonoTouch] UIImage.FromFile and @2x images

2012-07-04 Thread Phil Cockfield
other way I'm supposed to pull the retina images, or pathsperhaps automatically. Thanks! -- *Phil *Cockfield ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch