1

I heard something unknown non-fragile methods in Objective-C. What's this?

eonil
  • 83,476
  • 81
  • 317
  • 516
  • I've only heard of (non-)fragile ivars and (non-)fragile base classes. http://www.cocoadev.com/index.pl?WhatIsNonFragileInstanceVariables – BoltClock May 07 '11 at 03:32

1 Answers1

2

There’s no such thing as non-fragile methods in Objective-C.

On the other hand, non-fragile instance variables are a mechanism that allows the layout of a class to be modified whilst keeping compatibility with code that isn’t aware of the layout change.

This is useful for modifying classes in a framework without affecting subclasses residing outside of the framework, and it also allows class extensions to define instance variables, including declared properties.

Community
  • 1
  • 1