[MonoTouch] UIToolBar and Custom UIToolbarItems

2011-11-28 Thread caruso
Hello Everybody Iam New have read much on this Mailing List and hope i can Help you and the other way. I have an UIToolBar and in this you can with the IB create an UIToolbarItem which could be a picture or Text as Custom but i want both. So i thought Text ok, an the image as Backgroundimage i

[MonoTouch] Memory Management with Popover and Views

2011-11-28 Thread Tim Dawson
Hello, I'm fairly new to MonoTouch/iOS development. I'm creating an application that has a canvas from which the user can launch a context menu to inspect items on that canvas. When it needs to be launched, I create a root UINavigationController to handle everything that goes on in the popup, the

[MonoTouch] WriteImageToSavedPhotosAlbum problems saving from camera

2011-11-28 Thread Owen Evans
Hey All, Please see gist here: https://gist.github.com/1387224 essentially, I'm trying to save a photo from the AVCaptureSession, I'm grabbing the output from an AVCaptureStillImageOutput, converting it into a UIImage and trying to send it to the WriteImageToSavedPhotosAlbum method on

[MonoTouch] tabbar more tab

2011-11-28 Thread fsantanac
Hi, i have a tabbar control like the contentcontrol project example. Is this: medicaTabNavController = new UINavigationController(); medicaTabNavController.TabBarItem = new UITabBarItem();

Re: [MonoTouch] MonoTouch support / availability of help

2011-11-28 Thread Alec Tucker
Hi, I'm based in Sydney, with occasional trips to Melbourne. May be heading there early in the new year for a visit. Are you guys all in Melbourne? Alec Sent from my iPad On 26/11/2011, at 9:23, James Darbyshire jamesdarbysh...@gmail.com wrote: Cool. Where are you based? Regards, On

Re: [MonoTouch] dll file not loading for registration

2011-11-28 Thread Sebastien Pouliot
Hello, This is likely because your assembly refers to types that does not exists in MonoTouch base class libraries. That would result in a TypeLoadException at runtime (and in this case the error message you see would be wrong). As a general rule you need to re-compile assemblies to make them

Re: [MonoTouch] Simulator Lockups

2011-11-28 Thread Rolf Bjarne Kvinge
Hi, This is all probably this bug: http://bugzilla.xamarin.com/show_bug.cgi?id=2190 (which has been fixed, but not released yet). Best regards, Rolf On Mon, Nov 28, 2011 at 4:28 PM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: I have the same issue sometimes - the app will just hang

Re: [MonoTouch] Objective-C protocol binding method not invoked

2011-11-28 Thread Rolf Bjarne Kvinge
Hi, If you want to implement several protocols in one class, this is how you have to do it: [BaseType (typeof (NSObject))] [Adopts (typeof (UITableViewDataSource)] [Adopts (typeof (UITableViewDelegate)] [Adopts (typeof (UIScrollViewDelegate)] interface SCTableViewModel { [Export (add:and)]

Re: [MonoTouch] Profiling with Instruments

2011-11-28 Thread Rolf Bjarne Kvinge
Hi, Here is a document with screenshots describing how to get Instruments running: https://docs.google.com/document/d/1oUGGIqSYQjZLLjVLxZKKVJko7_tjwXiEHLLXCDD4_e0/edit Note that it doesn't explain how to use Instruments itself (you can likely find that elsewhere on the web). Rolf On Sat, Nov

Re: [MonoTouch] The equivalence of #ifdef _COREDATADEFINES_H

2011-11-28 Thread Jeff Stedfast
Hi Xy, You *could* use: #if _COREDATADEFINES_H like you suggested, *however*, you'll need to define this value to the same value that was defined when building the Objective-C library that you are binding. Hope that helps, Jeff On Sun, Nov 20, 2011 at 1:17 AM, Xy x...@pyriformgroup.com

Re: [MonoTouch] Objective-C method binding that takes Class param

2011-11-28 Thread Jeff Stedfast
Hi Xy, MonoTouch has a MonoTouch.ObjCRuntime.Class class which binds the objc Class type. This might work for your needs. Hope that helps, Jeff On Sun, Nov 20, 2011 at 2:40 PM, Xy x...@pyriformgroup.com wrote: I need to bind some Objective-C method that takes Class params. If we were coding

Re: [MonoTouch] My projects did not convert for XCode 4?

2011-11-28 Thread Jeff Stedfast
Hi Brian, On Fri, Nov 18, 2011 at 2:09 PM, Brian Schuth br...@alphce.com wrote: No, they are just subclassing UIViewController... but they are also supporting a bunch of custom *interfaces*, might that be confusing things? As a matter of fact, I realize now that they were already subclassing

Re: [MonoTouch] Objective-C method binding that takes Class param

2011-11-28 Thread Jeff Stedfast
Hi Xy, On Mon, Nov 28, 2011 at 6:47 PM, Xy x...@pyriformgroup.com wrote: Hi Jeff, These are Obj-C APIs that take in an object's Class and presumably do reflection to get the object's property values dynamically at runtime. Since we're making the APIs into C# bindings, we're wondering,

Re: [MonoTouch] Objective-C protocol binding method not invoked

2011-11-28 Thread Xy
Hi Rolf, Thanks for the advice, but we're actually not trying to implement this Obj-C class in C#, just provide C# bindings to its APIs. I looked at more code examples, and looks it may not necessary to declare these protocols in C# bindings. So we're going back to the original question: what

[MonoTouch] View rotating best practices

2011-11-28 Thread sisnaz
This is probably a subjective question, but here goes... With everyone's experience out there, what do you find as the best approach to rotate views? (Take away the autosizing option). I've been researching and for the most part understand the pros and cons for repositioning controls vs multiple