In this video tutorial I am showing how to customize UINavigationBar by: changing its background color (barTintColor) set UINavigationBar Title text tint color (NSForegroundColorAttributeName) set UINavigationBar background image change Back button tint color change Bar Button item tint color Source code: // Set navigation bar tint / background colour UINavigationBar.appearance().barTintColor = UIColor.redColor() // Set Navigation bar Title colour…

Read More Customize UINavigationBar appearance in Swift

In this video I demonstrate how to implement a feature that allows users of your mobile app to rearrange table cells. Users will be able to grab the table cell and drag and drop it at a different position in table view. Source code: import UIKitclass MyTableViewController: UITableViewController {var dataHolder:Array = [“One”,”Two”,”Three”] override func viewDidLoad()…

Read More UITableViewController rearrange or reorder table cells example in Swift

In this video I show you how to implement a feature that allows user to delete UITableViewCell. Source code: // // MyTableViewController.swift // MyTableCellDeleteExample import UIKit class MyTableViewController: UITableViewController { var dataHolder:Array = [“One”,”Two”,”Three”] override func viewDidLoad() { super.viewDidLoad() // Uncomment the following line to preserve selection between presentations // self.clearsSelectionOnViewWillAppear = false // Uncomment…

Read More UITableViewController delete table cell example in Swift

In this video I demonstrate how to programmatically add several images as subviews to UIScrollView in Swift. In my example I use UIImageView but it can be a custom user interface design ex. XIB file. To learn how to create your own reusable custom user interface files watch this video: Creating custom user interface files…

Read More UIScrollView Programmatically Add UIImageView as SubView. Example in Swift.

In this video I am showing you how to create custom user interface file with XIB in Xcode 6 and how to load it as a Subview programatically as well as using Main.storyboard. Source code of MyCustomView file: import UIKit @IBDesignable class MyCustomView: UIView { @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var myImage: UIImageView!…

Read More Creating custom user interface files with XIB in Xcode 6 and Swift

In this video I am going to show you how to build lengthy user interface that does not fit into a view and needs to scroll. I am going to use Xcode visual editor only and will not be writing any code manually.

Read More UIScrollView example. Building lengthy user interface that doesn’t fit and needs to scroll.