Copyright (c) 2011 Doron Katz. All rights reserved. DoronKatz registered under ABN 68 954 062 611. Apple, the Apple logo, iPod, iPod touch, and iTunes are trademarks of Apple Inc., registered in the U.S. and other countries. iPhone is a trademark of Apple Inc. App Store is a service mark of Apple Inc. Theme by Cory Watilo

Filed under: iPhone Dev

Using constants with preprocessor directives

It is important when you work on your application, that you use a file to store all your application-wide constants, usually strings that you would normally store things such as:

  • Server URL's, for when you access a web service
  • Key tokens, such as for various third-party APIs, like TestFlight, where you have a constant key that you need to refer to. 

These constants don't usually change, but if they do change, you have a single source to change, that would be reflected Application-wide.

To better illustrate this, I will give you the example I use with one of my apps:

Read the rest of this post »

Sell an idea or invest in an iPhone App idea

Pastedgraphic-1

A new crowd-sourced idea to sell your next brilliant iPhone idea. The guys at Symbid have come up with a concept to allow people to connect with others, and post ideas about an app, generate investment their ideas, and then make the app. This video gives you a quick overview of what this is all about:

For someone who hasn't got the expertise to develop an app, nor the cash flow capital to start 

You can find out more about this at  sellanapp.com