Cheat Sheet: From C# to iPhone

by Jon Davis 30. November 2008 20:55

I'm piecing together this cheat sheet. It's incomplete, and possibly less-than-fully-accurate in places, but I'm adding and editing as I go. If anyone who knows both C# and Obj-C has any suggestions for changes or additions please let me know.

On the left is "iPhone / Obj-C" and on the right is "C#/.NET understanding / equivalence".

Here's the Excel file (so far): iPhone_from_dotNet.xls

Click on the image to go to the full size version.

Currently rated 3.0 by 12 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

C# | iPhone | iPhone | Software Development | Software Development

Book: Beginning iPhone Development

by Jon Davis 30. November 2008 20:05

I've made a couple false-starts in learning iPhone development, but this time I'm not finding myself sputtering to a halt. In fact, I'm having a blast.

This weekend I'm reading through this book:

Beginning iPhone Development: Exploring the iPhone SDK

.. and I've posted the following review:

When this book arrived, and I saw the book cover, I knew I got something different. Not a cookie-cutter book but an original piece of work where somebody really intended to teach something.

I just got this book a few days ago and with this 4-day Thanksgiving weekend and living alone I have been having a blast focusing just on this book. I haven't read through it all yet, still just a quarter of the way through, but I'm not trying to cram. This book does exactly what I want a book to do (as opposed to an online reference resource): stop and talk about every little thing that is really useful to know in the workflow of applications programming on an iPhone.

These guys know how to write. They don't leave the reader with presumptuous word choice and leave the reader hanging; every time they say something it's like they read the mind of the reader, "Now you might be wondering, what about... or why not do ... Well, let's talk about that." Nearly every corner is covered, and where I still have questions it's usually not directly related to the topic, i.e. I have an Obj-C question. Even then, after I return from surfing the web for answers, I return to the book and turn the page and the book says, "You should read up on this stuff at [URL]"... I kid you not, this book had me floored.

Looking towards the latter pages of the book, I can't help but be astounded, thinking, wow, I get to learn about THAT? And in the same style of learning that I've been enjoying so far? This is great!

There are very few errors, mostly just little things that the reader can spot just by paying attention. There are plenty of enough illustrations and tips to keep the reader engaged and constantly learning not just the basics but how to get comfortable in the workflow of iPhone development.

My only disappointment is that the book assumes knowledge of Obj-C, but fortunately it comes with plenty of URLs and references to complete those prerequisites as well, and really, to discuss Obj-C in detail, beyond the rather brief coverage-as-we-go that is indeed in this book, would have been beyond the scope of the book so that's fine.

There's just nothing I can say bad about this book, and everything good. It is by far the funnest technical book I've owned and cracked open in months, if not years.

By the way, coming from a C# background (and Java and VB5/6 before that), lightweight programming of the iPhone is EASY!! It's different, but it's easy, particularly compared to C++ programming which I've had a number of false starts. For me, if I can go from VBScript to VB6 to Java to C#, I can go from C# to Obj-C. Also, the workflow of Xcode + Interface Builder is somewhat analogous to the workflow of Visual Studio + Expression Blend 2 for WPF programming, if indeed event handlers would have been set up in the Blend designer in a drag-and-drop way. I must also add, learning how to develop software in Xcode forces the developer to learn MVC. I don't know why people who are used to Visual Studio programming dislike the MVC-ness of Xcode programming, but I love the change of workflow, and I think there is much to take back with me when I return to C# development.

I'll Get A Zune When ...

by Jon Davis 30. November 2008 02:42

I'll get a Zune when Microsoft admits that the Zune was the backup plan for replacing Windows Mobile, and that they've been taking their time because they wanted to make the transition worthwhile and do app accessibility and multithreading right.

If that's not ever going to happen, I won't ever get a Zune. But who knows what Microsoft will pack into future versions of Zune... I might reconsider.

What I want, as a developer (albeit, a tinkerer, but point being not an end-user), is productivity application support, not just games development support. I'm very happy that XNA now supports Zune, but frankly I don't know who's interested in that except for Microsoft. Now if Microsoft can expand on this API set and make XNA for Zune support productivity applications development as a whiz-bang PDA platform, I'd go super-nuts with it.

More specifically, I guess what I'm looking for is a set of practical, nice-looking, and responsive UI controls, a rich networking stack, an integrated browser API (a la webkit but I guess using IE Mobile), appropriately categorized app accessibility, and the packaging and branding of a small, lightweight device, not a heavyweight song-playing brick. Also need multitouch if XNA 3 doesn't already have it, I haven't checked.

I want these things because I'm still in love with my yester-year's news iPhone, and XNA development just does not compare with iPhone development. iPhone isn't about games, it has never been about games, even though iPhone has an awful lot of games running on it.

And of course I'd be absolutely happy if it went the other way around, if everything on the Zune ended up on Windows Mobile as far as the developer is concerned (i.e. full support for XNA 3), as long as the Windows Mobile UX is still overhauled. I just always hated the Start menu on Windows Mobile, and I LOOOOVE Zune's UX although it's suited specifically for entertainment and not productivity.


 

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Jon Davis (aka "stimpy77") has been a programmer, developer, and consultant for web and Windows software solutions professionally since 1997, with experience ranging from OS and hardware support to DHTML programming to IIS/ASP web apps to Java network programming to Visual Basic applications to C# desktop apps.
 
Software in all forms is also his sole hobby, whether playing PC games or tinkering with programming them. "I was playing Defender on the Commodore 64," he reminisces, "when I decided at the age of 12 or so that I want to be a computer programmer when I grow up."

Jon was previously employed as a senior .NET developer at a very well-known Internet services company whom you're more likely than not to have directly done business with. However, this blog and all of jondavis.net have no affiliation with, and are not representative of, his former employer in any way.

Contact Me 


Tag cloud

Calendar

<<  October 2020  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar