[MonoTouch] Trying to use MonoTouch.Dialog on my first app

2011-11-12 Thread JohnnyNoMates
Hi guys, Ive got a really simple MonoTouch app, my AppDelegate creates a UIViewController, which contains a UIView, which contains a UIScrollView which contains 3 more UIViews. Each of the last 3 UIViews have a button and when it is pressed I want it to display a MonoTouch.Dialog. But all the

Re: [MonoTouch] Trying to use MonoTouch.Dialog on my first app

2011-11-12 Thread Dean Cleaver
One way to solve this is to create a constructor in each applicable class passing in a reference to the navigation controller so that your last 3 UIViews have a reference to it. -Original Message- From: monotouch-boun...@lists.ximian.com [mailto:monotouch-boun...@lists.ximian.com] On

Re: [MonoTouch] SPAM-LOW: RE: Trying to use MonoTouch.Dialog on my first app

2011-11-12 Thread John Hair
Sorry I haven't made it clear but I don't have a UINavigationController, or at least I don't think I do. My AppDelegate creates UIViewController. Thanks John Sent from my iPhone On 12 Nov 2011, at 14:08, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: One way to solve this is to

Re: [MonoTouch] SPAM-LOW: RE: Trying to use MonoTouch.Dialog on my first app

2011-11-12 Thread Jason Awbrey
have yout tried PresentModalViewController? On Sat, Nov 12, 2011 at 8:36 AM, John Hair m...@johnhair.com wrote: Sorry I haven't made it clear but I don't have a UINavigationController, or at least I don't think I do. My AppDelegate creates UIViewController. Thanks John Sent from my iPhone

Re: [MonoTouch] Get MAC address

2011-11-12 Thread Derik Palacino
The big issue with this approach is that half the MAC address is missing when accessed through MonoTouch. Interestingly enough, the second half of the address has been moved to the first half. Almost as if there a bad shift reading memory happening. Here's the MAC info from my emulator. The Obj-C

Re: [MonoTouch] Get MAC address

2011-11-12 Thread Robert Jordan
On 12.11.2011 18:30, Derik Palacino wrote: I should also mention that this is not an Emulator Only Issue, I had hoped that it was, but that exact same results (different address of course) are present on the device in both iOS 4.3 and 5.0. I'll post back if I find a better way of getting the

Re: [MonoTouch] Creating custom UITableViewCells the correct way with Xcode 4?

2011-11-12 Thread technohead
Doh, found the answer in the comments: 1) Create the new XIB (again, choose New iPhone View, not Controller!) and design it in XCode/IB. 2) Create a new class for your UITableViewCell subclass and make it a partial class Make sure it has a default constructor and the one receiving IntPtr

Re: [MonoTouch] Why is System.Reflection.Emit in MonoTouch mscorlib?

2011-11-12 Thread Sebastien Pouliot
Hello Michael, This is a planned enhancement but it requires us to switch to the new compiler and version of mono. Right now MonoTouch ships with two mscorlib.dll, one for the compiler (smcs) and one for the runtime. The former is needed by the compiler (used for itself and compiled against) and

Re: [MonoTouch] Why is System.Reflection.Emit in MonoTouch mscorlib?

2011-11-12 Thread Mike Muegel
Thanks Sebastien. In the mean time, in your compiler mscorelib.dll could you consider using ObsoleteAttribute with custom message to flag the various Emit types? A hack, but at least a warning would show up w/ some useful text. -Mike On Sat, Nov 12, 2011 at 2:40 PM, Sebastien Pouliot

Re: [MonoTouch] Why is System.Reflection.Emit in MonoTouch mscorlib?

2011-11-12 Thread Sebastien Pouliot
Hello Mike, That's a very good idea! I'll look into it. Thanks Sebastien On Sat, Nov 12, 2011 at 3:58 PM, Mike Muegel mike.mue...@gmail.com wrote: Thanks Sebastien. In the mean time, in your compiler mscorelib.dll could you consider using ObsoleteAttribute with custom message to flag the