Archive for the ‘iPhone’ Category

Apple Needs to be Reminded

Wednesday, August 1st, 2012

I just upgraded to Mountain Lion, and one of the things I was most looking forward to, is syncing Reminders with my laptop.  Unfortunately, Apple seems to have decided that Reminders will only utilize iCloud synchronization, with no support for iTunes Wifi or USB syncing.

Yet again, Apple seems to be ignorant to the fact that the PC was so successful because it offers flexibility (in the form of add-in cards and standard external connectors).   Flexibility that enabled users to do things however they wished, rather than conforming to how any one company thought it should be.

IMHO, Apple should have provided a syncing infrastructure with iOS like Palm did, and enabled their users to sync via USB, Wifi, or the Cloud with any application written for the device.  There are still lots of iPhone users who don’t live in areas with good data coverage, want to fork out an extra $30 CAD for data, or simply don’t want their personal data in the cloud where Apple or other parties can mine it, and where it could be vulnerable to hackers.

Targeting iOS with ObjPas

Tuesday, February 28th, 2012

Today I looked at using ObjPas for XCode 4. The documentation is a little stale, but Phil Hess has provided an excellent guide to getting started as well as why you might want to use ObjPas/FPC with XCode compared to FireMonkey or Objective-C.

When I initially created a new project from the template as per the tutorial, I couldn’t run it. XCode reported an error and I had to scan through the shell script to actually discover it was unable to create a file. I discovered the path where it was trying to create the file didn’t exist, and googled the error to find a discussion on the exact problem.

After fixing the Create File problem as suggested by Simon Chol as follows:

I replace just the one character (armv6 -> armv7) in section
Targets | Items 0 | SharedSettings | FPC_ARM_SHARED_OPTIONS
/users/[...]/Library/Developer/Xcode/Templates/Objective Pascal/iOS/Objective Pascal App
/Cocoa Touch Application.xctemplate/TemplateInfo.plist

I then had to manually paste the following code with the [window release]; selected:

- (void)dealloc
[window release];
[super dealloc];

I also had to turn off Automatic Reference Counting (ARC) since it is checked by default when creating the project, and I had left it checked, so the compiler complained about the presence of NSAutoreleasePools.

My initial impression was that this approach is far better than using FireMonkey in terms of meeting Apple’s UI requirements, but since there is no code insight, or completion in XCode for ObjPas and you have to declare Outlets and Actions twice (once in Objective-C and once in ObjPas) this would get rather tedious rather quickly.

If you’re going to use the Pascal for development I think the XE2 approach of using XCode for compiling and debugging only is a much better approach.  It also opens up the possibility to one day develop for the iPhone solely on a PC when EMB finally releases their new compiler that supports ARM.

It Doesn’t Take a Genius

Tuesday, August 31st, 2010

On Monday I went to the Apple store in Market Mall and was amazed how busy it was at 12:30pm.  No wonder Apple is making record profits!  I went because I bought a bluetooth hands free ear piece from Apple, and something happened to my cable.  My Mac no longer recognizes my iPhone when connected using that cable, and it no longer charges my ear piece.  I asked about getting a replacement cable, and was told I would have to speak to a Genius.  They were so busy, I couldn’t get an appointment the same day.

Now while Apple may win awards for customer service, I don’t think it should have taken a genius to know that I don’t want to drive for 40 minutes back to the store some other time to get an answer to my dilemma.  Can I buy another cable from Apple and if so, how much?

If I had walked into a IBM PC clone retail store, they wouldn’t have said “make an appointment” to get the answer, and I would have found out what my options were right away, or they would have said “we will have to research it and get back to you.  What’s your phone number?”.  Apple didn’t even offer.