Tag: Swift
All the articles with the tag "Swift".
-
Finding exact difference between 2 instances
Have you ever written tests? Usually, they use equality asserts, e.g. XCTAssertEqual, what happens if the object isn't equal? Xcode throws a wall of text at...
-
How to find retain cycles and memory leaks sooner
LifetimeTracker can surface retain cycle / memory issues right as you develop your application, and it will surface them to you immediately, so you can find...
-
Using protocol compositon for dependency injection
I like using composition and dependency injection, but when you need to inject each entity with multiple dependencies, it can get cumbersome fast.
-
Stop weak-strong dance
Closures in Swift are extremely useful, they are interchangeable with functions and that creates a lot of opportunities for useful use-cases. One thing we...
-
Testing iOS Apps
Writing tests in iOS apps is a touchy subject. Not everyone is so privileged to be able to write tests full-time, for different reasons.
-
How hard would it be to adjust your iOS app in real-time?
Iterating over design that needs to be reflected in code can be tedious and time-consuming. Typically the designer works in graphics editing software and...