John Wang » iPhone development https://www.johntwang.com Tue, 09 Nov 2010 08:01:33 +0000 en hourly 1 https://wordpress.org/?v=3.0.2 Tracking iOS Crash Reports with Hoptoadhttps://www.johntwang.com/blog/2010/11/06/tracking-ios-crash-reports-with-hoptoad/ https://www.johntwang.com/blog/2010/11/06/tracking-ios-crash-reports-with-hoptoad/#comments Sun, 07 Nov 2010 01:17:12 +0000 john https://www.johntwang.com/?p=872 The folks over at thoughtbot have an great web app called Hoptoad to monitor exceptions. They’ve had support for a bunch of languages (PHP, Python, Ruby, etc) and frameworks (Merb, rails, Sinatra, etc) through their API. Until recently, I had been using a product called CrashBucket from the guys over at GUI Cocoa and Two Guys to track my iOS apps crash reports. Thoughtbot has now partnered with GUI Cocoa and Two Guys to bring the CrashBucket functionality into Hoptoad. The result of this partnership is the Hoptoad iOS Notifier and it was just announced on November 5th on Thoughtbot’s blog.

While Crash Reports are available through the iTunesConnect portal, Hoptoad takes it a level further for developers. With the iOS Notifier, the crash reports are broken down by environment. You can also get crash reports for Adhoc app releases. Having these options are great for allowing the tracking down of crashes and bugs during development and beta testing. It’s also great for those In-House apps that never make it to the App Store. That’s the small requirement that iTunesConnect needs show reports.

iOS Notifier

Image from Thoughtbot

Luckily for me, almost all of my apps are a combination of Ruby on Rails3 web apps and iOS apps. This makes it easy to see all of the reports for a bug in one place for both the Rails and iOS errors.

Hopefully Android support is on the way for Hoptoad as well.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2010/11/06/tracking-ios-crash-reports-with-hoptoad/feed/ 0
Review: Kapsoft’s iPhone Application Sketch Bookhttps://www.johntwang.com/blog/2009/09/22/review-kapsofts-iphone-application-sketch-book/ https://www.johntwang.com/blog/2009/09/22/review-kapsofts-iphone-application-sketch-book/#comments Wed, 23 Sep 2009 03:06:44 +0000 john https://www.johntwang.com/?p=748 Designing an iPhone app? The concept isn’t much different from designing a website. At least for me it’s not. The primary process includes sketches that are used in meetings with either team members or clients before jumping into either OmniGraffle or Photoshop. The general idea is to stay away from the computer as much as possible in the initial design process to let creativity flow and not restrict yourself to the pixels on the screen.

If you’ve either taken or watched the Stanford iPhone Dev course from iTunesU (CS193P), then you have heard them constantly enforce the idea of sketching out your app screens and functionality before coding. Those who do web design will likely vouch for the same process. This is where Dean Kaplan saw an opportunity. He has created an iPhone Application Sketch Book.

“I happened to be auditing the Stanford iPhone Programming course,” says Kaplan, “and one of the guest speakers discussed how he went about creating his user interface designs. Paper was one option he mentioned. Almost instantly the notebook idea light bulb went off. Other options of various computer programs were mentioned, but it always got back to paper and pencil. Subsequently, I did my own online survey that revealed designers prefer paper 95% of the time.” – theAppleBlog

The sketchbook contains 100 grid pages with an iPhone designed to scale on it. Each page has it’s own header that allows you to put in the name of the app and the name of the screen. The pages are big. There is ton of free space for taking side notes during group sessions and team meetings. The notebook itself is paperback, plastic spiral bound, and can be ordered from Amazon.com for $14.99.

Q & A with Dean Kaplan

  1. What are your plans for the future of the sketchbook?
    “There will be a huge exciting announcement concerning the book next week. Stay tuned.”
  2. Do you plan on creating a Stencil Kit similar to The Design Commission’s one? Or perhaps making the iPhone on the pages slightly larger to be more compatible with the Stencil Kit?
    “LOL. Are you spying on me? As for size….I guess you are saying size matters. And I’m listening to feedback and it is likely that you “might” see a version that is 1.5X actual very soon. (DC’s stencil is smaller then 1.5x and I don’t think its very useable. )”
  3. Have you considered perforated pages for easier tear-off?
    “I’ve heard the perforated request once before. Not likely on that one. As one reviewer told me he like to tear the pages right out of the book and paste them on the frig.)”
  4. A folder built-in either the front or back cover for keeping materials given from other team members or clients together?
    “I love that idea. It crossed my mind a few months ago. Likely in a future UBER Sketch Book.”

The Good

  • Keeps all your apps and screens together instead of having multiple pieces of paper that can get easily lost.
  • Grid pages are very handy for going from sketching to computer rendering.
  • To scale iPhone keeps you in the restriction of the small space while also reminding you to beware of your font sizes.
  • Cheap. $15! If you’re just getting into iPhone app design, this can definitely help you on your way in keeping your ideas organized.

The Bad

  • Not compatible with The Design Commission has created an iPhone Stencil Kit. Different companies, Can’t really complain.
  • The to scale iPhone on the page is also a bit harder to draw stuff inside it.
  • Since there’s no stencil, you need to keep in mind what you get with the SDK and what needs to be custom made. Thought it’s not that big of a deal.

The Pictures

Final Thoughts

Right now, I’m using a Moleskine Squared Notebook to do my sketches for iPhone apps and other web related work. It’s much smaller than the iPhone sketchbook, but it does allow me to put other thoughts and ideas inside. For what the purpose it was designed for, the iPhone sketchbook delivers and does so very well. Compatibility with the Stencil Kit would definitely put it over the top. The last things that I would like included in the sketchbook, would be a small folder built in and perforated pages. Those are some very small personal requests though.

Special Note: If you order between September 10th and October 10th you’ll be entered to win ONE free ticket to the Voices That Matter iPhone Developers Conference 2009.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/09/22/review-kapsofts-iphone-application-sketch-book/feed/ 1
More iPhone App Developing Resourceshttps://www.johntwang.com/blog/2009/09/17/more-iphone-app-developing-resources/ https://www.johntwang.com/blog/2009/09/17/more-iphone-app-developing-resources/#comments Thu, 17 Sep 2009 19:06:25 +0000 john https://www.johntwang.com/?p=744 The folks over at Fuel Your Apps have created a nice post titled: An Ever Growing iPhone Resource Thread. It’s worth checking out as it will likely be constantly updated to add new content.

Also of interest is the a new sketchbook from Kapsoft called The iPhone Application Sketch Book. I’m currently waiting for my copy of it to come in and then will have a complete review of it.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/09/17/more-iphone-app-developing-resources/feed/ 3
5 More Free iPhone App Development Resourceshttps://www.johntwang.com/blog/2009/07/17/5-more-free-iphone-app-development-resources/ https://www.johntwang.com/blog/2009/07/17/5-more-free-iphone-app-development-resources/#comments Fri, 17 Jul 2009 19:00:25 +0000 john https://www.johntwang.com/?p=701 In continuing with the post 5 Free Resources for iPhone App Development, here are some more resources for iPhone Development.

  1. iphone-exif

    An Exif Tag library editor that enables direct viewing and editing of EXIF Meta Data tags in Jpeg files on the iPhone. The most obvious use is to manage Geo location tags into the image. However, it is also possible to edit any of the Exif tags or add your own that are not in the spec.
    This is really useful for image uploads from the phone for sites like Picasa and Flickr.

  2. json-framework

    This framework implements a strict JSON parser and generator in Objective-C. You get free XML parsing support from the official iPhone SDK, but not JSON support. This is a way to add it.

  3. openssl framework

    It is specifically intended for use in building secure iPhone
    applications alongside SQLCipher (https://www.zetetic.net/software/sqlcipher).

  4. iphone-smtp

    This code implements a quick class for sending one off messages via SMTP on the iPhone.

  5. cocos2d

    framework for building 2D games, demos, and other graphical/interactive applications. It is based on the cocos2d design: it uses the same API, but instead of using python it uses objective-c.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/07/17/5-more-free-iphone-app-development-resources/feed/ 2
Review: Design Commission’s iPhone Stencil Kithttps://www.johntwang.com/blog/2009/06/25/review-design-commissions-iphone-stencil-kit/ https://www.johntwang.com/blog/2009/06/25/review-design-commissions-iphone-stencil-kit/#comments Thu, 25 Jun 2009 20:14:32 +0000 john https://www.johntwang.com/?p=691 iphone_stencil

The guys over at the Design Commission [@designcom on Twitter] have gone and made an iPhone Stencil Kit as a follow up to their popular Website Stencil Kit. Initially they had 1,000 stencils made for sale, but due to popular demand, have since made many many more. I received mine on Monday and have started using it for an iPhone App that I am currently developing.

The details:

The kit costs $16.95 + shipping&handling [Domestic shipping is $4.95 and international is $15] and includes:

  • One iPhone UI Stencil
  • Zebra mechanical pencil
  • 2 Design Commission stickers
  • Downloadable .PDF letter-sized paper template

Using the kit

The kit is really created with the intended use of the printable PDF templates. It doesn’t have a full iPhone body stencil to draw your iPhone on a separate paper. It does do a decent job at half-skeleton of one though. You’ll have to fill in some missing lines yourself. The notable missing seems to be status bar, the section with the wifi, 3G, and battery icon area, not being stenciled. The other small problem I ran into so far is that it’s made of stainless steel. I can’t see what’s under the stencil as I try to approximate the needed spacing between Tab Bar icons. Although, I do need to keep in mind that it’s made of stainless steel to be more durable than plastic and also that I’m making prototype designs to show clients, not finalized work.

Overall, the only real downside I can see, is that you really do have to use a mechanical pencil. The one provided by Design Commission, is a Zebra, which are extremely good. But, if you use a regular #2 pencil, you will likely run into some trouble on some of the smaller stencil bits, requiring you to constantly sharpen your pencil tip. Other than that, it’s a really great addition to any iPhone developer’s arsenal.

Now of course, this is all for paper prototyping. And if you have been following Stanford’s CS193P iPhone Programming class on iTunes, Steve Marmon discussed the importance of paper prototyping for iPhone App design in his lecture How to Build an iPhone App that Doesn’t Suck [iTunes link.]

If you prefer digital prototyping, Balsamiq has updated their software to include iPhone designing, and  in my previous post: 5 Free iPhone Resources, I have links to Omnigraffle, Adobe Fireworks, Photoshop, and Illustrator stencil kits.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/06/25/review-design-commissions-iphone-stencil-kit/feed/ 9
5 Free Resources for iPhone App Developmenthttps://www.johntwang.com/blog/2009/06/09/5-free-resources-for-iphone-app-development/ https://www.johntwang.com/blog/2009/06/09/5-free-resources-for-iphone-app-development/#comments Tue, 09 Jun 2009 19:00:36 +0000 john https://www.johntwang.com/?p=669 Joe Hewitt's Three20 Project

Joe Hewitt's Three20 Project

With Apple’s WWDC currently going on and the upcoming 3.0 iPhone OS getting closer to release, there are tons of new developers jumping onto the platform. Whether you’re a new developer or have been developing for a while, here are some great free resources for designing and developing your iPhone Apps.

  1. Google Objective-C Data APIs

    Google generously provides a large set of their APIs in Objective-C for both Mac and iPhone development. These APIs include:

    Check out my previous post on How to add the Google APIs to your iPhone App project.

  2. Joe Hewitt’s Three20 Project

    Joe Hewitt is the developer behind the popular Facebook iPhone App and the Mozilla Firefox plugin Firebug. He’s created a new projected called Three20, which is a collection of iPhone UI classes, like a photo viewer, and general utilities, like an HTTP disk cache. The project and instructions on getting it into your iPhone App project are hosted up on GitHub.

  3. iPhone Photoshop PSDs

    It’s always a good idea to start with a design before you start developing your iPhone App. It’s also easier to show a potential client a PSD mock-up of the app before doing actual development even though Interface Builder makes it an easy process. Here are a few Photoshop PSDs to get you going.

    Note: If you are planning on using these for making an iPhone Apps website, make sure either you or your client has gone through Apple’s Available on the iPhone App Store logo license program to avoid any legal issues. This can be found in your Apple Developer Connection Program Portal’s Distribution -> App Store tab.

  4. OmniGraffle Stencil Kits

    If you’re on a Mac and use Omni Group’s OmniGraffle for wireframing or mindmapping web design, you can do the same with iPhone apps.Here are 3 iPhone Stencil sets for OmniGraffle. Also, Yahoo!’s set can be found on the Yahoo! Developer site with stencils for many other things and also in makes them available in Photoshop PSD format.

  5. Glyphish – iPhone Toolbar Icons

    The Glyphish designer has generously put out 80 free icons for use in your iPhone App’s toolbar. These are all free and licensed under Creative Commons.

3 Bonus Resources

  1. Mercury Intermedia’s iPhone UI Vector Elements for Adobe Illustrator.

    Working in Illustrator instead of Photoshop? These free vector elements great for designing.

  2. eddit’s 120 iPhone Toolbar Icons

    While this one isn’t free, it is a really good and worthwhile one. Eddie Wilson over at eddit has created 120 iPhone Toolbar Icons for sale at $69. If you want the vector format, it’ll cost you a pretty $189 for the PSDs.

  3. Open Source iPhone Apps

Have I missed any others? Do you have any more free resources? Please feel free to share them in the comments!

Edit 6/23/09:

An additional Adobe Fireworks set of UI elements has been found thanks to Building43.

Fireworks toolkit for creating iPhone UI mockups by MetaSpark

Also check out Building43′s video on designing iPhone Apps with Adobe Fireworks.

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/06/09/5-free-resources-for-iphone-app-development/feed/ 30
How To Use Google APIs with iPhone SDKhttps://www.johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/ https://www.johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/#comments Mon, 08 Jun 2009 19:00:07 +0000 john https://www.johntwang.com/?p=644 Adding Google API support to your iPhone App could not be any easier. Google provides Objective-C APIs for:

Step 1

The first step, is to head on over to the Google Code website for the Objective-C Client, download and extract the zip file source code. Alternatively, you can get the latest and greatest version via Subversion using:

 svn checkout http://gdata-objectivec-client.googlecode.com/svn/trunk/ gdata-objectivec-client-read-only

If you downloaded the zip file from the website, you’ll have version 1.7.0, and if you used the svn code you’ll have a -read-only folder.

Step 2

Open up the GData XCode Project from your downloaded folder as well as your iPhone App XCode project.

extracted

Step 3

Drag over the GData Sources Folder from the GData project to your iPhone App project and add it as reference [don't check the box for Copy items into destination group's folder (if needed).] You do not need to copy over all the files into your project. You can, but it’s not required.

to_drag

copy_reference

This will add a ton of files to your project. You may delete the APIs you are not planning on using, but make sure that the files GDataXMLNode.m and GDataXMLNode.h in the Common/Optional/XMLSupport group are not removed from your project as they are required for iPhone builds.

files

Step 4

Open up the build settings for your iPhone App project. Located and set the following settings.

  • Header Search Paths: /usr/include/libxml2
  • Other Linker Flags: -lxml2

For the Debug build configuration only, add the Other C Flags setting so that the library’s debug-only code is included:

  • Other C Flags: -DDEBUG=1

build

Step 5 (Optional for iPhone 3.0 Beta SDK)

If you downloaded the zip file version (1.7.0) of the API, you will also run into this error message when you attempt to first build your iPhone App project:

...Source/Networking/GDataHTTPFetcherLogging.m:224: error: 'NSTask' undeclared (first use in
...Source/Networking/GDataHTTPFetcherLogging.m:224: error: 'task' undeclared (first use in this
function)

Error Message

Apple has removed the NSTask from the Foundations Framework in the iPhone 3.0 SDK. In order to fix this, simply open up the GDataDefines.h file, find the developer section and add:

#define  GDATA_SKIP_LOG_XMLFORMAT 1

gdefine

Note: This fix is only needed if you downloaded version 1.7.0 of the GData Objective-C API and are using iPhone 3.0 Beta SDK. If you downloaded the latest Subversion read-only trunk of the code or are using iPhone 2.2.1 SDK, you do not need to do this.

Step 6

At this point, your iPhone XCode project should build successfully and you can begin using the Google APIs by simply importing the appropriate header files. ie.

#import "GDataAnalytics.h"

Step 7 (Optional if downloaded GData version 1.7.0 Zip file)

If you downloaded the zip file version (1.7.0) of the API, you will be missing the Analytics API. That has not yet been zipped up for the download. You may want to download those separately.

Additional Resources:

Share the Love:Digg del.icio.us Facebook StumbleUpon Design Float Reddit DZone FriendFeed Twitter email Print

]]>
https://www.johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/feed/ 25