iOS development

Using Core Plot in iPhone/iPad app

Using Core Plot in iPhone/iPad app

Core Plot is a plotting framework for iOS and OS X. You can download the latest zip file from here. I’m using CorePlot_1.0. After unzipping it go to CorePlot_1.0/Binaries/iOS, there you can find CorePlotHeaders folder and libCorePlot-CocoaTouch.a, add them to your project. Add QuartzCore.framework, go to Build Settings and add -ObjC -all_load to Other Linker Flags.

Read more

How to add a property via class category?

How to add a property via class category?

Have you ever been in a situation where you needed to extend class with additional property but for some organizational reason you didn’t want to change default source class file? For example, when you add Xcode sub-project which you want to keep untouched and up-to date with it’s version control, but still you want to make certain default implementation changes in sub-project.

Read more

Consuming SOAP web services in iOS

Consuming SOAP web services in iOS

In past few years I’ve been working on variety of different applications but never on one that includes consuming web services such as SOAP. That’s mostly because SOAP is considered outdated comparing to REST today – totally wrong assumption (comparing apples and oranges).

Read more

Memory leak by CFNetwork?

Memory leak by CFNetwork?

It’s been a while since I wrote my last post. Since then I got married, completed faculty, finished three iPhone applications for clients and three internal. Well, these are the main reasons for my absence and I think they are justified. 🙂

Read more

How to use NSUserDefaults to save state of switch?

How to use NSUserDefaults to save state of switch?

If you have an application that should save for example state of a switch and you don’t want use database for that small request you can simply add instance of NSUserDefaults class in your implementation. It is easy job, see below;

Read more

Launching application via URL scheme

Launching application via URL scheme

Here I will try to explain how to make your application launch another application on the system. There will be a minimal code written for these feature like everything else in Objective C and Cocoa Touch framework. Application that have support for URL’s can be launched with a call to the UIApplication’s openURL:.

Read more

DivineOffice iPhoneApp now available in the App Store!

DivineOffice iPhoneApp now available in the App Store!

One of first iphone development project that I worked on as part of Surgeworks iPhone development team was application named Divine Office. This is application that’s grouped in lifestyle category at the App Store, audio version of the Liturgy of the Hours including audio scripture readings, psalms, and prayers for several times (hours) of each day.

Read more

What is a #pragma mark?

What is a #pragma mark?

One of many features in Xcode that developers forgot to use is #pragma mark directives. What is a #pragma mark? #pragma marks are simple directives that help us better organize our implementation code.

Read more