5 ms·
Does swizzling really have a place in well-designed software today? (edit: changed everything. ;-)
by cpr 14y ago
Does swizzling really have a place in well-designed software today?
(edit: changed everything. ;-)
- tumultco 14y agoI only use it in cases where an underlying framework does not expose or provide the functionality I need (and subclassing is not an option). I wouldn't necessarily say it means these frameworks are not well-designed though.
- bronxbomber92 14y agoIt's also useful for developing developer tools (for the same effect as interposing).
- pjmlp 14y agoYes, at least in unit tests. Sometimes you need to call stuff which you cannot work around so it is required to patch calls.