Subscribe

Entries in iphone (3)

Tuesday
02Feb2010

Why the iPad is relevant to developers

A lot has been said about the iPad in the week since Steve Jobs unveiled it to the world at the Yerba Buena Center for the Arts in San Francisco. The response has ranged from jubilation from those who consider the device a must have all the way down to disdain and utter contempt from those who were somehow hoping this companion device would be able to replace their laptops. While I understand both camps (and everyone in between), I’m not going to voice my allegiance to either opinion.  To be honest, I’m actually somewhere in the middle. I would much rather discuss how important this device is to the already thriving iPhone ecosystem and why you will want to develop for the iPad.

Without divulging any specific iPhone 3.2 SDK details (and thereby breaking my NDA), I can tell you that the new APIs and features present in the SDK are very exciting. Some of them are iPad specific and others will probably be available for iPhone development some time in the near future. If you have been doing any iPhone development, you are already familiar with the tools, languages, and concepts necessary to program for the iPad. From what was shown in the iPad event, it is clear that the applications that are possible for the iPad are much more robust than anything we have seen or created for the iPhone. The split pane and popup menus provide the ability to do a lot with the copious screen real estate the iPad offers. I don’t want to spend too much time talking about the SDK because I can’t do it justice without breaking the NDA. Just suffice it to say that if you haven’t looked at it yet, you really need to. It’s exciting.

As for the hardware, I think the story there is pretty phenomenal too.  The larger screen will allow developers to create applications that are much closer to desktop functionality than the much smaller iPhone screen currently allows.  The Apple A4 processor (which is apparently based on the same ARM Cortex A9 as the Nvidia Tegra chip) appears to be very snappy which should allow for a smooth user experience.  The accelerometer is there in full force and there are speakers and a built-in microphone.  There is GPS capability in the 3G models.  This opens the door for some fantastic GIS applications. 

One last thing that is easy to overlook from a developer’s perspective is the financial impact of this device.  The people that will buy this device will buy your applications if they add value to their iPad experience.  They had the funds to purchase the device at a minimum entry point of $499 so it is almost a given that they will be willing to plunk down some money on your well written apps.  It would be wise to not leave them hanging.

So, there’s my take on the new device.  I, for one, am beginning development on my first application and hope to have it ready by launch time.  I encourage all developers to follow suit.  We are what will make this device a must have.

Sunday
20Sep2009

Getting started with MonoTouch

MonoTouch is a new framework from Novell for creating iPhone applications using C#.  Since some of the concepts of developing for the iPhone platform will be foreign to the .NET developer, I thought it would be a good idea to create a screencast that eased them into the process.  Since a lot of .NET devs will be new to the Mac, I have tried to make as few assumptions as possible with regards to the your comfort level and proficiency with Mac OS X.

In this screencast, I will walk you through installing Mono (the open source cross platform .NET implementation), MonoDevelop (an IDE), and MonoTouch.  Once everything is installed, we will develop a "Hello iPhone" application.  Throughout the process of developing this application I will introduce you to core concepts of MonoTouch as well as familiarize you with Interface Builder (Apple's tool for creating iPhone interfaces).

Getting Started with MonoTouch : click to view screencast

I hope this screencast helps get you up and running creating awesome iPhone applications using C#!

Note: The link to the web client for the IRC channel is actually on the Community page, not the Support page at monotouch.net.

If this screencast helped you, consider "touching" is to promote it at MonoTouch.info by clicking the "Touch it" button below and "kicking" it to promote it at DotNetKicks.

Touch It

kick it on DotNetKicks.com

Friday
18Sep2009

UITabBarController - Xcode and MonoTouch

This two part screencast will walk through an example of creating a UITabBarController and adding a custom UITableViewController to it in both Xcode and MonoTouch.  I have tried to highlight the similarities and differences between the two frameworks/IDEs.

Having the option of creating iPhone applications in C# is intriguing and with the right project needs it could be a lifesaver.  While parts of the process are still a little rough around the edges, this is still an exciting project to follow/get involved with.

Part I: Creating the app in Xcode with Cocoa - click to watch

Part II: Creating the app in MonoDevelop with MonoTouch - click to watch

Also, here is the uitvc code template that was used to create the UITableViewController subclass: uitvc.template.xml  You will need to add this to ~/.config/MonoDevelop/templates/code (choose "Go to folder..." from the Finder menu and paste the directory to find it) and restart MonoDevelop. (Note: If you don't see templates/code in ~/.config/MonoDevelop, go to Preferences in MonoDevelop and click on Code Templates under Coding.  This should populate this directory.  You don't need to do anything else here, just close Preferences and follow the instructions above to add the file to the ~/.config/MonoDevelop/templates/code directory.)

UPDATE: I fixed the IntPtr constructor in the uitvc template.  It did not correctly pick up the name of the TableViewController subclass.  This new version should fix that.

If you have any questions, please visit http://monotouch.net.  Join the IRC at irc.gnome.org channel #monotouch.

Click the "kick it" link below to promote this story at DotNetKicks if you found this story helpful.

kick it on DotNetKicks.com