Getting Xcode to put opening braces on a new line

April 10th, 2010

By default Xcode (the Apple Developer IDE) puts opening braces at the end of the current line like so:


if ( condition ) {
     // code here...
}

However I have been working on projects for years with a different convention:


if ( condition )
{
    // code here...
}

Of course developers have different preferences here. One is not right and the other wrong – that is dictated by a company or by a project, or by the consensus of the developers starting a new project. Once a convention is in place then it must be adhered to for the life of the project. And of course a decent IDE will work with developers preferences.

So – how do we get Xcode to support this alternate convention? The problem being that there is no UI preference to set this.

To change this preference the quick way:

Open the Terminal App and paste the following code:


defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator "\n"

Then restart Xcode. Thats it.

What does this do? It places a new entry in a plist file that is located in your user Home Directory. Home > Library > Preferences > com.apple.Xcode.plist.

Next time you start coding in Xcode it will autocomplete with opening braces on a new line.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

Apple’s New Tablet – the iPad

January 28th, 2010

Apple iPad

This morning Apple officially released the much-rumoured Tablet they have been working on called the "iPad".

Some specific details:

  • 9.7 inch IPS Display
  • 1024 x 768 resolution at 132 ppi
  • 1.5 pounds
  • 1/2 inch thin
  • Onscreen Virtual Keyboard
  • Custom Apple 1Ghz CPU – the "A4″
  • Comes in 3 sizes: 16Gb, 32Gb, 64Gb
  • WiFi / Bluetooth
  • Optional 3G
  • Assisted GPS on 3G models
  • Appcelerometer / Compass
  • 10 hours battery life
  • 30 days standby
  • Case that doubles as a stand (optional extra)
  • External keyboard dock (optional extra)

The iPad runs all existing iPhone Apps in 2 modes – actual size in center of screen, or full screen using pixel doubling. Developers can also officially support the iPad display natively by developing apps using the new iPhone SDK which will be released later today.

Apple is now moving into the e-book space as predicted. You will be able to purchase "iBooks" via iTunes and read them on the iPad. Apple has made deals with several major book and magazine publishers. Can they do for electronic books and magazines what the iPod and iTunes did for music? Time will tell.

Apple is also releasing a completely new version of iWorks (Keynote, Pages, Numbers), with iPad versions at USD $9.99 each app to be purchased via the App Store.

Initial pricing in USD is $499: 16GB/WiFi, $599: 32GB/WiFi, $699: 64GB/WiFi. Add $130 for 3G.

Apple is expecting the iPads to be available for purchase in 2 months, and 3 months for the 3G models.

You can view a YouTube video of the iPad launch here:
http://www.youtube.com/watch?v=iEiUlf9BAYU

Update: You can now view full details of the iPad on the Apple website.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

moneyStrands – Another Free Budgeting Tool

January 16th, 2010

moneyStrandsI just recently wrote a detailed review of online budgeting software targeted at New Zealanders. And this morning I discovered moneyStrands.

I have not had a chance to play with this much in detail as yet but I have been impressed with every single part of my exposure to this tool so far. The website is fantastic, the software looks intuitive, and the features look very impressive. Comprehensive budgeting, alerts, and reports. Compare your budgets and spending behaviour to the wider community. Budgeting and spending recommendations targeted to you based on your activity history. So new things in here not found in any of the software I have reviewed in the past.

And yes it does offer automatic bank feeds for ANZ, Westpac, ASB, TSB – and maybe others.

Oh wait – and there is a native iPhone app for moneyStrands that at first glance is one of the nicest looking iPhone apps I have seen.

Looks like Mint.com for New Zealand may have arrived. In fact one reviewer said:

When put head to head with its competitor, mint.com, we believe that moneyStrands is a more complete personal finance app and much more user-friendly.

Stay tuned for a more detailed review in the future – I am off to have a play…

UPDATE: I have now spent some time in moneyStrands. It is a nice start, but a few key features are missing such as recurring budget items, being able to see upcoming bill payments, and any type of forecasting. It is basically a ASB "Track My Spending" on steroids. If you want to be able to categorise your spending and compare your budget to a wider community then moneyStrands is for you. If you need more functionality (as I do) then you should be looking at tools such as Buxfer, PocketSmith and others that I reviewed in my last post.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

Online Budgeting Software for New Zealand

December 30th, 2009

Recently a good friend asked me if I had heard of "Mint.com" – which turned out to be a free online budgeting tool. I hadn't heard of it, and further investigation into the topic of personal finance management software opened a whole new world to me. I had no idea that there were so many online tools out there to help us with personal finance, and many of them are free.

In the wake of the recession, and acknowledging that most New Zealanders are not the best at managing their personal finances, I frankly cannot believe how little attention these tools have received.

And so I thought I would share some of my findings – with my primary focus on tools that are relevant to New Zealanders.

There are six tools that I will highlight:

  1. PocketSmith
  2. Xero Personal
  3. ANZ MoneyManager
  4. Buxfer
  5. ASB Track My Spending
  6. Kiwibank heaps!

Why is Mint.com (mentioned at the outset) not on this list? Mint is probably the most widely known and popular tool in this area, but not in New Zealand. Mint requires automatic feeds of transaction data from banks before you can use their software – and they have not enabled support for any New Zealand banks yet for various reasons. With their recent takeover by Intuit (who make Quicken) who knows how long it will be before they look at supporting New Zealand.

I should also mention at this stage that each of the tools I am reviewing support transaction files from New Zealand banks. Some via manual import. Some via additional tools like a Firefox plugin to automate the process of exporting and importing data from your Internet Banking website. And yes, some do offer automatic transaction feeds from the bank.

Automatic transaction feeds are of course the ideal world, but traditionally online budgeting tools have not integrated with New Zealand bank feeds. But that is changing. You will find that one or more of the tools I review offer automatic transaction feeds for ANZ, ASB, BNZ, Kiwibank, Westpac, National Bank and TSB. I would recommend however that you do not limit your personal review of these tools to only those that offer automatic data feeds for your bank. Each of these tools are quite different in how they approach the problem of budgeting and personal finance. The basic concepts are of course the same, but I suggest you look at each one to see which interface and approach seems most logical and appealing to you.

So, on with the reviews…

PocketSmith

Price: Basic: Free, Premium: NZ$8/month, Super: NZ$19/month

NZ Bank Feeds: None

Based in Dunedin, New Zealand, PocketSmith was launched in 2008 and is very popular. The secret to PocketSmith is its focus on budgeting events around your calendar, a familiar and intuitive interface to most users. By entering in your current, future and recurring financial events, PocketSmith can start to forecast and predict your spending and financial position at any point in time.

PocketSmith supports manual imports of OFX, QIF, or CSV files from your bank. It can then match your planned spending against your actual spend – allowing you to closely monitor your spending behaviour and learn from it.

One feature I really like about PocketSmith is ability to set goals – for example "Save $1000″ or "New Suit $500″. PocketSmith will tell you how long until it will be until you can afford the suit, or until you achieve your goal based on scheduled spending.

PocketSmith also offers optimised interfaces for the iPhone and any device that supports the Opera Mini browser.

PocketSmith Website: www.pocketsmith.com

Xero Personal (Coming early 2010)

Price: Unknown, estimates are less than NZ$5 per month

NZ Bank Feeds: BNZ initially, other banks to follow

Put your hand up if you have not heard of Xero? Xero was launched in 2006 and is one of the fastest growing online companies in New Zealand. Their primary focus has been on online accounting software for small businesses, and they have been very successful in this area. The good news is that Xero is currently building a new package, "Xero Personal", that is to be released "early 2010″. You can read the press release here.

What will Xero Personal offer in terms of functionality? Let Xero answer:

"In terms of what the software does, we wanted to go past the initial hit of just classifying transactions and seeing the depressing reality of what you spend your money on. We want to create a new service that people use each week to set their goals and track progress. We want to change how people save and how they act with their money. All of us were blown away when our interaction team walked us through the early designs several months ago. We think we’ve built a tool that people will enjoy using again and again."

Not very specific, but looking over the main Xero software certainly gives us an idea of what they can achieve. I am looking forward to seeing what Xero Personal will offer when it is released – but the reality is that I bank with ANZ, so the lack of automatic transaction feeds from ANZ will be a show-stopper for me in the short-term.

You can get notified when Xero Personal is released by registering your interest: http://www.xero.com/personal/

ANZ MoneyManager

Price: Free

NZ Bank Feeds: ANZ, ASB, Westpac, TSB, National Bank

ANZ MoneyManager was launched in Beta in October 2008, and went live in February 2009.  OK so this one blew me away when I found it. I could not believe the functionality offered, the fact that it was free, and that it automatically pulled transaction data down from five mainstream NZ banks. Since I am an ANZ customer I was initially incredulous that I had not heard of it before.

So what's the catch? Unfortunately there is one. ANZ MoneyManager has been targeting the Australian market, and so all transactions and dollar amounts are shown in AUD – even for New Zealand bank accounts. Fortunately this limitation is about to be fixed. I received an email from the Support Team at ANZ MoneyManager just today:

We are currently investigating having the option to change the base currency – and we endeavour to have this available early in the new year.

So – moving past the current AUD issue, what does this software offer in terms of functionality? Well the key features I like are:

  • Categorise and colour-code your transactions to see where you are spending your money
  • Set budget goals and category spending limits
  • Receive automated Budget Alerts when you have an upcoming bill, when you are close to your budget limits or have spent over budget
  • View a multitude of reports to analyse spending, expenses, planned vs actual spending

I like the fact that ANZ MoneyManager integrates with so many different New Zealand banks, not just ANZ. In reality many households use more than one bank and there is a definite advantage in being able to pull all accounts together into one system to get a combined view and manage them centrally.

Unlike PocketSmith however ANZ MoneyManager does not have a strong focus on forecasting and setting financial goals. Perhaps we will see this in the future.

ANZ MoneyManager Website: www.anzmoneymanager.com

Buxfer

Price: Basic: Free, Plus: US$2.79/month, Pro: US$3.79/month

NZ Bank Feeds: ANZ, Firefox plugin for other banks

Moving outside of New Zealand and Australian development efforts, there is a plethora of online budgeting tools. I found at least 20 very quickly. However it does not take long to narrow down the list based on features required and user feedback.

One tool that I zoomed in on is the very popular "Buxfer" – a name derived from the amalgamation of "bucks" and "transfer".

What attracted me to Buxfer?

  • Security – Buxfer offers a lot of flexibility around how it handles your login credentials and how it stores your transaction data. You can have Buxfer encrypt and store your details on their servers, which is what most tools offer by default. Or you can optionally use Google Gears to store your bank account details and transaction data on your local computer, with nothing stored on Buxfer's servers. You can also optionally login to Buxfer using your existing Google, Yahoo, Facebook, Windows Live, AOL, or OpenID – your login is entirely processed by the corresponding service, and your password for that account is not stored by Buxfer.
  • Automatic Transaction Feeds – Yes, Buxfer offers automatic data feeds for ANZ bank accounts. These are incredibly simple to set up inside Buxfer, which will then pull down the transactions each night. But what if you are not with ANZ? Buxfer also offers a Firefox Plugin called "Firebux" that can automatically pull down transaction data from any bank account. And it securely stores the sync details on your local computer – not on the Buxfer servers. And of course it allows manual import of data files from your bank as well.
  • Simple Transaction Tagging – Buxfer shines at the simple way that it allows "tags" to be added to any transaction. And it remembers which tags were used for different transactions – so the next time you purchase food at McDonald's it will automatically tag it with "Food" or "Takeaways" or whatever you choose. It is quick and easy.
  • Budgeting – You can create weekly, monthly and yearly budgets in Buxfer. Set per-category spending limits and Buxfer will help you stay within those limits by monitoring your expenses and sending real-time alerts on your mobile device. You can also receive a weekly Budget Report which gives a quick breakdown of your budgeted vs actual spending for the week.
  • Bill Reminders – It is incredibly handy to be able to see a list of when your next bill is due, or to look at your Calendar to view bill payments for the month or week. Buxfer also optionally sends out email reminders when your bills are due.
  • Forecasting (Pro version only) – You can pick any point in time, say 5 months away, and Buxfer will show you your forecast financial position based on today's balance, projected income, pending transactions, and scheduled bills.
  • Reporting – Any budgeting tool needs solid reports, and Buxfer has all the basics covered and more. The ones I use on a daily basis include the Budget Progress, Income Breakdown, Expense Breakdown, Trend Report (Income vs Expenditure) and the Projections report. I also enjoy zooming in on the transaction categories and sub-categories to see where my money is going.
  • Interfaces – You can interact with Buxfer in a multitude of ways – from any mobile, iPhone, Blackberry to using Twitter, Facebook, or SMS. There is a Google Gadget that can be integrated with your personalised iGoogle Home Page and other tools. There is even an API for developers to work with.

I am using Buxfer as my personal finance manager for the above reasons, so forgive me if I went into more detail on Buxfer than I have some of the other tools I am reviewing. The only feature I really miss from Buxfer is the ability to set goals such as a purchase, or savings goals – a bit like PocketSmith offers. The Projections/Forecasting functionality partially fills this gap in the meantime.

Buxfer Website: www.buxfer.com

ASB Track My Spending

Price: Free to ASB Customers

NZ Bank Feeds: ASB

In August 2009 ASB released the new "Track My Spending" functionality to their existing customers. The functionality offered by Track My Spending is very simple:

  1. Code items via your online bank statements into Categories
  2. View graphs that show exactly where your money goes (by Category)
  3. See whether you are getting ahead each month or spending more than you receive via the "Money-In vs Money-Out" report

I have wondered for a long time why this type of functionality is not offered by default on Internet Banking websites – they are after all supposed to be helping us with personal finance, so it seems a logical fit. So congratulations to ASB on being the first New Zealand bank to get this under way.

You can read the press release here: https://www.asb.co.nz/story18179.aspx

Kiwibank heaps!

Price: Free to Kiwibank Customers

NZ Bank Feeds: Kiwibank

heaps! was launched on 26 November 2009, and is available to Kiwibank customers who are being progressively invited to participate. It is being developed Kiwibank in partnership with Social Capital.

heaps! has all your Kiwibank account and transactional information from internet banking, and it helps you to organise your spending into categories. You can then set and easily manage a budget, and also create and track your progress on goals.

Again, it is fantastic to see a bank offering this service to their clients.

heaps! Website: www.heaps.co.nz

——

It is very exciting to see this type of software becoming available, and at a price-point that there is no excuse for people not to budget and manage their finances better. Please spread the word!

Are there any other tools out there that I have missed? If so, please leave a comment and let me know.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

A little love and attention

December 25th, 2009

Well it is embarrassing how long it has been since this blog got some love and attention. This morning I upgraded to the latest version of WordPress, a project I have been delaying for far too long.

One major reason I needed the upgrade is the amount of spam comments I receive. As a result of doing the update I managed to use the improved WordPress Akismet plugin to filter out over 2000 spam comments, and thus reveal the true comments from readers of my blog posts. I apologise to those who have been leaving valid comments for me over the last few months – I only just read them this morning.

As part of the overhaul I have also implemented a custom theme for mobile devices. This blog is now optimised for viewing by the following:

  • iPhone
  • iPod Touch
  • Google Android
  • Blackberry Storm
  • Palm Pre

For those of you who are still so enthusiastic about my WordPress Plugins – yes I will look to take them to the next level as soon as I can. Now that I am on a much newer version of WordPress I have even more incentive to enhance them :-)

I also have a series of blog posts planned – look for them over the coming weeks…

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

iPhone now more popular than Gmail

August 31st, 2009

A friend just pointed me to an interesting blog entry from CampaignMonitor. It makes the following conclusions based on analyzing the email client usage of more than 300 million people from January to June 2009:

It continues to blow us away just how quickly the iPhone is moving mobile email forward. The iPhone now caters for 5.78% of the email client market, breezing past Gmail to become the 5th most popular email client in the world.

Put another way, iPhone now has more of the email client market than AOL, Lotus Notes, Thunderbird and Entourage combined. That's pretty incredible considering it's a mobile device and a relative newcomer compared to the rest of the market.

Thanks to their software update approach within iTunes, iPhone users are also prolific updaters. iPhone OS 1.0 and 2.0 are amongst the fastest shrinking email clients, while iPhone OS 3.0 is by far the fastest growing email client version on the market.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

iPhone OS 3.0 – NZ$13.99

June 18th, 2009

iPhone OS 3.0The new iPhone OS 3.0 was released worldwide this morning and I have just installed it on my iPod Touch. It cost me a total of $13.99 to purchase. The download and installation took around 30 minutes, including iTunes making backups of my 16GB device before and after the installation.

Was the upgrade worth it? Absolutely.

The new OS takes the device to another level. It finally supports Cut/Copy/Paste, optimised for a finger-based interface. It now includes Spotlight to search the entire device from a single location. In fact there are over 100 new features which are well designed and implemented, in true Apple style, and vastly improve the experience of using the device. You can view a quick summary of the "Top 40″ features over on the iSmashPhone article: How To Use The Best 40 Features of iPhone 3.0.

Do you want to know what the killer feature is however? The one that makes the $13.99 upgrade seem very reasonable indeed? Every iPod Touch (2nd Gen onwards) has a Broadcom BCM4325 chip inside, which in addition to supporting WiFi also supports Bluetooth 2.1 + EDR. However the Bluetooth in the iPod Touch was disabled – until iPhone 0S 3.0. The upgrade has unlocked and enabled Bluetooth on the device. The hardware unlocking combined with the new API's made available to programmers in OS 3.0 allows the iPod Touch to talk to other iPods/iPhones for peer-to-peer gaming, exchanging data, and connectivity with 3rd party peripherals such as headsets, computers, speakers, car accessories, A2DP laptops/watches and more.

iPhone OS 3.0 is a free upgrade for existing owners of iPhones.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

Ext.air – Blurring the line between Adobe AIR and Ext JS

December 3rd, 2008

By now you should be very aware of Adobe AIR which allows Web Developers to use their existing skill-set to develop desktop applications for Windows, OS X and Linux. This means that anybody who knows HTML, JavaScript and CSS can easily start developing desktop applications. And if you add Ext JS to the equation then you get an impressive JavaScript library and whole set of interface widgets that work tightly with Adobe AIR out of the box. Ext JS and Adobe AIR are made for other, and it is good news to hear that Adobe and Ext are officially working together to take things to the next level.

As a result of collaberation between Ext JS and Adobe, several impressive enhancements to the Ext.air package were just released. These enhancements allow even better control of AIR and the desktop via easy to use JavaScript calls.

For example to play a music file:

var mp = new Ext.air.MusicPlayer();
mp.adjustVolume(0.5);
mp.play(url);

Or to tell your application to launch on system startup:

Ext.air.App.launchOnStartup(true);

Additional enhancements allow you to easily control desktop windowing, video, system notifications and alerts and even the clipboard.

You can learn more about Ext JS here.
You can learn more about Adobe AIR here.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

NZ iPhone Pricing … Cartoon says it all

July 16th, 2008

This image was sourced from the Stuff.co.nz Cartoon Gallery.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz

Vodafone NZ attempts to justify iPhone 3G pricing

July 9th, 2008

And it was not a very good attempt at that. This was a truly bad interview from Vodafone's perspective. Some clear and relevant answers to the questions might have been a good place to start!

Watch Vodafone's Mark Rushworth on the 3 News website trying to justify their prices.

Share:
  • Digg
  • Twitter
  • StumbleUpon
  • LinkedIn
  • del.icio.us
  • Reddit
  • Facebook
  • MySpace
  • Add to favorites
  • Google Bookmarks
  • Yahoo! Buzz