user2236165
user2236165

Reputation: 741

Do iOS and OSX use the same Objective-C runtime?

The question is in the title. I have to write about the iOS runtime environment and was wondering if it uses the same runtime environment as OS X?

Upvotes: 0

Views: 671

Answers (1)

falsecrypt
falsecrypt

Reputation: 1616

The Objective-C 2.0 runtime library ("modern runtime") is used by iOS Apps and all 64 bit Mac OS X Apps. All other applications use "legacy" ObjC runtime (32 bit Mac OS X Apps). The concrete implementation is slightly different for iOS and Mac OS X, of course.

Objective-C Runtime Programming Guide

Upvotes: 3

Related Questions