December 23, 2009 by russellf9
Tags: confusion, errors, Objective-C
Posted in Objective-C | Leave a Comment »
December 23, 2009 by russellf9
Introduction
As a Flash AS3 Developer who has started developing for the iPhone, I’m very interested in finding information from developers who are on a similar learning curve. I’m confident in using MVC, specifically the PureMVC framework.
There are significant similaraties and difrences in AS3 and iPhone Developemnt.
AS3 and Cocoa touch
Cocoa touch relies on an MVC framework, the iPhone SDK uses a ‘wizard’ similar to Flexbuilder, the syntax of Objective-C is somewhat diffrent to AS3 dot syntax, Objective-C uses Dynamic Typing and means (some) errors can only be checked on runtime, whilst AS3 can Static Typing, which means errors can only be checked on compile time.
Flash to Cocoa touch blogs
Other developers who have gone through a simialr process and have blogged their findings. Anton Mills has some interesting posts, and Nick Kuh too.
Nick has a great video clip ‘…on the differences between OOP programming languages such as ActionScript 3 and Objective-C‘
Donald Bellenger lists some handy ‘migration points‘ on his post AS3 to Objective-C Cocoa Touch. There are some good points on TypeCasting and Static Methods.
Tags: AS3, iPhone, Objective-C, cocoa touch
Posted in AS3 | 1 Comment »
December 11, 2009 by russellf9
As I’m interested in creating my own iPhone app, I’ve researching which type of app sells and which app of each genre is a good seller.
Sales figures do not appear in the iTunes App store but the number of reviews do. There’s a method to questimate the number of sales from the number of reviews. See Guess sales figures. This method suggests a review to sales ratio of 350:1, that is 1 review would equal 350 sales.
The responses to Peter Melnikov’s post seem to agree to the ratio with some reservations and exceptions, so until a better method is found I’ll use his!
I’ve stumbled across a site apptism which tracks iPhone apps, it does not include sale figures, but amongst other things the site lists the top apps.
Posted in Uncategorized | Leave a Comment »
December 11, 2009 by russellf9
Programming Books
iPhone SDK
I’ve just aquired iPhone 3.0 SDK Development, and thought I should put a good list of iPhone SDK books on my blog.
Tags: books, Debugging, iPhone, iPhone SDK, prorgamming, SQLite
Posted in books | Leave a Comment »
December 3, 2009 by russellf9
I’m very interesting in rationalizing the number of tools and packages used to writing code. Eclipse is my favoured IDE, and for some time I’ve been intereseted in finding a decent plugin to make writing Javascript, HTML and XML easier within Eclipse, rather than using Dreamweaver or UltraEdit.
I’ve found RockStar Optimizer and am currently testing it to see if it’s fit for purpose.
Th plugin can be downloaded via Eclipse, the instructions can be found here: Installation Instructions
Instructions for using the for Javascript part of the Optimizer can be found here: JsLint Eclipse Plugin.
Interestingly the Validator was developed by Douglas Crockford the author of JavaScript: The Good Parts.
It seems the JsLint Plugin is a Validator, rather than a IDE extension like FDT.
I’m also looking at JSEditor, which maybe a little old for my Eclipse, but it promises syntax highlighting and OO aproaches.
The Eclipse Web Tools Platform (WTP) has made JSEditor redundant, installation instructions can be found here.
(Although I’m having trouble adding a new repository with Eclipse, and my have to resort to dowloading the zips.) Also, there a lot of Required Prerequisites so it’s taking bit of time to do!
Tags: ECLIPSE, IDE, javascript, JsLint, plugin
Posted in ECLIPSE | Leave a Comment »
December 2, 2009 by russellf9
Working on a French Flash activity, I had problems displaying certain French characters:
OE Upper Case ligature Unicode 0152
oe Lower Case ligature Unicode 0153
Ÿ Upper Case diaeresis Unicode 0178
With a normal (8-bit) font these characters cannot be displayed, so I created a Method in a Class StringUtilities to replace these characters with alternatives.
—
—
public static function replaceFrenchLigatureCharacters(text : String) : String {
var len : Number = text.length;
var returnText : String = “”;
for (var i : Number = 0;i < len; i++) {
var char : String = text.charAt(i);
var code : Number = text.charCodeAt(i);
switch(code) {
case O_E_SMALL_LIGATURE :
returnText += “oe”;
break;
case O_E_UPPER_LIGATURE :
returnText += “OE” ;
break;
case Y_UPPER_DIAERESIS :
returnText += “Y”;
break;
default :
returnText += char;
}
}
return returnText;
}
—
—
This is going to be an issue for all non standard characters which belong to the Extended-A_Unicode_block rather than the standard Basic Latin (00 to 7F) and the Latin-1 Supplement (80 to FF) . So I’m sure this issue will raise it’s head again.
Tags: AS3, diaeresis, fonts, French, ligature, StringUtilities, unicode
Posted in AS3 | Leave a Comment »
October 10, 2009 by russellf9
The following, is a list of my favourite iPhone apps
In each item I’ve provided a link to the iTunes store, and link to the Apps maker.
Educational and Children’s:
Language Learning:
Further Lists:
I’ve come accross another iPhone app list which is worth linking to: 50 Helpful iPhone Apps for Web Designers and Developers.
Tags: iPhone, iPhone apps, lists
Posted in iPhone | Leave a Comment »
October 10, 2009 by russellf9
Online resources for iPhone Development
Iv’e been fully enrolled in the iPhone Developer Program, which means I can upload apps to my iPod touch and access the Apple developer site for resources.
The intention of this page is to provide quick links to resources I find useful.
Tags: iPhone cocoa
Posted in iPhone | Leave a Comment »
September 9, 2009 by russellf9
Tags: Documentation, flash, Programming
Posted in AS3, as2 | Leave a Comment »
August 25, 2009 by russellf9
Notes on Starting iPhone Development
I’ve recently begun to learn the iPhone SDK and this post is to record my initial impressions and experiences.
The SDK
The language for writing iPhone applications is Objective-C, I previously heard bad things about the language but after a little confusion I’m getting used to it and it’s seems pretty quick to pick up.
The code is written within Apple’s Xcode, which is a very clean and ordered interface. It also uses a GUI Interface Builder.
Necessary downloads and resources
- Xcode
- iPhone OS 3.0, which provides a simulator
- iPhone Developer Program, this SDK has the ability to download the apps to an iPhone or iPod Touch
Books
I purchased: ‘Beginning iPhone Development: Exploring the iPhone SDK‘, which seems a clear well written book, with decent examples.
iPhone Developer Program Enrollment
To obtain the full iPhone SDK, it is necessary to apply for and join the official iPhone Developer Program.
I’m presently having trouble faxing Apple and am expecting a long wait until I complete the application process.
As an update, the correct fax number from the UK is (including the international dialing code) is:
001 408 974 1053,
just keep trying if you cant get a response.
Conclusion
I’ll create further iPhone blogs as I progress.
Tags: iPhone, Objective-C
Posted in iPhone | Leave a Comment »