LayerKit v0.23.1 Release Notes
Public API Changes
LYRQueryControllerobjects now permit the developer to invoke
executeWithCompletion:multiple times. This allows for the reconfiguration of queries by mutating the
sortDescriptorsproperties of the
LYRQueryobject driving the controller.
- Setting the
LYRQueryControllerobject to zero will now raise an
LYRClientDidSwitchSessionNotificationnow only get called when client switches between sessions. Previously the client would also notify of the session switch when authenticating for the first time. [APPS-2584]
🐛 Bug Fixes
- Attempting to wait for an invalid object identifier with the appropriate prefix and number of components (i.e.
layer:///invalid/1234) will now return an error instead of crashing.
- 🛠 Fixes the crash in
LYRClientcreation process, where the internal logic tries to create a background
NSURLSessionand fails to compare the session's delegate with self. This happens due to 3rd party libraries (like Crittercism) that use method swizzling and
NSURLSessionDelegate, which causes the pointer comparison to fail. [APPS-2581]
- ⏱ The
waitForCreationOfObjectWithIdentifier:timeout:completion:is now guaranteed to always invoke the completion block on the main thread.