monotouch

Robust DateTime parser library for .NET

Hello, I am writing an RSS and Mail reader app in C# (technically MonoTouch). I have run into the issue of parsing DateTimes. I see a lot of variance in how dates are presented in the wild and have begun writing a function like this: static string[] DateTimeFormats = new string[] { "ddd, d MMM yyyy H:mm:ss \"GMT+00:00\"", "d MM...

Where is ~/.config/MonoDevelop/ for MonoDevelop

I'm using Mac Snow Lepord and can't find "~/.config/MonoDevelop/" for the life of me. I have MonoDevelop (v2.2.2) up and running already, but when I tried to set up a template the IDE started having problems. Namely, whenever I went to Monodevelop -> preferences-> Code Templates I would get an error saying "Argument cannont be null". I...

Statistics regarding MonoTouch usage?

Just wondered how many application are written with MonoTouch and published in App Store? Is MonoTouch ready to be used in production? What other statistics do you know regarding this tool? ...

monotouch iPad - Convert exisiting iPhone project?

I have an existing iPhone project in MonoTouch 1.9 running on MonoDevelop 2.2.1. How do I get it to open in the iPad simulator and how do I convert the project so that it only runs on iPad? ...

Can't run MonoTouch App

Hi guys, This is not a really Programming Question, but please bear with me as it's related to the IDE that we use to develop and I'm really Stuck! :( Every time I create a project (can be an empty project) I get the message above when pressing Run or Debug. I have no Web Servers running the Web Share is off, the Zend Server as wel...

Problem using System.Xml in unit test in MonoDevelop (MonoTouch)

When I have a unit test that requires the System.Xml or System.Xml.Linq namespaces, I get the following error when I run the test: System.IO.FileNotFoundException : Could not load file or assembly 'System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Things I've v...

How to change X and Y of a button

I'm using MonoTouch. When I rotate to LandscapeRight/Left I want to change the location of some of my buttons but I'm not having any success. I'm replacing the button.Bounds with a new rectangleF and setting that value in the WillRotate, but that's not working. I am returning true in my ShouldAutorotateToInterfaceOrientation handler. I...

Three20 monotouch/btouch examples?

Hey Does anyone know of any examples or tutorials working with the three20 btouch dll? I have no idea where to start! w:// ...

MonoTouch - Upload/Save image (or access Gallery images)

I'm a musician and I'm writing a small app for my own use on the iPad: I want to store my scanned music sheets (saved as .TIF files) on the iPad, and create set-list, search by artist, song title, do some filtering, etc... with the app. How can I upload images to my app directory (or saved from a website, I have a website that store tho...

How to add another subview to a NavigationController view

I have a window and add a navigation controller's view to it, all I want is for the navigation controller's view to take half of the window (top half) and want to add another view to bottom half. I'm trying to set the frame for navigation controller's view, but 0,0 is the topmost point on screen (doesn't count the iPhone's status bar). I...

MonoTouch iPad iTunes Submit - Beta?

Using MonoTouch 2.0 and MonoDevelop 2.2.2 I created an iPad app. It is set to the 3.2 OS When I submit the app it says that this binary was created with a beta version. I have the newest XCode/SDK ...

Issue with UIImage files not being found on phone

Note: Using Monotouch. I have a directory called Images where I have all my PNG files. In my code I have the following _imgMinusDark = UIImage.FromFile("images/MinusDark.png"); On the simulator it runs fine, on the phone it's null. I have the Images folder content (all the PNGs) in my MonoDevelop marked as Content in terms of Build Act...

Retrieving a pixel alpha value for a UIImage (MonoTouch)

This question is a duplicate of 1042830, but MonoTouch-specific. Is there a way that's safer than allocating an IntPtr, drawing into it using CGBitmapContext and then reading bytes at the appropriate offset? ...

SIGABRT error when running MonoTouch application

I'm new to MonoTouch and more times than not, when I try to run my MonoTouch app on the iPhone simulator (debug mode and regular), I receive a long error output that begins with the following message: Error connecting stdout and stderr (127.0.0.1:10001) Couldn't register com.yourcompany.[appnamehere] with the bootstrap server. Erro...

Is MonoTouch now banned on the iPhone?

A recent post by John Gruber notes that the following legalese: 3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Has been revised as follows: 3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call ...

NSUserDefaults in monotouch

I'm very impressed with MonoTouch.Dialog by Miguel. inspired by his simple approach I thought it would be very nice to have a reflection based NSUserDefaults class that works seamlessly by marking certain properties as "persistable in user defaults" and forget about the rest. something like this: public class SomeController { ...

IoC library compatible with MonoTouch?

Still getting familiar with the limits of MonoTouch. Is there an IoC/DI library that can be used with MonoTouch. Something like Ninject ideally? ...

Compile C# into objective-C

Now that monotouch is banned, I was wondering if there is a way to translate C# (or some other language) into Objective-C? I won't mind using Apple's API as long as I don't have to declare my variables in 3-4 stages (ivar-property-synthesize-dealloc). All I want is a less wordy language, to concentrate on my intent and not on the compile...

Suggestions for entering mobile development -- pure iPhone SDK, Android SDK, Mono Touch or Titanium ?

I am entering mobile development. I have been working primarily in .NET since 1.0 came out in beta. Before that, I was mostly a C++ and Delphi guy and still dabble in C++ from time to time. I do web apps quite a bit so I am reasonably proficient with Javascript, JQuery and CSS. I have also done a few Java applications. I started web...

Resize UITableViewCell to show image at maximum size

I want to show some images and text in a UITableView. But when I add the image to its UITableViewCell it breaks the layout and overlaps with the next Header. How can I set the size of the cell containing the image, so that the layout doesn't get broken? I found some ObjC-Code which suggest this can be done by using heightForRowAtIndex...