Home  »  Xcode
Tagged   Xcode

How To Use UICollectionView In Swift 2, iOS 9 Application

Posted on 16 Oct 2015
UICollectionView


Sample project demonstrate how to use UICollectionView within iOS Application (Swift 2, iOS 9). i.e. How to create custom cell using UICollectionViewCell, How to change corner radius of cell image runtime when UIStepper value changed.

Technology used
– UICollectionView, UICollectionViewCell.
– UICollectionViewDataSource, UICollectionViewDelegate.
– UIStepper.
– Fill up collection view using data source.
– Creating custom cell for collection view.
– Changing image corner radius runtime using UIStepper.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UITableView In Swift 2, iOS 9 Application

Posted on 15 Oct 2015
UITableView


Sample project demonstrate UITableView usage within Swift based iOS 9 application. i.e. how to display multiple section within table, and fill up data within rows for each section. When clicked on a row, it will pass clicked row item name to DetailsViewController that will display passed item name on details screen.

Technology used
– UITableView.
– Display multiple section within UITableView.
– Fill up data within UITableView rows.
– Perform navigation when clicked on a single row.
– Navigate to details screen that shows clicked item name.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UITabBar In Swift 2, iOS 9 Application

Posted on 14 Oct 2015
UITabBar


Swift based iOS 9 application demonstrate how to implement Tab based flow using UITabBar. This example also shows how to implement navigation within a single tab. e.g. Contact screen have “Map” button placed at top bar, when it clicked, it will perform segue and navigate to “Location Map” screen via navigation controller.

Technology used
– UITabBar.
– Set navigation within a Tab.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UINavigationBar In Swift 2, iOS 9 Application

Posted on 13 Oct 2015
UINavigationBar


Sample iOS application (build using Swift 2, Xcode 7, iOS 9) demonstrate how to navigate screen using ‘segue’. It also shows how to set title for destination screen by overriding prepareForSegue function.

Technology used
– Using segue for navigation.
– Perform segue on UIButton Action.
– Overriding prepareForSegue function.
– Set Title for destination screen.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UIWebView In Swift 2, iOS 9 Application

Posted on 12 Oct 2015
UIWebView


Sample iOS 9 application (Swift 2, Xcode 7) demonstrate how to load web page within UIWebView component. It also shows other functionality like refresh url, Display UIActivityIndicator until content loaded, UIWebViewDelegate usage.

Technology used
– UIWebView, UIWebViewDelegate.
– How to load web page/url.
– How to refresh url.
– Display UIActivityIndicator until content loaded.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

PrashantKumar Mangukiya
Native iOS / Hybrid Mobile Application Developer
LinkedIn Profile   GitHub Profile   Twitter Profile

Browse by Category

Follow Me on Twitter

Other Post

OSM Satsang -- iOS, Swift based Audio Player App. iOS App Released – OSM Satsang (Download tracks and play offline) - 04 Jun 2016
Geo Target Note iOS App Released – Geo Target Note - 19 May 2016
Swift Core Image Filter - CIImage and CIFilter Swift Core Image Filter – CIImage and CIFilter - 24 Nov 2015
Swift Video Player using AVPlayerViewController - 10 Nov 2015
Swift Audio Player using AVFoundation Library Swift Audio Player using AVFoundation Library - 05 Nov 2015
Using MKMapView in Swift, MapKit Using MKMapView in Swift, iOS Application - 02 Nov 2015
Go to Top