Finally
After a couple of weeks of reading numerous programming manuals I finally managed to write a simple Cocoa app yesterday, well I say write but it was more modify the existing code in one of the books that I’ve been reading. Nevertheless I do feel like I’m getting somewhere now. The app itself is a simple profit calculator which takes your stake and odds and then works out how much profit you’ll receive should you win and is based on the simple calculate app found in Cocoa Programming for Mac OS X for Dummies.
The next challenge will be trying to get it to work on the iPhone.
For anybody who’s interested the source code is after the break and if you want to know how to configure the interface just ask but I think it should be easy enough to work out from the code and please note that this might not be the best way to write the app but it works and that’s all I’m concerned with at the moment.