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

Operators

A collection of 3 posts
Swift 3.0

Swift 3.0 - What is as, as? and as! operators?

We all have been there where language offers plethora of options. However, I have quite experienced that bunch of features sometimes cause confusion even though individual feature is easier to understand. When all the features come at once, it gets quite scary to remember what goes where. In this post
May 18, 2017 4 min read
Swift 3.0

Equality and Comparison with custom objects in Swift (Equatable protocol)

Few weeks ago I ran into frustrating problem. I was dealing with custom objects in Swift. (Actually struct with properties). They were being stored in an array. Now, this array was going to undergo frequent activity due to user action such as adding new elements and avoiding duplicates. So while
Feb 10, 2017 2 min read
Creating Custom Operators in Swift with Generics
iOS

Creating Custom Operators in Swift with Generics

Swift introduced us to a new era of custom operators. Unlike Objective-C, it allows us to define our own operators and perform operator overloading on existing operators if necessary. We will see both of them in detail in today's article. Custom operators can provide excellent clarity and flexibility down the
Feb 7, 2017 6 min read
Fresh Beginning © 2025
Powered by Ghost