Post

Replies

Boosts

Views

Activity

NSOperation Quality of Service Promotion
According to the archived Energy Efficiency Guide for iOS Apps I should be able to change an NSOperationQueue's qualityOfService and promote its operations to the new qualityOfService. This does not seem to be true anymore but I can't find any current documentation on how to promote a queued NSOperation. Does anyone know how to achieve QoS promotion of a queued operation? It seems like whatever the operation's resolved QoS is at the time it is added to the queue is the QoS used when the operation is run regardless of changes made to the queue or the operation before it runs.
0
0
662
Feb ’22
Dynamic Type and Widget Layout
I have a ToDo list app with an accompanying widget that displays upcoming items with an 'n more...' label at the bottom if they don't all fit. At the moment the number of rows is hard-coded based on widget family (4 for small and medium, 11 for large). How do I make the row count and 'more' text adjust for dynamic type sizes? Small and medium fonts should display 4 rows while large will only fit 3 before content is pushed off the bottom.
1
0
1k
Jul ’23