[MonoTouch] Cannot synch Xcode changes in Monotouch
Hello! My name is Elena. Can somebody solve the following problem. Some of the changes which have made on Xcode 4.3.2 doesnt showed up after build in Monotouch ( 3.0.2) I found a similar topic http://monotouch.2284126.n4.nabble.com/Delay-in-syncing-xcode-4-IB-changes-with-Monotouch-td4166543.html Where it was said that the bug would be fixed in 2.8.5. But i still have it. Maybe i am doing something wrong, and there is another reason for not updating changes in some files Note: i have this problem only with some xib files. Other files updating well. I will appreciate any help in this question. Thanks in advance -- View this message in context: http://monotouch.2284126.n4.nabble.com/Cannot-synch-Xcode-changes-in-Monotouch-tp4655234.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] Setting the Background Color of My Main View
yourViewController.View.BackgroundColor = UIColor.Red; but also: yourTableView.BackgroundColor = UIColor.Clear; On Wed, Jun 6, 2012 at 9:25 PM, Chris_M kungfuchri...@yahoo.com wrote: I have a UIViewController for the main view for my app to which I've added a UITableView and some other UI elements. Everything looks good and is working, but I want to change the background color for the entire screen. Is there a way to change the background color for the UIViewController, or do I have to create a separate UIView, change its background color, add the UITableView and other elements to that UIView and then add the UIView to the UIViewController? --Chris -- View this message in context: http://monotouch.2284126.n4.nabble.com/Setting-the-Background-Color-of-My-Main-View-tp4655225.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/ 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 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 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] Forced crash on device - what is happening?
Hi, This is a bug that happens when using the debugger (it will not happen unless you attach the debugger to the app). Several of these deadlocks have been fixed in the latest alpha (5.3.4), could you try that version to see if it still happens? If it still does, then please file a bug report with the symbolicated crash report. Rolf On Thu, Jun 7, 2012 at 6:36 AM, Felix Collins fe...@intranel.com wrote: Hi, I have a forced crash on the device when I'm trying to resume from background... device log: Jun 7 15:41:59 unknown SpringBoard[52] Warning: com.visionslive.mobilebullet failed to resume in time Jun 7 15:41:59 unknown SpringBoard[52] Warning: Forcing crash report of VisonsLiveMobil[241]... So I managed to symbolicate the crash dump after much struggling and I can't really make much sense of it. The app uses WCF calls and we currently create one client per call. There were several web service calls in progress when the app was backgrounded. Below are the stack traces for the threads in the app at the time of the forced crash. Thread 13 top thread 159 are identical so I've stopped at thread 13. This in itself raises a red flag for me. What created all those threads? What is going on? If anyone can shed any light on this I would be very grateful. (The MobileBullet code is our app) Felix Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x3823d0d8 __psynch_mutexwait + 24 1 libsystem_c.dylib 0x34085674 pthread_mutex_lock + 376 2 VisonsLiveMobile 0x00b26ad4 mono_loader_lock (loader.c:2129) 3 VisonsLiveMobile 0x00af24bc mono_class_get_fields_lazy (class.c:9588) 4 VisonsLiveMobile 0x00b19d3c ves_icall_Type_GetFields_internal (icall.c:3402) 5 VisonsLiveMobile 0x008b0900 wrapper_managed_to_native_System_MonoType_GetFields_internal_System_MonoType_System_Reflection_BindingFlags_System_Type (mscorlib.dll.6.s:77663) 6 VisonsLiveMobile 0x0095aa38 System_Type_FindMembers_System_Reflection_MemberTypes_System_Reflection_BindingFlags_System_Reflection_MemberFilter_object (mscorlib.dll.6.s:147723) 7 VisonsLiveMobile 0x008b0be0 System_MonoType_GetMembers_System_Reflection_BindingFlags (mscorlib.dll.6.s:77752) 8 VisonsLiveMobile 0x00086d28 System_ServiceModel_Description_ContractDescriptionGenerator_CreateMessageDescription_System_Type_string_string_bool_bool_System_ServiceModel_MessageContractAttribute (System.ServiceModel.dll.6.s:17172) 9 VisonsLiveMobile 0x00086a58 System_ServiceModel_Description_ContractDescriptionGenerator_GetMessage_System_ServiceModel_Description_OperationDescription_System_Reflection_MethodInfo_System_ServiceModel_OperationContractAttribute_bool_bool_System_Type (System.ServiceModel.dll.6.s:17116) 10 VisonsLiveMobile 0x000857b0 System_ServiceModel_Description_ContractDescriptionGenerator_GetOrCreateOperation_System_ServiceModel_Description_ContractDescription_System_Reflection_MethodInfo_System_Reflection_MethodInfo_System_ServiceModel_OperationContractAttribute_System_Type_bool_System_Type (System.ServiceModel.dll.6.s:16742) 11 VisonsLiveMobile 0x0008535c System_ServiceModel_Description_ContractDescriptionGenerator_FillOperationsForInterface_System_ServiceModel_Description_ContractDescription_System_Type_System_Type_bool (System.ServiceModel.dll.6.s:16609) 12 VisonsLiveMobile 0x00084f60 System_ServiceModel_Description_ContractDescriptionGenerator_GetContractInternal_System_Type_System_Type_System_Type (System.ServiceModel.dll.6.s:16516) 13 VisonsLiveMobile 0x00084748 System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type_System_Type_System_Type (System.ServiceModel.dll.6.s:16339) 14 VisonsLiveMobile 0x00084710 System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type_System_Type (System.ServiceModel.dll.6.s:16327) 15 VisonsLiveMobile 0x000845fc System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type (System.ServiceModel.dll.6.s:16293) 16 VisonsLiveMobile 0x0008366c System_ServiceModel_Description_ContractDescription_GetContract_System_Type (System.ServiceModel.dll.6.s:15860) 17 VisonsLiveMobile 0x00067c34 System_ServiceModel_ChannelFactory_1_CreateDescription (System.ServiceModel.dll.6.s:2089) 18 VisonsLiveMobile 0x00067968 System_ServiceModel_ChannelFactory_1__ctor_System_Type (System.ServiceModel.dll.6.s:1955) 19 VisonsLiveMobile 0x00067a9c System_ServiceModel_ChannelFactory_1__ctor_System_ServiceModel_Channels_Binding_System_ServiceModel_EndpointAddress (System.ServiceModel.dll.6.s:2007) 20
[MonoTouch] MonoTouch.Dialog: RootElements in NavigationController
RootElements in NavigationController Hi, II have the following code: public UINavigationController _nav; private UIBarButtonItem _button; public TablaDialog () : base (UITableViewStyle.Plain, null) { Root = new RootElement (ROOT) ; _nav = new UINavigationController(this); Section s = new Section(); RootElement r = new RootElement(Top); r.createOnSelected=addViewController; ///If I comment this line work it s.Add(r); Root.Add(s); } private UIViewController addViewController(RootElement e) { DialogViewController d = new DialogViewController(e); Section s = new Section (Seccion); s.Add(new RootElement(Element)); e.Add(s); return d; } } I want set the back button into _nav when I stay in Top. If I comment de line of I mention, it's ok but I lost the behaviour that I want. Thanks and sorry for my english. Juan M Gómez Álvarez ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
[MonoTouch] how to change font size when printing a program listing?
I assume that there must be a way to control the format when printing a program listing, but I might be wrong. Specifically, how to you change the font size? It's too big. I'm using the latest stable version of MD, 3.0.2, on a Mac (running Lion). Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/how-to-change-font-size-when-printing-a-program-listing-tp4655238.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] Adding a Badge Value to the More Tab
Adding a Badge Value to the More Tab Does anyone know how to do this with monotouch c# Michael Murdock Software Engineer (865) 482-1999 (865) 481-0921 fax www.allmeds.comhttp://www.allmeds.com ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Adding a Badge Value to the More Tab
Hi, You should be able to set TabBarItem.BadgeValue on the UIView-/UINavigationController. Mikkel On 07/06/2012, at 15.42, Mike Murdock mmurd...@allmeds.com wrote: Adding a Badge Value to the More Tab Does anyone know how to do this with monotouch c# *Michael Murdock * *Software Engineer* (865) 482-1999 (865) 481-0921 fax www.allmeds.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] Adding a Badge Value to the More Tab
Is there a way to put a badge value on the resulting table result items once you click on the more tab. Or how to do get to that view that list the more items. Thanks Michael From: Mikkel Lønow [mailto:mloe...@gmail.com] Sent: Thursday, June 07, 2012 9:58 AM To: Mike Murdock Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Adding a Badge Value to the More Tab Hi, You should be able to set TabBarItem.BadgeValue on the UIView-/UINavigationController. Mikkel On 07/06/2012, at 15.42, Mike Murdock mmurd...@allmeds.commailto:mmurd...@allmeds.com wrote: Adding a Badge Value to the More Tab Does anyone know how to do this with monotouch c# Michael Murdock Software Engineer (865) 482-1999 (865) 481-0921 fax www.allmeds.comhttp://www.allmeds.com ___ MonoTouch mailing list MonoTouch@lists.ximian.commailto: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] is the downloadable code in McClure's iPhone Programming with MT... compatible with current version of MT/MD?
Is the sample code downloadable from Wrox for McClure's Professional iPhone Programming with MonoTouch and .NET/C# in synch with the current versions of MT/MD? If not, what tweaks are necessary to make them compatible? My experience is that they almost work. I'm getting the following: Applications are expected to have a root view controller at the end of application launch. I've just tried PickerView01 (chapter 4, example 6), but my hunch is that this will happen for all of the code snippets. Anyone? -- View this message in context: http://monotouch.2284126.n4.nabble.com/is-the-downloadable-code-in-McClure-s-iPhone-Programming-with-MT-compatible-with-current-version-of--tp4655242.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] Adding a Badge Value to the More Tab
It's just a value that you control manually -- you define the meaning of it. Mikkel On Thu, Jun 7, 2012 at 4:02 PM, Mike Murdock mmurd...@allmeds.com wrote: Is there a way to put a badge value on the resulting table result items once you click on the “more” tab. Or how to do get to that view that list the more items. ** ** Thanks Michael ** ** *From:* Mikkel Lønow [mailto:mloe...@gmail.com] *Sent:* Thursday, June 07, 2012 9:58 AM *To:* Mike Murdock *Cc:* monotouch@lists.ximian.com *Subject:* Re: [MonoTouch] Adding a Badge Value to the More Tab ** ** Hi, ** ** You should be able to set TabBarItem.BadgeValue on the UIView-/UINavigationController. ** ** Mikkel On 07/06/2012, at 15.42, Mike Murdock mmurd...@allmeds.com wrote: Adding a Badge Value to the More Tab Does anyone know how to do this with monotouch c# *Michael Murdock * *Software Engineer* (865) 482-1999 (865) 481-0921 fax www.allmeds.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] Forced crash on device - what is happening?
Is MonoTouch 5.3.4 already out?? If i switch to alpha channel I just get 5.3.3. Alex El 07/06/2012, a las 06:00, Rolf Bjarne Kvinge escribió: Hi, This is a bug that happens when using the debugger (it will not happen unless you attach the debugger to the app). Several of these deadlocks have been fixed in the latest alpha (5.3.4), could you try that version to see if it still happens? If it still does, then please file a bug report with the symbolicated crash report. Rolf On Thu, Jun 7, 2012 at 6:36 AM, Felix Collins fe...@intranel.com wrote: Hi, I have a forced crash on the device when I'm trying to resume from background... device log: Jun 7 15:41:59 unknown SpringBoard[52] Warning: com.visionslive.mobilebullet failed to resume in time Jun 7 15:41:59 unknown SpringBoard[52] Warning: Forcing crash report of VisonsLiveMobil[241]... So I managed to symbolicate the crash dump after much struggling and I can't really make much sense of it. The app uses WCF calls and we currently create one client per call. There were several web service calls in progress when the app was backgrounded. Below are the stack traces for the threads in the app at the time of the forced crash. Thread 13 top thread 159 are identical so I've stopped at thread 13. This in itself raises a red flag for me. What created all those threads? What is going on? If anyone can shed any light on this I would be very grateful. (The MobileBullet code is our app) Felix Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x3823d0d8 __psynch_mutexwait + 24 1 libsystem_c.dylib 0x34085674 pthread_mutex_lock + 376 2 VisonsLiveMobile0x00b26ad4 mono_loader_lock (loader.c:2129) 3 VisonsLiveMobile0x00af24bc mono_class_get_fields_lazy (class.c:9588) 4 VisonsLiveMobile0x00b19d3c ves_icall_Type_GetFields_internal (icall.c:3402) 5 VisonsLiveMobile0x008b0900 wrapper_managed_to_native_System_MonoType_GetFields_internal_System_MonoType_System_Reflection_BindingFlags_System_Type (mscorlib.dll.6.s:77663) 6 VisonsLiveMobile0x0095aa38 System_Type_FindMembers_System_Reflection_MemberTypes_System_Reflection_BindingFlags_System_Reflection_MemberFilter_object (mscorlib.dll.6.s:147723) 7 VisonsLiveMobile0x008b0be0 System_MonoType_GetMembers_System_Reflection_BindingFlags (mscorlib.dll.6.s:77752) 8 VisonsLiveMobile0x00086d28 System_ServiceModel_Description_ContractDescriptionGenerator_CreateMessageDescription_System_Type_string_string_bool_bool_System_ServiceModel_MessageContractAttribute (System.ServiceModel.dll.6.s:17172) 9 VisonsLiveMobile0x00086a58 System_ServiceModel_Description_ContractDescriptionGenerator_GetMessage_System_ServiceModel_Description_OperationDescription_System_Reflection_MethodInfo_System_ServiceModel_OperationContractAttribute_bool_bool_System_Type (System.ServiceModel.dll.6.s:17116) 10 VisonsLiveMobile0x000857b0 System_ServiceModel_Description_ContractDescriptionGenerator_GetOrCreateOperation_System_ServiceModel_Description_ContractDescription_System_Reflection_MethodInfo_System_Reflection_MethodInfo_System_ServiceModel_OperationContractAttribute_System_Type_bool_System_Type (System.ServiceModel.dll.6.s:16742) 11 VisonsLiveMobile0x0008535c System_ServiceModel_Description_ContractDescriptionGenerator_FillOperationsForInterface_System_ServiceModel_Description_ContractDescription_System_Type_System_Type_bool (System.ServiceModel.dll.6.s:16609) 12 VisonsLiveMobile0x00084f60 System_ServiceModel_Description_ContractDescriptionGenerator_GetContractInternal_System_Type_System_Type_System_Type (System.ServiceModel.dll.6.s:16516) 13 VisonsLiveMobile0x00084748 System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type_System_Type_System_Type (System.ServiceModel.dll.6.s:16339) 14 VisonsLiveMobile0x00084710 System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type_System_Type (System.ServiceModel.dll.6.s:16327) 15 VisonsLiveMobile0x000845fc System_ServiceModel_Description_ContractDescriptionGenerator_GetContract_System_Type (System.ServiceModel.dll.6.s:16293) 16 VisonsLiveMobile0x0008366c System_ServiceModel_Description_ContractDescription_GetContract_System_Type (System.ServiceModel.dll.6.s:15860) 17 VisonsLiveMobile0x00067c34 System_ServiceModel_ChannelFactory_1_CreateDescription (System.ServiceModel.dll.6.s:2089) 18 VisonsLiveMobile0x00067968 System_ServiceModel_ChannelFactory_1__ctor_System_Type (System.ServiceModel.dll.6.s:1955) 19 VisonsLiveMobile
Re: [MonoTouch] Cannot synch Xcode changes in Monotouch
Hi Elena, Could you submit a bug report to http://bugzilla.xamarin.com (file it under MonoDevelop / iPhone Add-in)? Once thing you could try, if you aren't already doing it, is to go to each of the files you've changed in Xcode and saving them before swapping back to MonoDevelop. This might help, but I'm not sure. Normally, when you switch back to MonoDevelop, MonoDevelop tells Xcode to save all of its unsaved documents and then it iterates over all of the files, comparing timestamps to see which files need to be synced back to MonoDevelop. However, there is a timeout on the save unsaved documents command sent to Xcode (30 seconds per document iirc), and so it might be possible that Xcode isn't saving one (or more?) of them fast enough causing some sort of race condition in the sync-back logic. This is all just speculation, of course, so it might not help, but it might be worth a try. Jeff On Thu, Jun 7, 2012 at 6:54 AM, Elena inpasara...@gmail.com wrote: Hello! My name is Elena. Can somebody solve the following problem. Some of the changes which have made on Xcode 4.3.2 doesnt showed up after build in Monotouch ( 3.0.2) I found a similar topic http://monotouch.2284126.n4.nabble.com/Delay-in-syncing-xcode-4-IB-changes-with-Monotouch-td4166543.html Where it was said that the bug would be fixed in 2.8.5. But i still have it. Maybe i am doing something wrong, and there is another reason for not updating changes in some files Note: i have this problem only with some xib files. Other files updating well. I will appreciate any help in this question. Thanks in advance -- View this message in context: http://monotouch.2284126.n4.nabble.com/Cannot-synch-Xcode-changes-in-Monotouch-tp4655234.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] Cannot synch Xcode changes in Monotouch
Jeff, I suspect this might be the same issue: https://bugzilla.xamarin.com/show_bug.cgi?id=5569 I've seen a few others on the list with the same problem. I dont normally use IB, so I've not seen it until today On Thu, Jun 7, 2012 at 5:36 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Elena, Could you submit a bug report to http://bugzilla.xamarin.com (file it under MonoDevelop / iPhone Add-in)? Once thing you could try, if you aren't already doing it, is to go to each of the files you've changed in Xcode and saving them before swapping back to MonoDevelop. This might help, but I'm not sure. Normally, when you switch back to MonoDevelop, MonoDevelop tells Xcode to save all of its unsaved documents and then it iterates over all of the files, comparing timestamps to see which files need to be synced back to MonoDevelop. However, there is a timeout on the save unsaved documents command sent to Xcode (30 seconds per document iirc), and so it might be possible that Xcode isn't saving one (or more?) of them fast enough causing some sort of race condition in the sync-back logic. This is all just speculation, of course, so it might not help, but it might be worth a try. Jeff On Thu, Jun 7, 2012 at 6:54 AM, Elena inpasara...@gmail.com wrote: Hello! My name is Elena. Can somebody solve the following problem. Some of the changes which have made on Xcode 4.3.2 doesnt showed up after build in Monotouch ( 3.0.2) I found a similar topic http://monotouch.2284126.n4.nabble.com/Delay-in-syncing-xcode-4-IB-changes-with-Monotouch-td4166543.html Where it was said that the bug would be fixed in 2.8.5. But i still have it. Maybe i am doing something wrong, and there is another reason for not updating changes in some files Note: i have this problem only with some xib files. Other files updating well. I will appreciate any help in this question. Thanks in advance -- View this message in context: http://monotouch.2284126.n4.nabble.com/Cannot-synch-Xcode-changes-in-Monotouch-tp4655234.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 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ 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 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 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] Cannot synch Xcode changes in Monotouch
Hi Nic, Elena, The IsDerived() bug was supposedly fixed by Mike Krueger for 3.0.3 (going thru QA right now), so if that's the problem then 3.0.3 should solve that. Jeff On Thu, Jun 7, 2012 at 1:05 PM, Nic Wise n...@fastchicken.co.nz wrote: Jeff, I suspect this might be the same issue: https://bugzilla.xamarin.com/show_bug.cgi?id=5569 I've seen a few others on the list with the same problem. I dont normally use IB, so I've not seen it until today On Thu, Jun 7, 2012 at 5:36 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Elena, Could you submit a bug report to http://bugzilla.xamarin.com (file it under MonoDevelop / iPhone Add-in)? Once thing you could try, if you aren't already doing it, is to go to each of the files you've changed in Xcode and saving them before swapping back to MonoDevelop. This might help, but I'm not sure. Normally, when you switch back to MonoDevelop, MonoDevelop tells Xcode to save all of its unsaved documents and then it iterates over all of the files, comparing timestamps to see which files need to be synced back to MonoDevelop. However, there is a timeout on the save unsaved documents command sent to Xcode (30 seconds per document iirc), and so it might be possible that Xcode isn't saving one (or more?) of them fast enough causing some sort of race condition in the sync-back logic. This is all just speculation, of course, so it might not help, but it might be worth a try. Jeff On Thu, Jun 7, 2012 at 6:54 AM, Elena inpasara...@gmail.com wrote: Hello! My name is Elena. Can somebody solve the following problem. Some of the changes which have made on Xcode 4.3.2 doesnt showed up after build in Monotouch ( 3.0.2) I found a similar topic http://monotouch.2284126.n4.nabble.com/Delay-in-syncing-xcode-4-IB-changes-with-Monotouch-td4166543.html Where it was said that the bug would be fixed in 2.8.5. But i still have it. Maybe i am doing something wrong, and there is another reason for not updating changes in some files Note: i have this problem only with some xib files. Other files updating well. I will appreciate any help in this question. Thanks in advance -- View this message in context: http://monotouch.2284126.n4.nabble.com/Cannot-synch-Xcode-changes-in-Monotouch-tp4655234.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 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ 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 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 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] Cannot synch Xcode changes in Monotouch
Cool! I'll keep an eye out for 3.0.3 :) On Thu, Jun 7, 2012 at 7:03 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Nic, Elena, The IsDerived() bug was supposedly fixed by Mike Krueger for 3.0.3 (going thru QA right now), so if that's the problem then 3.0.3 should solve that. Jeff On Thu, Jun 7, 2012 at 1:05 PM, Nic Wise n...@fastchicken.co.nz wrote: Jeff, I suspect this might be the same issue: https://bugzilla.xamarin.com/show_bug.cgi?id=5569 I've seen a few others on the list with the same problem. I dont normally use IB, so I've not seen it until today On Thu, Jun 7, 2012 at 5:36 PM, Jeff Stedfast j...@xamarin.com wrote: Hi Elena, Could you submit a bug report to http://bugzilla.xamarin.com (file it under MonoDevelop / iPhone Add-in)? Once thing you could try, if you aren't already doing it, is to go to each of the files you've changed in Xcode and saving them before swapping back to MonoDevelop. This might help, but I'm not sure. Normally, when you switch back to MonoDevelop, MonoDevelop tells Xcode to save all of its unsaved documents and then it iterates over all of the files, comparing timestamps to see which files need to be synced back to MonoDevelop. However, there is a timeout on the save unsaved documents command sent to Xcode (30 seconds per document iirc), and so it might be possible that Xcode isn't saving one (or more?) of them fast enough causing some sort of race condition in the sync-back logic. This is all just speculation, of course, so it might not help, but it might be worth a try. Jeff On Thu, Jun 7, 2012 at 6:54 AM, Elena inpasara...@gmail.com wrote: Hello! My name is Elena. Can somebody solve the following problem. Some of the changes which have made on Xcode 4.3.2 doesnt showed up after build in Monotouch ( 3.0.2) I found a similar topic http://monotouch.2284126.n4.nabble.com/Delay-in-syncing-xcode-4-IB-changes-with-Monotouch-td4166543.html Where it was said that the bug would be fixed in 2.8.5. But i still have it. Maybe i am doing something wrong, and there is another reason for not updating changes in some files Note: i have this problem only with some xib files. Other files updating well. I will appreciate any help in this question. Thanks in advance -- View this message in context: http://monotouch.2284126.n4.nabble.com/Cannot-synch-Xcode-changes-in-Monotouch-tp4655234.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 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ 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 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 London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ 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 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 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] Checking local network availability
Quick questions 1. What are the apple requirements for checking WiFi availability (local networking) on startup? 2. What is the best way to determine if a local network is available at startup (assuming I only need to check at startup)? App background The app leverages web services, but only for community sharing features - fundamentally, the app leverages local networking for primary operations. Thanks! -- View this message in context: http://monotouch.2284126.n4.nabble.com/Checking-local-network-availability-tp4655233.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] System.Net.Sockets NullReference help
Rather than cyphering your operation from the error, can you describe exactly where this occurs, what are you doing. I have build an extensive sockets-based layer for cross-platform use and it works fine on monotouch/pc/etc... If your issue is occurring on an async complete trigger on a listening operation, then I'd say to make sure you are re-instantiating the async callback each time the async operation completes (rather than re-use the object). SocketListener.BeginAcceptTcpClient(new AsyncCallback(CompleteConnection), null); If you post more of an example of what is going on at the time the error occurs, how you are initializing the listener (I'm assuming a listener), and how you are handling async completion, I might be able to help more. -- View this message in context: http://monotouch.2284126.n4.nabble.com/System-Net-Sockets-NullReference-help-tp4655218p4655245.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] Drag and Drop Icons similar to ICircuit App
I would like to make drag and drop Icons, from hideable menus, similarly to the iPhone App ICircuit. I see that this is possible in Monotouch, however; I cannot find any resources explaining how to do this. Does anyone know of any resources, tutorials, frameworks for accomplishing this drag and drop with hidable menus similarly to ICircuit? Here is an example of something similar to what I'd like to do: http://www.youtube.com/watch?v=rz_EfwJGIes -- View this message in context: http://monotouch.2284126.n4.nabble.com/Drag-and-Drop-Icons-similar-to-ICircuit-App-tp4655246.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] Drag and Drop Icons similar to ICircuit App
Monotouch Resources http://dantes-andreea.blogspot.com/ Pinch zoom funciton: http://dantes-andreea.blogspot.com/2011/07/corona-lua-multi-touch-pinch-zoom.html Image resizing/cropping function: http://dantes-andreea.blogspot.com/2011/08/monotouch-class-for-resize-maintaining.html On Thu, Jun 7, 2012 at 12:17 PM, lampshade9909 lampshade9...@gmail.comwrote: I would like to make drag and drop Icons, from hideable menus, similarly to the iPhone App ICircuit. I see that this is possible in Monotouch, however; I cannot find any resources explaining how to do this. Does anyone know of any resources, tutorials, frameworks for accomplishing this drag and drop with hidable menus similarly to ICircuit? Here is an example of something similar to what I'd like to do: http://www.youtube.com/watch?v=rz_EfwJGIes -- View this message in context: http://monotouch.2284126.n4.nabble.com/Drag-and-Drop-Icons-similar-to-ICircuit-App-tp4655246.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] Binding to category
I am experiencing this problem as well. Did you ever figure out a solution? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Binding-to-category-tp4512665p4655253.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] Integrate BugSense with Monotouch app
Hi, Can someone help me with experience in doing Monotouch Bindings for Objectice-C libs please? i really don't know what i'm doing wrong =\ Check my email below.. Thanks, Orlando On Thu, Jun 7, 2012 at 12:14 AM, Orlando Silva orlando.si...@cardmobili.com wrote: Hello, I need some help, i started doing Monotouch bindings for BugSense, but i'm getting an strange error =/ i don't know what i'm doing wrong. I have added the solution that i created to my dropbox account. link to BugSenseMonotouchSample: http://dl.dropbox.com/u/764254/BugSenseMonotouchSample.zip To execute it, you need to update the bugSenseKey's var in AppDelegate's class with your BugSense key. After i run this project i receive the next error. Stacktrace: Unhandled Exception: MonoTouch.Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'MonoTouch.Foundation.You_Should_Not_Call_base_In_This_Method' was thrown. at BugsenseLib.BugSenseCrashController.SharedInstanceWithBugSenseAPIKey (System.String APIKey) [0x0] in filename unknown:0 at BugSenseSample.BugSenseSampleViewController.ViewDidLoad () [0x6] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/BugSenseSampleViewController.cs:37 at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr) at MonoTouch.UIKit.UIWindow.MakeKeyAndVisible () [0xb] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIWindow.g.cs:105 at BugSenseSample.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options) [0x00031] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/AppDelegate.cs:46 at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 at BugSenseSample.Application.Main (System.String[] args) [0x0] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/Main.cs:17 [ERROR] FATAL UNHANDLED EXCEPTION: MonoTouch.Foundation.You_Should_Not_Call_base_In_This_Method: Exception of type 'MonoTouch.Foundation.You_Should_Not_Call_base_In_This_Method' was thrown. at BugsenseLib.BugSenseCrashController.SharedInstanceWithBugSenseAPIKey (System.String APIKey) [0x0] in filename unknown:0 at BugSenseSample.BugSenseSampleViewController.ViewDidLoad () [0x6] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/BugSenseSampleViewController.cs:37 at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr) at MonoTouch.UIKit.UIWindow.MakeKeyAndVisible () [0xb] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIWindow.g.cs:105 at BugSenseSample.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options) [0x00031] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/AppDelegate.cs:46 at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 at BugSenseSample.Application.Main (System.String[] args) [0x0] in /Users/marcosl/Projects/SampleProjects/BugSenseSample/BugSenseSample/Main.cs:17 Thanks Best Regards, Orlando On Tue, Jun 5, 2012 at 9:32 AM, Orlando Silva orlando.si...@cardmobili.com wrote: Ok, Thanks for your help, i will try to do that :) if i have any doubt i will post it here. Best Regards, Orlando On Mon, Jun 4, 2012 at 9:56 PM, Nic Wise n...@fastchicken.co.nz wrote: I've not heard of it, but it's only got 5 methods (and one macro, which just does a nice wrapper around one of the calls) and one class. Should be do-able based on the docs on the Xamarin site. http://docs.xamarin.com/ios/advanced_topics/binding_objective-c_types On Mon, Jun 4, 2012 at 11:03 AM, Orlando Silva orlando.si...@cardmobili.com wrote: Hello, I would like to integrate BugSense with my Monotouch app, has anyone already tried to do that? They just provide their sdk in objectice-c - http://www.bugsense.com/docs/ios BugSense link: http://www.bugsense.com Thanks, Best Regards, Orlando -- Orlando Silva Developer M: +351 935 508 882 CardMobili| www.cardmobili.com | www.cardmobili.com/corporate | www.facebook.com/cardmobili | http://twitter.com/cardmobili DISCLAIMER: This message may contain confidential information or privileged material, and is intended only for de individual(s) named. If you are not in the named
Re: [MonoTouch] Checking local network availability
Hey, not 100% sure I know what you're asking here, but I'll take a shot 1. Apple basically requires that your app doesn't crash. They will test on a device without network, and if it crashes (because of bad code, or startup time exceeds the 10sec limit) they will fail your app. So: you need to do some quick stuff to get your app started-up and displaying something, and kick off something in the background to check network availability. Show a message about requiring network connection if it fails (eg. even App Store does this http://twitpic.com/9twli1 ) 2. Check at least on startup and whenever the app comes to the foreground (they may have gone off to Settings to enable the network, then returned to your app!). There is a Reachability.cs class that you can use, which is based on a Apple sample (SO refs follow) http://stackoverflow.com/questions/1961341/check-for-internet-access-with-monotouch http://stackoverflow.com/questions/5081178/how-to-use-miguels-reachability-classes it is implemented in the MWC sample app https://github.com/xamarin/mobile-samples/tree/master/MWC HTH -craig On Thu, Jun 7, 2012 at 4:41 PM, rnendel11 rnende...@gmail.com wrote: Quick questions 1. What are the apple requirements for checking WiFi availability (local networking) on startup? 2. What is the best way to determine if a local network is available at startup (assuming I only need to check at startup)? App background The app leverages web services, but only for community sharing features - fundamentally, the app leverages local networking for primary operations. Thanks! -- View this message in context: http://monotouch.2284126.n4.nabble.com/Checking-local-network-availability-tp4655233.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