Sunday, October 21, 2012

Retrospective for Offline LibraryThing Book Catalog Browser

My latest hobby application (non-work, created on personal time) is now waiting for various approvals. Reached the exhaustion point, where it's more important to make a release than add new features - or even search for bugs.

Idea without execution is worthless.

There's online development diary "While Developing" started 22 August 2012, about 2 months ago. So what did I do and did I learn anything? At all? Would I do this again? Ever?

Thursday, October 18, 2012

Dependency Graph Tool for iOS Updated

Recent iOS project was using ShareKit via "git submodule" command, which added a LOT of items into dependency chart generated by objc_dep utility. Additionally I didn't have any control of those files, just used them as they were given.

To make dependency chart usable again, I added a command line parameter to ignore a subdirectory.

Friday, August 31, 2012

While Developing Elsewhere

Just a quick note that a) I've been real busy with a business iPhone app development for a startup (subcontractor work) and b) started documenting one of my recently reactivated hobby projects at jomnius.tumblr.com.

The startup project is scheduled to be released for App Store review later today (!!!) and my part of the project should be done. Ready for next project, whatever and whenever that might be.

Hobby project on the other hand is an offline book catalog browser for LibraryThing website, truly a treasure trove for all book lovers. The app is work-in-progress and not released yet.

Tuesday, June 5, 2012

CoreData and NSCocoaErrorDomain Code 1570

Seems like iOS CoreData doesn't like non-existing values i.e. "nil".

Didn't realize at first that something was wrong, because a) I wasn't very familiar with Coredata, just inherited the code to be upgraded and b) I created my own caching on top of CoreData to compensate some issues with CoreData. Then found this error buried deep into console logs:
CoreData Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)

Thursday, May 31, 2012

You do not have the required file permissions

We exchange project files over a shared git repo on remote server and somehow I just lost write access to some files:

Error cleaning build folder
You do not have the required file permissions

Thursday, May 24, 2012

Server API change from HTTP to HTTPS

Doing an iOS client for business service, where client communicates with server to read and update certain undisclosured business data. Current development API is using HTTP with dummy test data, but real service will use HTTPS once everything has been validated to be safe and secure.

Client connectivity change from HTTP to HTTPS was done basically by adding (only) this code:

Monday, May 14, 2012

How to Remove Unused Parameter Warning - part 2

I still believe in no-warnings coding policy. Old problem, new solution.

Code warnings are often signs of real problems and have to be checked each and all. Many times you can rewrite the code in a better way, but sometimes that's not possible. For example generic protocol API offers method parameters, which are not needed in certain cases. You get the "Unused Parameter" warning.

What to do?