swift 5 func to increase number every time call it self code example Example: swift 5 func to increase number every time call var n = 0 func increment(){ n++ return n }