Darshan PatelCustomReflectable Protocol in swiftReflection in Swift is a way of providing read-only access to information about objects.Sep 6, 2019Sep 6, 2019
Darshan PatelCustomStringConvertible protocol in swiftCustomStringConvertible is a protocol that allows the confirming type to provide their own representations to be used when converting…Sep 5, 2019Sep 5, 2019
Darshan PatelEnum and Equatable in Swiftif you want to compare two instances of a type in Swift, then that type must conform to the Equatable protocol.Aug 29, 2018Aug 29, 2018
Darshan PatelExpressibleByArrayLiteralif you would want to create an instance of your type by simply using array literals. you can do it very easilyAug 29, 2018Aug 29, 2018
Darshan PatelExpressibleByStringLiteralIn first part we had gone through the types of ExpressibleLiteral protocols provided by swift language.Aug 27, 2018Aug 27, 2018
Darshan PatelExprissibleByLiteral Protocol in swift : Part 1The swift standard library types such as Int, Double, Arrays, Dictionary etc are conform to the ExprissibleByLiteral protocol.Aug 27, 2018Aug 27, 2018