Author |
Message |
forquare1
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:36 pm Posts: 5150 Location: /dev/tty0
|
Hi all,
I'm trying to learn Objective-C and Cocoa to try and fill the gap that was left by finishing my final year project. The book I'm reading talks about memory management in code and how you can manually manage memory, or use Garbage Collection to do it automatically. There are many advantages and disadvantages of using Garbage Collection, but some of the main disadvantages are that OS 10.4 and lower doesn't support it, and neither does the iPhone (at least not at the present). As Java uses Garbage Collection, I'm used to not having to deal with memory management. I'm wondering how many users might be effected if I use Garbage Collection in Objective-C...
So, what do you guys use?
Thanks, Ben
|
Wed May 05, 2010 11:49 pm |
|
 |
Fogmeister
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 7:35 pm Posts: 6580 Location: Getting there
|
Memory management is really not very difficult to get to grips with in Obj-C.
The main rule to stick by is that if you alloc and object in a class/method then dealloc it at the end.
There's a lot of stuff on ... GAH can't remember the name of the site but you post questions and people answer them.
|
Thu May 06, 2010 8:01 am |
|
 |
Fogmeister
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 7:35 pm Posts: 6580 Location: Getting there
|
|
Thu May 06, 2010 8:03 am |
|
 |
Fogmeister
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 7:35 pm Posts: 6580 Location: Getting there
|
Give this a read also... Had a quick skim and it looks very good. http://developer.apple.com/iPhone/libra ... yMgmt.html
|
Thu May 06, 2010 8:06 am |
|
 |
steve74
Doesn't have much of a life
Joined: Fri Apr 24, 2009 12:43 pm Posts: 1798 Location: Manchester
|
I've voted 10.4 (PowerPC) - that's what we have to use at work, due to the age of the Macs (mainly G5s, some G4s!) and the software we run. To upgrade the software to Adobe CS5 would require a complete move to Intel hardware which the company can't afford at the moment. Similarly, that would require an upgrade to 10.6 which might also have other implications in terms of compatibilty - printers, scanners etc. So we're sticking on our existing setup for the time being.
At home, I'm still on PowerPC, but have now upgraded to 10.5 in preparation for an iPad later this month (hopefully!).
_________________ * Steve *
* Witty statement goes here *
|
Thu May 06, 2010 10:55 am |
|
 |
gavomatic57
Doesn't have much of a life
Joined: Thu Apr 23, 2009 8:30 pm Posts: 1757 Location: Cardiff, Wales
|
10.6.3!
_________________ G.
|
Thu May 06, 2010 4:00 pm |
|
 |
jonbwfc
What's a life?
Joined: Thu Apr 23, 2009 7:26 pm Posts: 17040
|
I have a macbook running 10.5 and a Mac pro running 10.6. So err... yeah.
|
Thu May 06, 2010 4:41 pm |
|
 |
Amnesia10
Legend
Joined: Fri Apr 24, 2009 2:02 am Posts: 29240 Location: Guantanamo Bay (thanks bobbdobbs)
|
I have a powerbook using Leopard, and two imacs and a MacBook Pro all using Snow Leopard.
_________________Do concentrate, 007... "You are gifted. Mine is bordering on seven seconds." https://www.dropbox.com/referrals/NTg5MzczNTkhttp://astore.amazon.co.uk/wwwx404couk-21
|
Thu May 06, 2010 6:25 pm |
|
 |
Nick
Spends far too much time on here
Joined: Thu Apr 23, 2009 11:36 pm Posts: 3527 Location: Portsmouth
|
Very simiar to me - I have a Mini on .6.3 and a Book on .5.8 
_________________
|
Thu May 06, 2010 6:39 pm |
|
 |
bally199
Doesn't have much of a life
Joined: Thu Apr 23, 2009 6:52 pm Posts: 1036 Location: Barnsley, South Yorkshire
|
10.5 Intel and 10.4 PPC.
_________________ Kimmotalk is where all the cool people hang.
|
Fri May 07, 2010 10:50 pm |
|
 |
davrosG5
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 6:37 am Posts: 6954 Location: Peebo
|
10.5.8 PPC on my venerable PowerMac G5.
Apple tends to be fairly ruthless with their upgrade schedule. They support the current and previous version of the OS and nothing earlier (so currently 10.5 and 10.6). That tends to drive upgrades.
_________________ When they put teeth in your mouth, they spoiled a perfectly good bum. -Billy Connolly (to a heckler)
|
Sat May 08, 2010 8:40 am |
|
 |
ProfessorF
What's a life?
Joined: Thu Apr 23, 2009 7:56 pm Posts: 12030
|
10.5.8 PPC here.
|
Sat May 08, 2010 8:45 am |
|
 |
davrosG5
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 6:37 am Posts: 6954 Location: Peebo
|
You don't appear to have ticket the box though.
_________________ When they put teeth in your mouth, they spoiled a perfectly good bum. -Billy Connolly (to a heckler)
|
Sun May 09, 2010 6:57 am |
|
 |
MrStevenRogers
Spends far too much time on here
Joined: Fri Apr 24, 2009 9:44 pm Posts: 4860
|
OS X 10.6.3 on 5 systems (1 iMac 3 MacMinis 1 MacBook) …
plus have it running on 2 netbooks for the kids school use … (note. a full version of 10.6 was purchased for each netbook)
_________________ Hope this helps . . . Steve ...
Nothing known travels faster than light, except bad news ... HP Pavilion 24" AiO. Ryzen7u. 32GB/1TB M2. Windows 11 Home ...
|
Sun May 09, 2010 12:22 pm |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
Same here, I'm not sure what we're going to do about CS5, will cost us a fortune. Apple always used to be so good about backwards compatibility as well, but they seem to have abandoned it now.
|
Tue May 18, 2010 12:32 pm |
|
|