Sunday, June 28, 2009

iDoWebEdit v1.0 on the App Store

Apple recently approved my sixth app for sale on the App Store.
Version 1.0 of iDoWebEdit allows the user to enter HTML, CSS, PHP and
Javascript into a text editor then with a tap of the "Done" button,
preview it in a web page. Any changes to the source code are saved
upon pressing of the "Done" button. Tapping the "Edit" button in the
web preview returns you to the editing page.

Version 1.0 does not support references to separate local style sheets
or JavaScript files.

You can find more information at
http://appshopper.com/productivity/idowebedit

How I designed the app:
1. I used Core Data to save each web page. Check out the following
tutorial to learn more about Core Data:


http://developer.apple.com/iphone/library/documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html

This is a must-read for anyone new to Core Data who will be using
persistent custom objects. (if you don't know what a custom object is,
you need to read My First Blog Post).

2. The app uses 1 UIView and 2 subviews: a UITextView and a UIWebView.
Then, to switch between the two, I implemented a flipView method and
set each subview hidden (e.g.,[theWebView setHidden: YES];) as
appropriate:


[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:1.00];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
UIViewAnimationTransition transition;
transition = UIViewAnimationTransitionFlipFromLeft;
[UIView setAnimationTransition: transition forView:self.view cache:YES];
[UIView commitAnimations];

Who this app is designed for:
1. Experienced developers: Copy and paste code into the text view to
see how your code renders on a small screen. Also, test out web APIs
before integrating them into your mashup.

2. Beginning developers: Test out code in order to learn how the web
languages work generally.

3. All developers: Try out short code snippets while you are on the go
to see how they look on an iPhone.

MORE INFO on developing for Safari on the web:

http://developer.apple.com/safari/library/codinghowtos/Mobile/UserExperience/index.html

http://www.iphonewebdev.com/

http://developer.apple.com/safari/library/codinghowtos/Mobile/GraphicsMediaAndVisualEffects/index.html

http://developer.apple.com/safari/library/navigation/SampleCode.html


David Dobin
Ddobin@gmail.com
301-379-4264

No comments:

Post a Comment