Contents tagged with monotouch
-
Building Native User Interfaces is the Right Way To Build Cross Platform Style Apps
I hear a few developers getting down on Xamarin because they are required to:
-
Async & Await in C# with Xamarin
-
What's new in Xamarin and iOS7 - webinar
I recently did an online webinar regarding the new iOS7 and Xamarin. In it, I covered the basics of what is new in iOS7 along with what is new in Xamarin's developer platform. Please take some time and view this webinar. The items that were covered include:
-
Building a UI in Xamarin.iOS
No matter your feelings toward Apple, there's no denying the marketplace likes the iPhone and iPad family of products. You can't ignore them, and because you're reading this column, I thought it would be interesting to look at the options you have for creating a UI with Xamarin.iOS. There are two options I'll look at in-depth:
-
Shrinking an image in iOS with Xamarin.iOS and C#
Images taken with the camera are rather large in the iPhone. How do you shrink them down? I need to shrink them because I am going to send them to a web service and I want to spend as little time as possible in the upload process. While I am not sure that this is the best code, it seems to be working for me. I want to put this out for sharing and if you have a suggestion on how to make it better, please let me know.
-
UIRefreshControl Timeout with Xamarin.iOS
The UIRefreshControl doesn't have a timeout mechanism built into it. Once the refresh begins, the control will display that a refresh is occurring until the .EndRefreshing() method is called. Because we are in a mobile environment, the data may never come back. We don't want to display the UIRefreshControl forever. Solving this problem is actually pretty simple. Setup a timer and when the timer runs, call .EndRefreshing(). Here is some code I used for this:
-
Using the UIRefreshControl with the UICollectionView in Xamarin.iOS
If you have used Twitter on an iPhone, you are familiar with the concept of pull to refresh. When you work with a UITableViewController, there is a .Refresh property that can be used to assign a Refresh Control to. A UICollectionViewcontroller has many similarities. Unfortunately, the .RefreshControl property is not one of them. How in the heck are you supposed to provide the same functionality in the UICollectionViewController? It is actually rather simple, but not documented by Apple. I found this on Stack Overflow and translated it to Xamarin.iOS. The steps are:
-
Article - Create a MapView in Google Maps for iOS
With the introduction of iOS 6 in September 2012, Apple Inc. removed the map system based on Google Maps and introduced its own map system for iPhone and iPad users. The introduction of Apple Maps, like any new technology, came with its own problems.
-
Mapping and Location in iOS and Android at Xamarin Evolve 2013
The following is a link to my talk on Mapping & Location in iOS and Android at Xamarin Evolve 2013. Obviously, the talk is centered on MonoTouch, aka Xamarin.iOS, and Mono for Android, aka Xamarin.Android. In this talk, I cover the native functionality of each platform. In addition, I cover Google Maps for iOS SDK. I hope that you find the talk to be helpful.
-
Xamarin.iOS Visual Studio Plugin Article
Url: http://visualstudiomagazine.com/articles/2013/04/01/ios-development.aspx