[MonoTouch] IPConfigurationInformation.DnsServers

2011-10-26 Thread gnauck
I have to make special DNS requests over UDP which are not supported by the .NET Framework yet. On MS .NET and the full MONO version I use *IPConfigurationInformation.DnsServers* to get the DNS server which I can use to send my requests to. On MonoTouch this returns no DNS servers. I have not

[MonoTouch] What are the advantages of UIViewController containment of iOS5 SDK?

2011-10-26 Thread Krumelur
Hi, while I ported MGSplitViewController to Monotouch I wondered why this thing actually works. It does exactly what Apple disencourages: * Add a couple of UIViewControllers' views to another UIViewController's parent view * Have different UIViewControllers manage different sections of the

Re: [MonoTouch] Monodevelop error: ibtool exited with code 133

2011-10-26 Thread Rolf Bjarne Kvinge
Hi, This looks like you have a corrupted Xcode installation. Can you create projects in Xcode and use interface builder there? Rolf On Wed, Oct 19, 2011 at 10:51 AM, digigate digig...@163.com wrote: I created a new Ipad Masterd-detail application. When I building my application ,It shows a

Re: [MonoTouch] Monotouch project converting problem

2011-10-26 Thread Rolf Bjarne Kvinge
Hi, Please file bugs in bugzilla attaching your projects (you can mark attachments private so only Xamarin employees can see them). Rolf On Thu, Oct 20, 2011 at 6:06 PM, nasser n.boukah...@beinbeyond.com wrote: Hi, i have the same problem, how can i fix it? Thank you. -- View this message

Re: [MonoTouch] Showing buttons with a different background (tip)

2011-10-26 Thread Nic Wise
Nice tips, BTW. But I hope you know you can do this: public static class ExtraStuff { public static void StyleItUp(this UIView theControl) {  theControl.Layer.CornerRadius = 5;  theControl.Layer.BorderWidth = 1;  theControl.Layer.BorderColor = UIColor.Gray.CGColor; } } you can then do

Re: [MonoTouch] Tabbed UI question

2011-10-26 Thread Nic Wise
Looks like a custom-drawn UISegmentView. This might help on using it, but not skinning it http://www.fastchicken.co.nz/2010/04/08/monotouch-tableviewcontrollers-and-segmentedcontrol/ and the code is here (tho may be 12 months out of date!) https://github.com/nicwise/onthetelly On Wed, Oct 26,

[MonoTouch] XCode 4.2

2011-10-26 Thread Andreas Ploetzeneder
How can i tell monotouch to compile with xcode 4.2 or with 4.1 if i install it parallel, i need the old xcode 4.1 which is installed, so i thought about parallely installing xcode 4.2 and telling monotouch to work with new one... -- Mit freundlichem Gruß,* Andreas Plötzeneder* CEO *ihr

Re: [MonoTouch] Monotouch App will not launch on Device but works in Simulator

2011-10-26 Thread Sebastien Pouliot
Hello Rick, I'm glad you could fix your issue. Generics and value-types don't play well together when AOT is used (and that's required to execute on iOS devices) [1]. OTOH we're often able to workaround the limitations so don't hesitate to fill bug reports (with a test case) [2] for them. I

[MonoTouch] Button CommandArgument Equivalent?

2011-10-26 Thread MilkyJoe
In ASP.Net, I use the CommandArgument property of the Button control to pass values to the OnCommand event. Is there an equivalent in iOS/MonoTouch? Basically, I have a collection of buttons that are all attached to the same TouchUpInside action. I need to be able to assign a value to each button

Re: [MonoTouch] Monodevelop error: ibtool exited with code 133

2011-10-26 Thread Jeff Stedfast
Hi Digigate, I notice you are using Xcode 3.2.5. MonoDevelop 2.8 is meant to be used with Xcode 4. Hope that helps, Jeff On Wed, Oct 26, 2011 at 5:11 AM, Rolf Bjarne Kvinge r...@xamarin.comwrote: Hi, This looks like you have a corrupted Xcode installation. Can you create projects in Xcode

Re: [MonoTouch] Button CommandArgument Equivalent?

2011-10-26 Thread David Black
Hi Joe Usually I derive a class from UIButton and put an enum property on it. David Black Technical Manager (Web projects) Casewise Systems Ltd | www.casewise.comhttp://www.casewise.com/ +44 1923 830300 office +44 1923 830270 direct 64 Clarendon Road, Watford WD17 1DA

Re: [MonoTouch] Button CommandArgument Equivalent?

2011-10-26 Thread René Ruppert
Maybe Subclass UIButton and add a property as you need. Then you can use that in your event handler after casting the sender back to your button. Grüße, René Am 26.10.2011 um 17:36 schrieb Jason Awbrey ja...@awbrey.net: I use Tag for this. It works, and I haven't found a better way to do it

Re: [MonoTouch] Button CommandArgument Equivalent?

2011-10-26 Thread MilkyJoe
Thanks guys. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Button-CommandArgument-Equivalent-tp3940979p3941175.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list

[MonoTouch] Monotouch Equivalent for [NSLocale autoupdatingCurrentLocale];

2011-10-26 Thread Danny Pronk
Hi, It might be a noob question, but what is the Equivalent to the following declaration in objective-c [NSLocale autoupdatingCurrentLocale]; I need to detect when the CurrentLocale has changed when returning from background. Currently i am using NSLocale.CurrentLocale.LocaleIdentifier in the

[MonoTouch] Strange Debugging Behavior w/ MonoDevelop?

2011-10-26 Thread Steve.Mentzer
When setting breakpoints and debugging, I noticed that the [locals] and [watch] tabs in MD appear to cause the app to lose focusŠ.. If I click to expand a property/item in the control tree, I need to cycle out of MD and back in, and then the UI becomes responsive again. Anyone see this before?

Re: [MonoTouch] Problems with a referenced project

2011-10-26 Thread MilkyJoe
Ah. I don't know if this is a coincidence, but I just built my project in Release mode, and intellisense now appears to be working with my own projects in MonoDevelop. I'm used to using VS2010, where intellisense just works on referenced projects; even if they've never been built in release mode.

[MonoTouch] Best approach for horizontal thumbnail image view scrolling

2011-10-26 Thread sisnaz
Hi, I'm fairly new to the monotouch world and have a question for anyone out there. I have web service that returns a jpeg stream to my iPad app. My web service returns the desired jpeg size I specify in my API call. Initially I create a call to the service to give me a thumbnail sized image. So

Re: [MonoTouch] Best approach for horizontal thumbnail image view scrolling

2011-10-26 Thread Daniel Dillard
UIScrollView and add your imageview to its subview. I just did this same thing it works perfectly I can show you my app if you'd like to see how it works. On Wed, Oct 26, 2011 at 4:10 PM, sisnaz jdeg...@comcast.net wrote: Hi, I'm fairly new to the monotouch world and have a question for anyone

Re: [MonoTouch] Best approach for horizontal thumbnail image view scrolling

2011-10-26 Thread sisnaz
AWESOME!! Thanks for the fast response :) I would love to see a demo if it's not an inconvenience. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Best-approach-for-horizontal-thumbnail-image-view-scrolling-tp3942332p3942388.html Sent from the MonoTouch mailing list

Re: [MonoTouch] Best approach for horizontal thumbnail image view scrolling

2011-10-26 Thread Daniel Dillard
http://itunes.apple.com/us/app/kansas-jayhawks-basketball/id473777579?ls=1mt=8 Sorry I don't have a video for it but you can get the picture. The navigation at the bottom is basically a scroll view set to take up the full screen with a 640 pixel wide (I think) content view. (I have 8 buttons but

Re: [MonoTouch] Best approach for horizontal thumbnail image view scrolling

2011-10-26 Thread sisnaz
Thanks a lot Daniel, I really appreciate it. I'm jumping on a prototype right now. I'll give you a shout if I get stuck. Thanks again! ... and very nice looking app btw. -- View this message in context: