Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

Swift 4.2

A collection of 2 posts
Swift Value and Reference type semantics - Structs, Classes, Struct inside Class, Class inside Struct
memory semantics

Swift Value and Reference type semantics - Structs, Classes, Struct inside Class, Class inside Struct

Long ago Swift introduced a nice concept differentiating between value and reference semantic using Struct and Classes. As we all know, Struct is a value semantic, which means when value of one struct is assigned to another struct, only value is copied, not the reference - Which in other words
Dec 22, 2019 9 min read
Writing unit tests for Minesweeper game
Minesweeper

Writing unit tests for Minesweeper game

Yesterday was quite a productive day to conclude the refactor project. Especially I venture into the most sacred territory of any good software - Unit testing. Here are the screenshots of test coverage taken before and after writing tests It was overall a big win. Especially after I felt so
Jan 6, 2019 2 min read
Fresh Beginning © 2025
Powered by Ghost