Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact

Advanced Swift

A collection of 7 posts

NSNotifications, Notification Center, Advanced Swift, Interview

Implementing custom NotificationCenter in Swift

NSNotificationCenter is a classic API on iOS. It's used so that classes can register for notifications by name and execute the function/block whenever the notification with same name is fired somewhere else

  • Jayesh Kawli
4 min read
UICollectionView, UICollectionViewCell, Tutorial, Swift, Advanced Swift

Tutorial - Creating Programmatic UICollectionView in Swift

Creating a UICollectionView could be stressful - As compared to dealing with UITableView. But things don't have to be this way for so long. Every time I have to add a CollectionView in

  • Jayesh Kawli
6 min read
UITableView, HeaderView, FooterView, Advanced Swift, UIKit

How to add HeaderView and FooterView to UITableView

Recently I was playing with support to add header and footer view to UITableView. However, task wasn't as easy as adding UITableViewCells to the table view. Header and Footer views acts slightly different

  • Jayesh Kawli
3 min read
Minesweeper, Game, Side Projects, Refactor, Advanced Swift, Swift, Objective-C

Rewriting a Minesweeper - Part 3

Welcome to part 3 of the Minesweeper game. Today we will see logic behind some of the core and bonus features in the game. Highlighting tilesTiles highlighting is triggered when user taps on

  • Jayesh Kawli
3 min read
Minesweeper, Game, Side Projects, Refactor, Advanced Swift, Swift, Objective-C

Rewriting a Minesweeper - Part 2

Happy new year to all. I guess as I am getting old, I am not feeling enthusiastic enough about new years. There is one thing I am excited about though. Writing a rewriting

  • Jayesh Kawli
6 min read
Minesweeper, Game, Side Projects, Refactor, Advanced Swift, Swift, Objective-C

Rewriting a Minesweeper - Part 1

I am going to being this series of post on how I found my 4 year old Minesweeper game project written in Objective-C and process to start converting it into Swift. My goals

  • Jayesh Kawli
2 min read
iOS, Swift 3.0, Xcode 8.2.1, Xcode 8.2, Custom Operators, Advanced Swift, Tutorial, Swift, Infix, Postfix, Prefix, Generics, Operators

Custom Operators in Swift with Generics

Swift introduced us a new era of custom operators. Unlike Objective-C, it will allow us to define our own operators and perform operator overloading if necessary. Although I haven't come across such use

  • Jayesh Kawli
4 min read
Fresh Beginning © 2021
Latest Posts Ghost