Posts

Showing posts with the label WWDC

Implicitly Unwrapped Optional

As you have checked in the last article in which you have learned about the Optional, Optional value and Optional binding. Want to recall here you go -  Take a look! Sometimes you are sure when an optional has a value when it is set very first time. So it’s not necessary to check the if condition and unwrap the optional value for every time when you want to use that value. Because as you will be assuming that there is a value. So these kinds of optional defined as Implicitly unwrapped optional. So we use (!) to put in place of (?) right after the value which you want to make as optional. The primary use of implicitly unwrapped optional during the class initialization. As you might initial an optional value with some value or default value so.  Example: let optionalString: String ? = "optional" let forcedUnwrappedString: String = optionalString ! above line of code clearly, states we are storing the optional string in 'optionalString' and...

What's New in iOS 11.0

As Y'all know #WWDC17 already started. So here you can find new dishes !! in your dev plate. Few dishes like ARkit, Musickit and etc. You will loveit. I am just writing main points below for more details please check the release notes link in the bottom of the page. ********* General  ********* New - Support for binary (non-text) barcodes. Added API To: AV Foundation Core Image Sirikit  Support detection, decoding and creating barcodes with binary content Added  CIBarcodeDescriptor , a new barcode descriptor object to Core Image to provide interoperability with AV Foundation and the Vision APIs. ********* ********* New - MusicKit. ********* ********* MusicKit gives your app access to the full Apple Music catalog, and to the user’s library. MusicKit gives your app access to the full Apple Music catalog, and to the user’s library. Added and updated functionality in StoreKit for retrieving client tokens and storefront identifiers. Add...