Home  »  iOS
Tagged   iOS

How To Use UIDatePicker In Swift 2, iOS 9 Application

Posted on 06 Oct 2015
UIDatePicker


Sample project demonstrate how to use UIDatePicker within Swift 2, Xcode 7, iOS 9 application i.e. read date value and assign to UILabel when user change component within UIDatePicker runtime.

Technology used
– UIDatePicker.
– UILabel.
– Read date value from UIDatePicker.
– Assign date value to UILabel.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UIScrollView In Swift 2, iOS 9 Application

Posted on 05 Oct 2015
UIScrollView


Sample project demonstrate how to use UIScrollView within Swift 2, Xcode 7, iOS 9 application. i.e. How to set scroll view content size, content offset, zoom scale etc. It shows how to add UIImageView runtime and set Default, Minimum, and Maximum Zoom Scale. It’s using UIScrollViewDelegate method for detecting zoom.

Technology used
– UIScrollView, UIScrollViewDelegate, UIImageView.
– How to set UIScrollView Content Size, Content Offset, Zoom Scale etc.
– How to add UIImageView runtime and set Default, Minimum, and Maximum Zoom Scale.
– How to use UIScrollViewDelegate method for detecting zoom.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UIImageView In Swift 2, iOS 9 Application

Posted on 04 Oct 2015
UIImageView


Sample project demonstrate how to use UIImageView within Swift 2, Xcode 7, iOS 9 application. Set it’s ContentMode runtime. (e.g. ScaleToFill, ScaleAspectFit, ScaleAspectFill, Redraw, Center, Top, Bottom, Left, Right, TopLeft, TopRight, BottomLeft, BottomRight).

Technology used
– UIImageView.
– Set UIImageView ContentMode runtime.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UIStepper In Swift 2, iOS 9 Application

Posted on 03 Oct 2015
UIStepper


Sample project demonstrate how to use UIStepper within Swift 2, Xcode 7, iOS 9 application. It shows how to read UIStepper value and use it for various purpose i.e. Set UILabel text, Change UILabel Font Size.

Technology used
– UIStepper
– UILabel
– Read UIStepper value and set to UILabel.
– Change UILabel font size based on UISteppe value.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Read more  

How To Use UIProgressView In Swift 2, iOS 9 Application

Posted on 02 Oct 2015
UIProgressView


Sample project demonstrate how to use UIProgressView within Swift 2, iOS 9 application. i.e. how to Increment progress programmatically, Reset it etc. NSTimer used for increment progress at certain time interval. This example also demonstrate NSTimer usage in practical way.

Technology used
– UIProgressView.
– NSTimer, UILabel, UIButton.
– Start/Stop NSTimer.
– Update progress at certain time interval.
– Set UIProgressView value to UILabel.
– 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