Monday, 21 January 2013

[iOS] Need to create a Pin Challenge View static library for sharing

My iOS project requires a Pin Challenge View as seen below. I need to make it into a module that can be shared across different iPhone apps.

I found the links below useful to me:

1. http://www.clintharris.net/2009/iphone-app-shared-libraries/
Cross reference library as separate xcode project

2. http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html
Create static library


Sunday, 20 January 2013

Implementing a credit card reader - Initial study

I'm currently studying the EMV standard at http://www.emvco.com/specifications.aspx?id=223 in order to implement a card reader module on iOS.

The following resources have been very useful to me:

i) http://khuong.vn/Papers/EMVThesis.pdf ( good starting point - high level understanding of EMV)

ii) EMV_v4.3_Book_1_ICC_to_Terminal_Interface

iii) EMV_v4.3_Book_3_Application_Specification

Monday, 17 December 2012

iTunes crashed my iPhone 3G(error 1015)

I received an iPhone 3G for my project. It's the base phone my app needs to support.

However, when I started using the phone, iTunes alerted me of an iOS 4.2.1 update. Apple's upgrades I thought should be rock solid, and I proceeded without any hesitation. How wrong was I, for I've been hit with the infamous error 1015.



Questions raced through my mind. Did I just crash the only iOS device I had for testing? Will I be made to pay for this(I haven't even got my first paycheck)? How am I going to complete my project?

Thankfully, a quick google of "iPhone 3G error 1015" revealed quite a number of youtube videos on fixing this. I referred to the video below and it worked for me. Watch at youtube.


After recovering from error 1015, you might need to unlock your phone if you don't have a valid SIM card. Watch at youtube


*NOTE: I used Redsn0w, v0.9.6.rc9, to unlock iPhone 3G on iOS 4.2.1 because, v0.9.6.b4 links was not working anymore.

All required software are listed at video's descriptions at youtube.




 


Thursday, 13 December 2012

First iOS project - RestKit compilation error

I was handed my first iOS project, and I inherited this piece of code that uses the RestKit Library.

I hit tonnes of nasty compilation error below:

Nested redefinition of enum RKRequestMethod






The problem for me was because the RestKit.h header file and CoreData.h header file was both included such as below and I read somewhere that you only needed to include RestKit.h.

#import <RestKit/RestKit.h>
//#import <RestKit/CoreData/CoreData.h> This commented out


Mobile Apps Developer aka MADeveloper
















Am I MAD? Yes, however in a positive way :D

I have started my life as a Mobile Apps Developer in KL.
My hope is to use this blog to share my experiences developing mobile apps.

More posts coming up, so stay tuned...