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

Operators

A collection of 3 posts

Swift 3.0, Operators, Protocols, Downcasting, Upcasting, Casting, protocol conformance, Swift

Swift 3.0 - What's 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

  • Jayesh Kawli
4 min read
Swift 3.0, Custom Operators, Tutorial, Tips, Equality, Comparison, UseYourLoaf, WeHearSwift, Sorting, Swift, Xcode, Operators, Equatable

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

  • 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