Ios
Fri, Aug 2, 2013
Many applications use Core data for iOS devices, others utilize frameworks like fmdb. But there are also people that write SQLite access from scratch. The comes the answer - how do you cache prepared statements (I will not discuss here why we cache prepared statements)? Well - I have implemented 2 methods: 1) Using C syntax to maintain array of sqlite_stmt* 2) Using NSPointerArray* to store sqlite_stmt* that are prepared First approach has it’s advantages in regards of using older SDKs (NSPointerArray is available from iOS 6.

Sat, Jan 28, 2012
This article continues the series for creating a web service consuming program on your mobile device. In the previous article I have showed you how to create Server part (web service) on Geronimo and how to access it from Android app. Now we shall do the same with iOS application. So what do you need. Mac with OSX XCode IDE with iOS SDK Code and applications (server, IDE, code) from previous article in order to run the server So lets start.

Thu, Jan 19, 2012
Recently I have changed my mobile number. I did not memorize it yet (learning to keep only indexes to information where it could be found - makes me forget numbers, names etc). So when you quickly try to view your number (for writing in form or giving to a friend) the easiest way is to 1) Go to home screen 2) Click on Phone 3) Navigate to Contacts search top area (taping on top bar) - and there you go

Tue, Aug 16, 2011
Often I am facing one and the same issue - deleting backup folder of Picasa. There are usually lots of rotated images or movies. So usually this is the first place to search for free space. Here is one very short way to delete these subdirectories: cd ~/Pictures find . -iname '.picasaoriginals' -exec rm -rf '{}' \; This will remove all subdirectories from your “Pictures” folder that have name .

Mon, Aug 1, 2011
I used to fight for a while with strange issue. I am using Singleton in my iOS application to hold Session information. Unfortunately when using NSMutableArrayList to hold stack of current objects - the references become empty at some point and there is a warning like: warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame. While searching on the net - I have mentioned one comment about using singletons - well - this was my lead.