An author compares a few approaches for converting a UIImage to Data in a less memory consumption way. One of them is using autoreleasepool with UIImageJPEGRepresentation. 🤔
https://bencoding.com/2017/03/07/thinking-about-memory-converting-uiimage-to-data-in-swift/
#optimization #iOS
https://bencoding.com/2017/03/07/thinking-about-memory-converting-uiimage-to-data-in-swift/
#optimization #iOS
bencoding
Thinking about Memory: Converting UIImage to Data in Swift
How often do you convert a UIImage into a Data object? Seems like a relatively straight forward task, just use UIImageJPEGRepresentation and your done. After doing this I started seeing memory spik…
“pod-merge is a Cocoapods plugin to merge dependencies (or pods) used by your Xcode project, to reduce the number of dynamic frameworks your app has to load on app startup.” 🤔
https://swiftier.co/2019-10-17/announcing-cocoapods-pod-merge
#optimization #cocoapods
https://swiftier.co/2019-10-17/announcing-cocoapods-pod-merge
#optimization #cocoapods