monotouch

slsvcutil.exe Proxy and Interfaces

Is it possible when using slsvcutil.exe to generate a proxy through the command line not to have the proxy file output the Interface in an Asynchronous fashion. For example, if I have a function "foo()" on the serverside in the Interface, when I generate the proxy using Slsvcutil.exe, it makes two functions in the interface definition i...

MonoTouch - foreach vs for loops (performance)

Normally I'm well aware that a consideration like this is premature optimization. Right now I have some event handlers being attached inside a foreach loop. I am wondering if this style might be prone to leaks or inefficient memory use due to closures being created. Is there any validity to this thinking? ...

App using MonoTouch Core Graphics mysteriously crashes

My app launches with a view controller and a simple view consisting of a button and a subview. When the user touches the button, the subview is populated with scrollviews that display the column headers, row headers, and cells of a spreadsheet. To draw the cells, I use CGBitmapContext to draw the cells, generate an image, and then put th...

How does MonoTouch autogenerate XIB code behind?

Hey all, I'm a C# programmer dabbling in a bit of iPhone development using MonoTouch. I add a new View Interface Definition to my project and double click to open it up in Interface Builder. I add a UIButton. I save the file, and inspect the xib.designer.cs file, and I can see no reference to the new button. I downloaded the code fr...

Monotouch Augmented Reality

Hi I'm trying to use the code posted here: http://seanho.posterous.com/monotouch-first-attempt-arkit-c-version however - when i try to overlay it on a camera - it seems to behave really strangely. I'm guess that it's because the camera view only does portrait? Has anyone succesfully used this? Or maybe know's how to get this working...

Monotouch bundle font with binary

Hi If we went and bought a font for use in our app, is it possible to bundle the font and use it inside the app? We're creating apps that need to generate buttons on the fly and need to use a specific font for it. Cheers w:// ...

Resize a UITableView to accomodate a translucent header before it becomes visible

I have a UITableView inside a UINavigationController. The navigation controller uses a translucent navigation bar--as a result, my table view is displayed behind the navigation bar and it's height includes the height of the navigation bar. However, I want the table view to appear below the navigation bar (as it would if it were not tra...

UITableViewController on UISplitView. Why does drill down stay on 1st table? (using monotouch)

I'm using the UISplitView in my app with the left side (popover in portrait) utilizing a UITableViewController. I want to reuse the master table controller so when I want to drill down I create a new instance of the object and push that. However, when I set the data source, all the data goes into the 1st instance table (hope that makes s...

MonoTouch 3.0.6 supports iPhone OS 4 what about legal issues

Now MonoTouch supports iPhone OS 4 with current 3.0.6 version but Apple banned all programming languages beside C/C++/Objective-C. So it is confusing why Novell supports iPhone OS 4 if it is banned? Is there any exception for MonoTouch we don't know yet? I am aware of previous stackoverflow question Is MonoTouch now banned on the iPhone?...

Monotouch embeding a pdf in app

Hi How can I emded a pdf inside my app? Should i just pass the pdfs file url to a web view and let that take care of it or is there a better way/ Cheers w:// ...

Monotouch creating UIViews with using() blocks

When i first started using monotouch i found a page with some code samples for simple and frequent tasks... but on some of those code samples i found some things like this one: var imageRect = new RectangleF(0f, 0f, 320f, 109f); using (var myImage = new UIImageView(imageRect)) { myImage.Image = UIImage.FromFile("myImage.png"); ...

monotouch startup window

just wondering how to set startup window of monotouch application... ...

MonoTouch deploy to iPhone

I have developed a number of apps using MonoTouch, and been using the emulator for the iPhone, now I need to deploy me application to my iPhone for further testing. I have purchased the iPhone SDK from Apple, but I can't find how to deploy and activate the MonoTouch application to my iPhone. Any pointers please? ...

MonoTouch - Fields vs Automatic Properties

Is there a noticeable performance difference when using fields instead of auto properties? What about if I'm deserializing an array of say, 1000 JSON objects with 5 properties each? My iPhone domain model is basically a copy of the DTOs my web app uses for serialization to javascript. They all use auto properties by habit. I'm conc...

Apple push notifications acting weird

Hi When I started coding the notifications, they were handled in one of 2 ways. If the app wasn't open or the phone was locked, the user would get the alert with a "view" button to open the app. if the app was open, the alert was handled in the app delegate. Now that I have deployed the app, if the phone is locked, the user recieves ...

UI Binding Similar to MonoTouch.Dialog

Is there a way to use MonoTouch.Dialog or similar to bind domain objects to Interface Builder / MonoDevelop generated outlets? I love the reduction of glue code but I still want to design my forms in IB for aesthetic reasons. ...

Where can I find good examples for 2d games in MonoTouch?

I searched on mono touch page but there are not much graphics examples. Could someone point me to some introductory graphics in mono touch? Thanks. ...

Array in Monotouch NSUserDefaults

Does anyone know how to store an array in Monotouch NSUserDefaults? One possible method: NSUserDefaults.StandardUserDefaults["Array"] = new NSObject(); But how do I turn an array or list into an NSObject? ...

iPhone Augmented reality with iOS4 obj c + and Monotouch

Hi With the new additions to the OS and the hardware, iPhone apps can now do some serious augmented reality coolness. What are the instant benefots to the obj c crowd? Are there any frameworks to aid in the creation of AR apps for Obj C devs and if so, can they be easily ported to MT with the btouch project? w:// ...

Can I run an ASP.NET MVC2 website with a database from the iPad locally? (iPhone)

I really want to run my test websites from an iPad to show to clients but I don't want to have to rely on the 3g connectivity or wifi. Can I run sites that are compiled from an App or something similar on the iPad? I have seen Mono Touch but I wanted first hand views on this as if I can I'm going to buy an iPad ASAP. ...