Skip to content
Snippets Groups Projects
user avatar
Marcin Krzyzanowski authored
Replace preconditionFailure with assertionFailure and return early when
encountering an invalid range in addAttributes(_:range:updateLayout:). This
avoids crashing in release builds if an invalid range is passed.
d30b176b
History
Name Last commit Last update