Swift Optional: Distinguish nil, Empty Text, and Zero
Test six inputs, preserve missing and invalid states, and verify when a nil-coalescing fallback runs instead of treating zero as absence.
Read articleDIG BY TOPIC
Choose an area and follow its newest articles or start from the foundations.
TOPIC GROUP 01
Connect language and runtime concepts to real app architecture.
Learn Swift and Objective-C syntax, type systems, runtime behavior, and concurrency from first principles.
Test six inputs, preserve missing and invalid states, and verify when a nil-coalescing fallback runs instead of treating zero as absence.
Read articleCreate and break a strong cycle, observe weak references becoming nil, and distinguish an optional unowned reference from automatic zeroing.
Read articleTOPIC GROUP 02
Link design, quality, and computer science across platforms.
Change code safely with tests and refactoring while maintaining quality.