Download and Save File in iPhone by Swift
In a modern iPhone app, a smooth user experience is quite important. To achieve this, caching the internet resources to local is a good approach. Therefore, to make the app more smoothly when users...
View ArticleDownload File in Swift5 Start Pause and Resume
Several years ago, I post an article to demostrate how to implement download file features in iOS. In that article, I am using swift 2 to write all features including start, pause, resume and show...
View Article8 Best iPhone Tips & Tricks to Try
Each year in autumn, Apple has a tradition to surprise its fans with new devices, features, and new operating systems. Thus Apple devices, including iPhones, have so many features that no matter if...
View ArticleDownload Multiple Files Simultaneously in iOS
Downloading multiple files concurrently is a necessary feature for a download manager app. Using UITableView is the best solution to manage multiple downloading tasks at the same time. In a table, we...
View ArticleiOS CollectionView Brief Tutorial
UICollectionView is widely used in iOS apps. The most common example is the iOS photo app, which has a stylish way to display all photos in grid view or stack view. The collection view provide a simple...
View ArticleSave and Load Downloaded File Locally
My Download Manager app is a real project which will manage download tasks. It allow users to start download a file, pause or resume the download task, and stop a download task. In tutorial 1, I...
View ArticleDownload File in iOS Start Pause and Resume
Downloading files is a common task in most of the iOS app. If you are building an ebook reader, or a comic book reader app, downloading ebooks will be a necessary feature. Last time, I am using a news...
View ArticleXIB vs Storyboard, Which Shall I Choose in iOS Project
xib is the common way to build UI in Xcode. After Xcode 5.5, Apple introduced a new concept, storyboard. The purpose is to provide a better way to make UI simple and easy to manage. If you like, you...
View ArticleiOS Timer Tutorial in Swift
Timer is a very common method to perform a schedule task within a period of time. We can execute the timer once or repeatedly. In this tutorial, I will show you how to use iOS timer in Swift. Once you...
View ArticleSet UIWebView Content not to Scroll When Keyboard is Shown
This week, I have met a problem when I am developing a hybrid app with Cordova (Phonegap). The Cordova app is basing on UIWebView. So the whole app is build by HTML5, Javascript and CSS. Usually,...
View ArticleiOS Customize URL Schemes for Other Apps Calling
These days, I am trying to develop an iOS app which allows other apps to launch it. In iOS, we can customize URL schemes in our app. It will tell iPhone to launch this app when it finds other apps...
View ArticleGet People Name and Phone Number from Contact by Swift
It’s time to learn Swift. After Swift first release in 2014, now more and more people start using Swift as their program language in iOS. Therefore, I decide to use Swift in my current project, loading...
View ArticleSwift or Objective-C Which One Shall I Choose?
As an Apple developer, Swift or Objective-C, which language shall I choose? This is a very good question. Even as an experienced apple developer, it is always hard to decide. As the first time, Apple...
View ArticleSelect and Upload Multiple Photos from Gallery or Camera in iOS
Select and upload photos is one of the most use cases in iPhone and iPad apps. Taking a picture and upload to your Facebook, or share it with your friends in Snapchat, it just looks very common. There...
View ArticleChange UIAlertView After IOS 8
UIAlertView is deprecated in iOS 8 and later. Therefore, we need to use the latest API to show alert view. To make the code more compatible, we can check the system version and implement the alert view...
View ArticleTwo Ways to Download Images in iOS
Downloading images is a very common task in both iOS app and Android app. In Android app, there are several ways to download image by url. It is the same in iOS. Here I will demonstrate two ways to...
View ArticleTwo Ways to Convert JSON String into NSDictionary
JSON is a very simple format for HTTP transaction between app and backend server. Currently, most of public API return data in JSON format, such as Google API. In IOS, there are several ways to convert...
View ArticleCreate a Simple IOS App with PhoneGap (Cordova)
As the project requirement, I will start to use PhoneGap to create a IOS app from scratch. This is my first time to use PhoneGap. Here is my understand about PhoneGap. First, PhoneGap is officially...
View ArticleCreate Animation in IOS Apps With PNG Sequence Files
There are thousands of questions about how to use flash animation in IOS apps because the iphone apps and ipad apps don’t support the flash animation files, or swf format file. Now, I have a solution...
View ArticleCreate Push Segue Animation Without UINavigation Controller
Latest Update: A better way to implement push segue animation without UINavigation bar Apple provides three styles of Storyboard Segue, push segue, modal segue and custom segue. Push segue is a...
View Article