List of cocoa permission keys for IOS,Mac OS,Tv OS,Watch OS !
cocoa permission keys Cocoa and Cocoa Touch are the environments used to define apps that run in macOS, iOS, tvOS, and watchOS. The keys associated with the Cocoa environments provide support for Interface Builder nib files and provide support for other…
Tips to Become a Swift Developer
So, you’ve been around with Swift for a couple of months. Now, you want to become a better Swift Developer? Improve the Readability of Constants import Foundation struct Constants { struct FoursquareApi { static let BaseUrl =…
How to create login screen with alert view Controller using UIAlertController in SWIFT
How to create login screen with alert view Controller using UIAlertController in SWIFT Alert views can also be used with text field. You can use it to quickly get some input text to image or table.How to take text input with alert view. 1. First lets set…
Swift Programming Language Interview Questions And Answers-2
Swift Programming Language Interview Questions And Answers – Explain what is Swift Programming Language? Swift is a programming language creating applications for iOS and OS X. It is an innovative programming language for Cocoa and Cocoa Touch.…
Manually Adding a Swift Bridging Header !
Swift Bridging Header Does Xcode automatically create one for me?Yes. Add a new Swift file to your Xcode project. Name it as you please and you should get an alert box asking if you would like to create a bridging header. Note: If you don’t receive a…
Migrate from Swift 2.3 to Swift 3 and xCode 8 !
Upgrade to Xcode 8 without migrating to swift 3 ! We’re well into the betas of Xcode 8 which will contain the final release of Swift 3, hopefully set for release around the first couple weeks of September. With this next release of Xcode, we’re…
Swift Technical Interview Questions and Answers !
Question #1 – Swift 1.0 or later What’s a better way to write this for loop with ranges? for var i = 0; i < 5; i++ { print("Hello!") } Answer: for _ in 0...4 { print("Hello!") } Question #2 – Swift 1.0 or later struct Tutorial { var difficulty: Int =…
Swift Sets and their Methods in IOS !
In Objective-C there were three basic types of Data Structures, NSArray, NSDictionary, and NSSet. In Objective-C, the immutable and mutable forms were separate, so you also had NSMutableArray, NSMutableDictionary, and NSMutableSet. In Swift we were…
How to create uitableview with multiple sections in iOS Swift !
uitableview with multiple sections Uitableview is very important part of iOS ecosystem. Everything from songs playlist to weight trackers use tableview to show data. When you have 10,000 songs or number of rows in your table then its difficult to find…
ERROR Handling in swift !
ERROR Handling in swift Ideally, errors should never occur. File we need should always be available and networks should always be present and reliable. Unfortunately this reality is not ideal and we have to deal with the consequences. Thankfully the…