Is not been too long since I got my hands on the iPhone SDK 3 (like 2 months ago) and I have to admit is well designed and the familiarity with Cocoa is huge. Custom graphics are slightly different compared to Cocoa but still is fun and the methodology remains the same. Plus Xcode is a bit buggy but Apple will fix everything sooner or later.
My point:
This post really is a complain… Why Apple removed the NSTask.h object from the foundation framework? NSTask is really powerful, it can pipe in an out simple and fast. Is there a reason why? Anyway, let’s keep moving…
At the beginning I was shocked cause I really wanted to execute other unix built-in commands like “df” and so on… Still Objective-C is very powerful since I can use C code to do my stuff…
In C, I am aware of 2 different ways to execute a command, one is using “system()” and the other one using the “exec()”. I thought that it would be easy but nop. It wasn’t… The iPhone completely ignores both commands… really frustrating…
If anyone has any clue on how to… Please amuse me…