This is a collection of bugs in Swift I encountered during my development adventures.
- A bug which causes memory leaks for a special combination of protocol and generic structures.
- → see the code
- Stack Overflow Question
- Post on Apple Dev Forum
- Discovered in Swift 1.2
- Resolved in Xcode 7 beta 5 (with a beta version of Swift 2.0) ✔
- A bug where downcasting in a protocol hierarchy causes memory leaks.
- → see the code
- The bug is still present in Swift 2.1 (Xcode 7.1).