In this Swift code example, you will learn how to create UIImageView programmatically and how to load an image from a remote URL. Create UIImageView and UIImage programmatically, Load image data from a remote URL, Learn how to use dispatch_get_global_queue to start a background thread, Learn how to use dispatch_get_main_queue to update UI when the…Read More UIImageView and UIImage. Load Image From Remote URL.
In this Swift tutorial, you will learn how to encode UIImage data to Base64 string. To verify that the UIImage data was correctly encoded into the Base64 string, we will decode the Base64 string back into image data and will create a new UIImage using this data. Create UIImage Before I can encode existing image…Read More UIImage Base64 Encoding and Decoding in Swift
In this tutorial, you will learn how to load an image from a remote URL in Swift and display it in your mobile app. If you are new to working with images have a look at the following two tutorials first: Create UIImage and UIImageView programmatically, Create UIImageView with rounded corners in Swift. Create an…Read More Load Image From Remote URL in Swift
In this Swift tutorial, you will learn how to make UIImageView corners rounded. To learn how to programmatically create new UIImage, add it to UIImageView and make it visible in your app, have a look at the following tutorial: Create UIImage and UIImageView Programmatically Create UIImage and UIImageView To make image corners rounded, I will…Read More UIImageView Rounded Corners in Swift
In this tutorial, you will learn how to create UIImage and UIImageView in Swift programmatically. Add Image to Xcode Project For your app to be able to display an image, the image needs to be either added to your app bundle or loaded from the Internet using an image URL. For this tutorial, I will…Read More Create UIImage and UIImageView Programmatically
I want to share with you a collection of more than 80 Xcode productivity tips that I recently discovered. Last night I went through 20 of them watching non stop,…Read More Xcode Tips and Tricks to Work with Images