Print PDF
Core Plot Graphs

Managing Core Plot Graphs in iOS

This post gives an overview of how Core Plot graphs are managed in Niftybean's MyWorth personal net worth finance app for iPhone and iPod Touch.  Some familiarity with the Google Code core-plot project is assumed.  I cut my teeth on Core Plot with MyWorth and our use of the framework is not overly complex - the first version of this app displays either a 30 day graph or 12 month graph of the user's historical net worth.

Apart from the quality of the Core Plot libraries, other excellent factors for newcomers are the great documentation (especially the High Level Design Overview) and the high level of activity by Drew McCormack (the project's owner) on the coreplot-discuss group.  I would recommend anyone looking at adding graphs to Objective-C apps consider this project.

Read more...
 
Print PDF

Moving to TouchTech

I'm excited to announce that I've just joined TouchTech, a Wellington-based mobile development company. TouchTech was orignally formed by Adrian Falvey and Adrian White in May 2010.  I met both Adrians several months ago and since then we've talked about offering mobile development services from a company instead of as independent developers.  We are really enthusiastic about pooling our skills and working together.

Niftybean will emphasize it's one-man-band-ness and probably change focus to be more of an extension of what I'm up to.  I can easily imagine more varied blogging for example...

All new work will be through TouchTech, so the Niftybean site will become home for personal projects and apps (like iSpeechCards or MyWorth) - who knows, there may even be more apps on the way, I have plenty of crazy ideas that are begging to be implemented.


   
Print PDF
Interface Builder Elements

Rotating UIPickerView between landscape and portrait orientations

One of the UI improvements in the first update of Niftybean's index cards app iSpeechCards is support for both landscape and portrait orientation when editing card content.  When editing a card's duration there's a custom UIPickerView displaying hours and minutes.  This picker is positioned at the bottom of the screen and also scales and stretches in landscape.

Here's the simplest way I've been able to achieve this using Interface Builder layout and minimal code in the view controller. For this example I'm using a UIDatePicker but any UIPickerView will work.

The quick solution

Use this quick solution if you don't mind the UIPickerView height staying at the default 216 px.

  1. Create the elements and hook them into your code using IBOutlet
  2. Support both orientations in the view controller.
  3. Adjust the resizing mask in viewDidLoad:
Read more...
   
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »

View in the App Store



Niftybean Blog


Subscribe

Contact Us

Contact Us

Email us or reach us using details below

  • Address:
    PO Box 11463, Manners St Central, Wellington
  • Tel:
    (64)-4-478-2968


NZiPhone.com

iphonewzealand.co.nz

Search site

Login