Posts

Showing posts with the label development

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. Added and upd

Extensions in Swift 3.0

As the previous post I  explained Protocol .  So What's new here? Today I wrote about Extensions, very powerful in swift.  Extensions :-  I f you are familiar with objective c “Category” then digest this swift concept is simple. It serves the almost same purpose.  Extensions allow us to add additional functionality to an existing class structure and enum type. Which adds the power of extends type for which class you do not have access to original source code, the process know as Retroactive Modelling. We use “extension” keyword to create the extension. extension TestClass { } Note that to define extensions , we use the extension keyword followed by the type we would like to extend.  Even we can create the extension inbuilt class, String, Array, etc. Extensions Functionalities: Extensions with Protocol conformance:- you can extend an existing ‘type’ to adopt and just to conform new protocol even you do not have the original class of ‘type’.