Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-29-2009, 11:08 AM   #52 (permalink)
iphonatic
Registered Member
 
Join Date: Jul 2009
Posts: 59
Default

Ever tried to debug JavaScript errors in IE?

M$ should have kept IE in the lab if it ever detoured there on its way from Ballmer's evil lair....

I'm a noob at Obj-C but I'm an Apple fan boy from a while back, ex Windoze engineer.

I've just finished my first iPhone app for a client and encountered lots of problems along the way. Most of them would have been solved with a better understanding of all the API calls/classes, but a few were down to deficiencies in the language and terrible lack of debugging.

When I was reading through dev books as a beginner, I remember seeing warnings about "sending to nil" all the time, but never thought it would happen to me... eek!

That said, I'm about to get back to work doing some PHP programming and even though I can do a lot more functionally with PHP, nothing gives me as much satisfaction as seeing something I programmed running on such an awesome device as the iPhone!

Soon as I can make it financially viable, I will throw a few more eggs into the Cocoa development basket, I love it!

Quote:
Originally Posted by NearChaos View Post
Memory management in general tends to be inconsistent. I'm trying to remember the exact calls I used (not on Mac now) but one specific example was collecting HTTP data in an NSData and converting it to a string with NSString stringFromData (or something like that). See what happens when you free the NSData and try to use the string. Then check the documentation to see if there's any mention of the crash you're about to get.

Most of the examples I can think of have to do with either memory management or trying to integrate C++ into Objective-C, or using the C library for functionality that's not in Objective-C.

But other issues I've had: XCode seems to die about once a day; Interface Builder really, really needs Save All; the context sensitive editors is light years behind, well, everybody, and frankly being someone who jumps between C++, C#, Java, PHP, Objective C and sometimes even assembly on a weekly basis, Objective C really should have stayed in the lab.

Don't get me wrong, I don't love Microsoft, or Java, or anything. I've been developing for 22 years, still make a very good living at it, and do it by following the money. I detest Apple's editorial policies but, you know, people rob banks because that's where the money is.

Eric
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
 

» Advertisements
» Online Users: 355
22 members and 333 guests
ADY, bobli, Dani77, Duncan C, ghost, HDshot, HemiMG, ilmman, MarcoAlmeida, MarkC, Meoz, ngaikwad, Punkjumper, Raffaello, Robiwan, Rudy, skrew88, themathminister, timle8n1, wilky94
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,223
Posts: 380,728
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.