Tag Archives: iOS

iOS/Cocoa : Resolving deadlock caused by core data multi threading

Recently when I was doing some performance fixes for an iOS app I am working on, I came across a strange issue.  The app UI would freeze indefinitely without causing a crash or hitting a breakpoint. This freeze was intermittent, which made things difficult. Initially I suspected a deadlock in some new code, but I had not introduced any explicit @synchronized or semaphore wait statements in the code <which generally cause deadlocks>. All I had done is moved JSON response parsing code to a shared background queue.

On the debugger, hitting the pause button showed me that the execution was stuck in [pmutex wait] method. Quick googling of this gave me the answer I was looking for.

core data is not thread safe

core data is not thread safe !

Cause

What had happened was that I was using Core Data abstraction for database storage and I had made a singleton class for all database methods (seems like a bad idea now). Continue reading “iOS/Cocoa : Resolving deadlock caused by core data multi threading” »

Incoming search terms:

Textoo Pro ; in the works

July 17th 2011 : Textoo Pro now in the apple app store. Download it here : http://textoo.in

July 10th 2011 : Textoo v2.0 renamed to Textoo Pro

Release of Textoo Pro has been postponed to July 15th 2011 due to app store codesign issues.

Here’s a sneak peek into the brand new version of Textoo Pro – the iOS app which lets you send free real SMS to any mobile phone in India and other countries.
Based on the numerous feedback emails we have got, we have tried our best to incorporate all the enhancements into this version.

A brand new custom designed UI with retina support
With an intent to keep the UI similar on both iOS and android versions, the entire UI was rewritten by avoiding the use the standard components provided by apple SDK as much as possible. The UI design was inspired by Apple’s iBook application and each page was designed to work well on both portrait and landscape views with support for retina and non retina displays. Animations and transitions were added to boost the look and feel of the app.

free sms iphone appNative support for group messages and multi select contacts Continue reading “Textoo Pro ; in the works” »

Incoming search terms: