Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2006-08-01

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

Download Sample Code (“DynamicProperties.zip”, 16.9K)



Description

Demonstrates dynamically resolved properties. Uses a new feature of the Objective C 2.0 runtime:  dynamically resolved methods.

 

Possible uses of dynamic method resolution:  faulting in method implementations that reside in dynamically loaded libraries;  runtime environment specialization, such as choosing between different method implementations based on the capabilities of the OS or underlying processor; lastly language bridges could use dynamic method resolution to lazily bind their object wrapper methods.

Document Revision History

Date Notes
2006-08-01Demonstrates dynamically resolved properties, using a new Objective C 2.0 feature:  dynamically resolved methods.
Did this document help you? Yes It's good, but... Not helpful...