Infinum #iOSCocoaTreats - weekly dev newsletter
May 23 2019
Disposing RxSwift’s Memory Leaks, Indirect Enums, UIButton Padding, and How to Translate an ARM App to Intel
One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Swiftenstein is a partial reimplementation of ID Software's 1992 classic FPS
in Swift for iOS. It is not a complete game, just a single-level tech demo.
Disposing RxSwift’s Memory Leaks
Learn how to track down memory leaks in your iOS app, and more specifically, you RxSwift-based code base.
What are indirect enums?
Indirect enums are enums that need to reference themselves somehow, and are called “indirect” because they modify the way Swift stores them so they can grow to any size.
UIButton: Padding Between Image and Text
Pop quiz: in a `UIButton`, how do you set a padding of 10pt between the image and the title?
CwlViews is a library that offers declarative construction for all common iOS and macOS view and application objects.
Wrapping sequences in Swift
Let’s take a look at how we can wrap Sequence in generic containers, that’ll let us encapsulate various algorithms behind easy-to-use APIs.
Translating an ARM iOS App to Intel macOS Using Bitcode
Since then, Bitcode has proven instrumental in the seamless overnight transition of watchOS to 64-bit, where developers didn't even need to recompile their apps.
From Problem to Solution
Soroush discusses abstraction — what it is, and what it isn’t. He steps through the process of taking code that went from good to bad, and find ways to make it good again.
Bluetooth's Complexity Has Become a Security Risk
Bluetooth and Bluetooth Low Energy are incredibly convenient—but increasingly at the center of a lot of security lapses.
Building a Scrollable Custom Tab Bar in SwiftUI, Swift 5.8 and more!
Arbitrary SwiftUI Linear Gradient Rotation, Xcode 16.3, iOS 16.4 and more
Using User Defaults to store preferences in Swift, Swift Cookbook and more...
Color-naming systems, mastering charts and more!
30 000 lines of SwiftUI, Peer Feedback, Master Charts and more!
Storyboard or Code, VisionKit, iOS 16.3 and more!
ChatGPT with SwiftUI, M2 Pro, M2 Max and more!
iOS 16 Photo Picker, SwiftUI Charts, Tips to Survive in Tech and more!
iOS Developer Trends, Enums explained, SwiftUI and more...
Announcing Lottie 4.0, SwiftUI Lifecycles and more!