Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 30, 2013, 01:22 PM   #1
egoalterna
macrumors newbie
 
Join Date: Jan 2013
Help C# .NET student understand Obj-C.

Hello guys/gals. I'm using Snow Leopard and xcode 3.2.5. And I want to use ARC, but I can't, because it says i need to be using Lion. What I want to understand is why can't I use ARC on Snow Leopard? Does Lion use a different runtime, compiler, insert something here(??) than Snow Leopard?
I'm not sure how all this works, because for instance on Windows 7, I just install .NET 4.5 and then I can use all the new features just like on Windows 8, except for the Metro apps thingy.

Thanks!
egoalterna is offline   0 Reply With Quote
Old Jan 30, 2013, 01:29 PM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Yes, you need the modern Obj-C runtime. This is distributed as part of the OS, it is not an installable component so you have to have a recent enough OS.
robbieduncan is offline   0 Reply With Quote
Old Jan 30, 2013, 03:44 PM   #3
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
It's the same as your example, but you have Windows XP, so no .net 4.5. Maybe a better example is Visual Studio 2012. If you are on Vista, too bad. No VS2012. ARC is a compilation feature, not a runtime feature. The compiler adds the proper retain/release/autorelease messages for you.

-Lee
lee1210 is offline   0 Reply With Quote
Old Jan 30, 2013, 03:46 PM   #4
egoalterna
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
Thanks for the explanations! I understand now.
egoalterna is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning Obj-c feedback arkmannj iPhone/iPad Programming 11 Apr 24, 2014 11:22 PM
C, Obj-C, C++, some questions argh silentownage001 Mac Programming 24 Feb 12, 2013 01:20 AM
What to learn aside Obj C Will0827 iPhone/iPad Programming 8 Sep 27, 2012 03:07 PM
Student gift card offer if payer is not a student jrrrgoldie iPad 3 Jul 19, 2012 11:52 AM
Need help with indexing (Java or Obj-C) iVikD Mac Programming 5 Jul 5, 2012 05:43 PM

Forum Jump

All times are GMT -5. The time now is 06:50 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC