Re: Beginner with Cocoa

2008-03-25 Thread Bill Cheeseman
on 2008-03-25 4:57 PM, Scott Ribe at [EMAIL PROTECTED] wrote: > ...and the autorelease pool is pretty much unique. Actually, it is unique. Apple has several patents on it. Apple's Ali Ozer and Bertrand Serlet are credited as inventors, along with others. I read all of the patents a long time ago

Re: Beginner with Cocoa

2008-03-25 Thread Scott Ribe
> For the record, reference counting for memory management is one of the > oldest techniques in software and is not unique to Objective-C or > Cocoa. True, but slightly-deferred release is not common, and the autorelease pool is pretty much unique. And the uniqueness does throw newbies off. The au

Re: Beginner with Cocoa

2008-03-24 Thread Clark Cox
On Mon, Mar 24, 2008 at 10:01 AM, Jack Repenning <[EMAIL PROTECTED]> wrote: > On Mar 24, 2008, at 7:13 AM, Erik Buck wrote: > > For the record, reference counting for memory management is one of > > the oldest techniques in software and is not unique to Objective-C > > or Cocoa. Microsoft Found

Re: Beginner with Cocoa

2008-03-24 Thread Chris Hanson
On Mar 24, 2008, at 10:01 AM, Jack Repenning wrote: On Mar 24, 2008, at 7:13 AM, Erik Buck wrote: For the record, reference counting for memory management is one of the oldest techniques in software and is not unique to Objective-C or Cocoa. Microsoft Foundation Class CString uses it. COM/A

Re: Beginner with Cocoa

2008-03-24 Thread Sherm Pendley
On Mon, Mar 24, 2008 at 1:43 PM, colo <[EMAIL PROTECTED]> wrote: > > Well I have to say. None of that sounds like any fun what so ever. In > fact it sounds a little anti-constructive with the amount of time it > would take to get anything out the door let alone prototyped to a > beta. Eric and J

Re: Beginner with Cocoa

2008-03-24 Thread Jeff LaMarche
On Mar 24, 2008, at 1:43 PM, colo wrote: Well I have to say. None of that sounds like any fun what so ever. In fact it sounds a little anti-constructive with the amount of time it would take to get anything out the door let alone prototyped to a beta. Then don't judge a book b

Re: Beginner with Cocoa

2008-03-24 Thread colo
> Reference counting is well established. Retain/release is not > reference counting. > > The essential point of reference counting is that the language system > does it for you, you don't have to think about it at all. Most Java > and scripting developers never even learn to think that there

Re: Beginner with Cocoa

2008-03-24 Thread Jack Repenning
On Mar 24, 2008, at 7:13 AM, Erik Buck wrote: For the record, reference counting for memory management is one of the oldest techniques in software and is not unique to Objective-C or Cocoa. Microsoft Foundation Class CString uses it. COM/Active-X IUnknown uses it. It's essential to using

Re: Beginner with Cocoa

2008-03-24 Thread Scott Thompson
On Mar 24, 2008, at 7:12 AM, Jeff LaMarche wrote: I'g be rather surprised if the Cocoa books took out discussions of traditional objective-C memory managements in their next releases. It's still available for use, and as you mention, necessary for writing to earlier versions of the OS, not

Re: Beginner with Cocoa

2008-03-24 Thread Erik Buck
> You'll probably have to learn the old way, "retain and release," > which is unique to Objective-C. For the record, reference counting for memory management is one of the oldest techniques in software and is not unique to Objective-C or Cocoa. Microsoft Foundation Class CString uses it. CO

Re: Beginner with Cocoa

2008-03-24 Thread Jeff LaMarche
On Mar 24, 2008, at 12:44 AM, Sherm Pendley wrote: The main thing you'll have to watch for: Objective-C 2.0 has garbage collection available, like Java and scripting languages you're familiar with, but it's off by default, and earlier Macs don't have it. You'll probably have to learn the old wa

Re: Beginner with Cocoa

2008-03-23 Thread Sherm Pendley
On Mon, Mar 24, 2008 at 12:16 AM, Jack Repenning <[EMAIL PROTECTED]> wrote: > > The main thing you'll have to watch for: Objective-C 2.0 has garbage > collection available, like Java and scripting languages you're > familiar with, but it's off by default, and earlier Macs don't have > it. You'll p

Re: Beginner with Cocoa

2008-03-23 Thread Jack Repenning
On Mar 21, 2008, at 12:21 PM, Jeff LaMarche wrote: As for books, I believe that a number of the stalwart Cocoa books, such as Aaron Hillegas' are in the process of being revised for the Leopard changes due out this year some time, but I don't think there is anything yet available that deals

Re: Beginner with Cocoa

2008-03-21 Thread Jeff LaMarche
On Mar 21, 2008, at 3:00 PM, Alex Handley wrote: Hi, I have previously programmed in java and a few scripting languages and was wondering if anyone had any suggestion for learning cocoa, most of the tutorials I find are for pervious version Apple has this: http://developer.apple.com/docu