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
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
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
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
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
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
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