How to Fix Use Legacy Swift issue in Xcode 8 Beta 3
How to Fix Use Legacy Swift issue in Xcode 8 Beta 3 Dependency Analysis Error Group “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift…
how to use notificationcenter in swift
How to use notificationcenter in swift With NotificationCenter you can broadcast data from one part of your app to another. It uses the Observer pattern to inform registered observers when a notification comes in, using a central dispatcher called…
What is SwiftUI ?
What is SwiftUI ? Although storyboards and XIBs have served us well, they aren’t to everyone’s liking – they can be messy to use with source control, they make it hard if not impossible to move between code and visual layouts, and they rely on a flaky…
Animating View Properties in Xcode with Swift 4 and Auto Layout
Animating View Properties in Xcode with Swift 4 and Auto Layout One way to make your iOS applications more interactive is by adding awesome view animations. They always look cool and are surprisingly easy to accomplish. Tools You’ll Need To be able to…
How to install Application via Test Flight in IOS ?
I found something on how to install Application via Test Flight in IOS . Here, appStoreReceiptURL is an instance property, which we can find from main bundle. Here, I am adding snippet for both Objective-C and Swift. Objective-C - (BOOL)isTestFlight {…
Overriding methods and conforming to protocols in swift
Overriding methods and conforming to protocols in swiftOverriding methods and conforming to protocols in swift When subclassing an Objective-C class and overriding its methods, or conforming to an Objective-C protocol, the type signatures of methods need…
How swift2 and swift3 datatypes mapped with Objective-C APIs
How swift2 and swift3 datatypes mapped with Objective-C APIs Swift 3 interfaces with Objective-C APIs in a more powerful way than previous versions. For instance, Swift 2 mapped the id type in Objective-C to the AnyObject type in Swift, which normally…
How can I delete a row from UITableView?
How can I delete a row from UITableView? In iOS app, user normally swipes across a row to initiate the delete button. Recalled that we have adopted the UITableViewDataSource protocol, if you refer to the API doc, there is a method named…
Swift 3 – Structs !
Swift 3 – Structs ! Classes and structures are general-purpose, flexible constructs that become the building blocks of your program’s code. You define properties and methods to add functionality to your classes and structures by using exactly the…
what is Swift Enumeration !
what is Swift Enumeration ! An enumeration is a user-defined data type which consists of set of related values. Keyword enum is used to defined enumerated data type. Enumeration in swift also resembles the structure of C and Objective C. It is declared…