Re: Reading Adobe Photoshop header, Obj-C
Re: Reading Adobe Photoshop header, Obj-C
- Subject: Re: Reading Adobe Photoshop header, Obj-C
- From: Kevin Muldoon <email@hidden>
- Date: Tue, 28 Jun 2011 13:28:43 -0400
No problem at all. I'll pick up Kernighan & Ritchie. Thanks for reply.
On Jun 28, 2011, at 1:17 PM, Jens Alfke wrote:
On Jun 28, 2011, at 10:11 AM, Kevin Muldoon wrote:
I suppose the trouble here is that I'm familiar with Objective-C
code and not so familiar with its parent, C.
Yeah, unfortunately Objective-C does not absolve you of having to
know C. With where you’re going, I’d suggest cracking open Kernighan
& Ritchie or some other good C book.
(It’s a shame Cocoa doesn’t have more powerful stream APIs, or some
equivalent of Perl/PHP/Ruby’s ‘unpack’ function, that would let you
do this kind of stuff without needing to do pointer grunge. For some
reason streams have always been a primary Achilles’ heel of Cocoa.
I’ve been coding in it for ten years and I still never use
NSFileHandle — if I have to stream data to/from files I just drop
down to ANSI C or POSIX I/O calls.)
—Jens
Kevin Muldoon
e: email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden