logo

The Most Common Issues I've Caught Reviewing Swift

ID: 2a254b70-6184-5dd6-a2b6-1e29b7a83b71

STIX ID: report--2a254b70-6184-5dd6-a2b6-1e29b7a83b71

Feed Name: HackerOne Blog

Date Published: 2020-02-24

Date Updated: 2026-06-12

...
...

This article by Chris Griffith explains three common Swift coding issues: (1) correct handling of ARC (strong, weak, unowned references and closure captures) to avoid memory leaks and crashes, (2) safe unwrapping of optionals (if/guard, optional chaining, and cautions about implicit/force unwrapping), and (3) using Codable effectively for JSON serialization (including CodingKeys, decoder strategies, and enums). It provides examples and recommendations to write safer, more idiomatic Swift code.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.