UIImage

Loading 1 or 3 images from server side into UITableView might not be a very challenging task. But when it comes to loading 50 or 100 images into a table view or collection view then things start becoming a little more complex. Especially when  user starts scrolling table view up and down very quickly.  When we…

Read More Display Large Collection of Images in UITableView with SDWebImage

In this video tutorial I am going to share how to add rounded corners to an image and how to make image completely circular.   import UIKitclass ViewController: UIViewController { @IBOutlet weak var profile_picture: UIImageView! @IBOutlet weak var profile_picture2: UIImageView!override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from…

Read More Circular Image or Image with Rounded Corners. Example in Swift

In this video tutorial I am going to share how to upload an image and display the upload progress using the UIProgressView. I am going to use UIImagePickerController to let user select one of the images on their device I will use NSMutableURLRequest to send HTTP POST request with image data to a server side PHP script…

Read More Image Upload with Progress Bar 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