Ryan Nystrom

Results 32 issues of Ryan Nystrom

Love [this blog post](https://felginep.github.io/2018-11-23/attributed-string-with-style)! Removing all color/font from building would be amazing. Instead: - Use "style builder" pattern that registers styles - Need to still be able to "push" and...

enhancement

This blog post was great! We could get rid of all the hacky font-scaling math. https://www.iosdev.recipes/fonts/ui-font-metrics-and-resizable-text/

enhancement

h/t @SD10 for the idea! Inspired by [TTTAttributedLabel](https://github.com/TTTAttributedLabel/TTTAttributedLabel/blob/b0f1f93d5d4368a7aaf52e848013a1b40b00dc3c/TTTAttributedLabel/TTTAttributedLabel.m#L220).

Idk how best to combine these, but would improve rendering huge chunks of text. - `mmap` bitmap from disk - All layers in memory defeats the purpose - LRUCache can...

- Draw on a bg thread, come back to main to set contents - Technically `CALayer` stuff is thread safe (IIRC from ASDK) - Prevent race conditions

We should have a public API to get a cell given a view model in the [binding section controller](https://github.com/Instagram/IGListKit/blob/master/Source/IGListBindingSectionController.h). Question, how do we make this an O(1) operation? Right now...

enhancement
starter-task

It's not super clear how to use this in conjunction with IGListKit, like how to use `NSIndexPath` and item/section. We should add some examples, explanation to [this documentation](https://github.com/Instagram/IGListKit/blob/master/Source/IGListAdapter.h#L65-L70). Inspired by...

enhancement
starter-task

Require a `dismiss` call. Sent with GitHawk

If view is centered in the viewport, center the container frame. Sent with GitHawk

enhancement