[06-07-2011]
Iterating over NSMutableArray
You can iterate over array using old school index method: NSMutableArray *array = … for(int i=0; i
You can iterate over array using old school index method: NSMutableArray *array = … for(int i=0; i
Summary: iPhone development made easy Head First iPhone and iPad Development (second edition) takes you, again, on a great journey across iPhone development related topics. What you get here is a gentle introduction into iOS programming. Book covers most common issues you will definitely face during iPod development. It starts with introduction to XCode (iOS […]
First off all, you have to stop MySQL. You can do this by either killing mysql related processes or by stopping the service – it depends on how you start mysqld. 1. Stop service by executing /sbin/SystemStarter stop “MySQL” 2. After server is stopped, start it “manually” following way: /usr/local/mysql/bin/mysqld –skip-grant-tables –user=root 3. Start mysql […]
Summary: good introduction to queues within Objective-C This book is really short one. But don’t be fooled by it’s size. In fact it’s very comprehensive. One remark here – regarding title. It might be slightly misleading. Book is related to queue mechanics within Mac OS X and iOS rather than treads. But let’s take a […]
Summary: Core Data by example Whenever you start to develop an application it is just a matter of time when you decide that you need to save some data. No matter what will it be – settings for the application, list of the groceries in your TODO application, score achieved by the player during the […]
First, create table within database: create table my_date ( date_column DATE); Insert the date into database (format: YYYY-MM-DD HH:MM:SS) insert into my_date(date_column) values(‘2011-01-01 00:00:00’); Retrieve data within iOS and parse date: sqlite3 *database = nil; // … // connect to SQLite – I assume that database // … static const char *sql = “select date_column […]
Summary:recipes for Mac OS Developers Cocoa and Objective C Cookbook is a typical cookbook for programmers. It contains 78 recipes related to various aspects of Mac OS X development. You will find here snippets of code that target User Interface, events handling (gestures), file management, web content analysis, database related topics as well as topics […]
Summary:very nice tutorial for beginners Introduction to iOS Programming is a practical guide to iOS programming and to becoming Apple Developer in general. It is divided into few parts: how to become a developer, how to write simple application (start developing using XCode), how to build and distribute application within iTunes. If you have never […]
Install XCode is quite heavy. It weight like ~4.8 GB. It is very tempting to remove it after XCode is installed. However, if you remove it Apple Store application will lose a track of it. XCode will be marked as purchased but not installed. This way, you won’t be able to automatically upgrade it. So, […]
In case you want to change default shortcut for “Product -> Debug -> Continue” – that is “Ctrl+Command+Y”, make sure you are looking for “Product Menu -> Pause” Command within “Preferences -> Key Bindings”. There is not “Continue” Command within Key Bindings.
Make sure, that your class is correctly bound to a Target. This error may occur after you have chosen wrong target when you have been adding new Unit Test to the project. To fix problem, select your project node and remove Test Class from “Application” target and add it to “Application Test” target. Select Application’s […]
Summary: CSS3 rules explained Peter is perfectly right with his introduction to the book – “Let me tell you a little about who I think you are: You’re a web professional who’s been hand-coding HTML and CSS (…)”. This sentence, probably, describes most of the home grown HTML developers around the world. If you are […]
Summary: let’s play business The main purpose of Gamification, as Gabe states, “(…) is to help people get from point A to point B in their lives — whether that’s viewed through the lens of personal growth, societal improvement or marketing engagement”. It’s like making fun out from whatever you do. Regardless of your task […]
I have added new pages called “JacketsO”, “JacketsA”, and “JacketsP”. You can find there covers for all the books I have reviewed so far. This way, you don’t have to browse through the blog in order to find what was reviewed so far. You can also find some of my reviews at O’Reilly’s Blogger page […]
Summary: tech-business-idea cocktail 4 your mind Tim O’Reilly in a Nutshell is a mixture of Tim’s writings that you can find at Tim O’Reilly’s “blog” – http://tim.oreilly.com. Inside the PDF you will find the picks that are really interesting among huge selection of his articles. Book is divided into three parts, each treats different aspects […]
Summary: code snippets for graphics manipulation Graphics and Animation on iOS is another book devoted to iOS written by Vandad Nahavandipoor. He has also written iOS 4 Programming Cookbook. Graphics and Animation on iOS seems to be a supplement for iOS 4 Programming Cookbook. You can find here topics that are not covered in previous […]
Summary: Welcome to Android’s world Developing Android based application is like any other development. You have to get tools, learn basics and explore the details of the API. Learning Android covers first two topics. First of all, you can get the overview of Android, what it does, who develops it and so forth. You can […]
Recently I was trying to get GlassFish 3.1 working within NetBeans 7.0. There are few places where you can get lost. That’s why I have prepared this short tutorial. First of all you will need two instances of GlassFish: local and remote. Make sure you are using the same GlassFish version on both systems. I’d […]
Summary: developing iPhone UI explained When you start to developing an application, one that should conquer the world, you will probably ask yourself quite a loot of questions related to UI. How to design it the best, most efficient way. How to attract users. How to make users use it longer than just few taps […]
NetBeans 7.0 is finally released !! You can find it at www.netbeans.org. This is really nice Java development tool. I advocate NetBeans for (at least) last five, six, years whenever I am involved into Java development, but recently I decided to take part in NetCAT 7.0 program. It was devoted to getting NetBeans better and […]