iOS

iOS UIButton Introduction

Buttons are the most commonly used and simplest controls in iOS applications and are often used to respond to user actions. Generally we use UIButton class to implement the button. This section will focus on adding buttons, beautifying buttons, and how to implement button responses.

iOS Autolayout Introduction

How did you set up UI layout in older iOS application development? Write a lot of coordinate calculation code? To ensure a perfect UI effect on both the 3.5-inch and 4.0-inch screens, you sometimes have to write different coordinate calculations for each screen? But now with iOS autolayout function, things change to better.

iOS Objective-C Hello World Example

Objective-C is the primary coding language in iOS development. For every iOS coding beginner, it is important to learn the hello world example first. This article will introduce Objective-C’s basic programming grammar,  code structure and commonly used classes with examples.

iOS NSURLSession Tutorial

NSURLSession was introduced with the release of iOS7 in 2013, Apple is positioning it as a replacement for NSURLConnection. Now, the most widely used third-party network frameworks, such as AFNetworking, SDWebImage, etc. are all use NSURLSession.

iOS Event Delivery Introduces And Example

When iOS application starts, the UIApplicationMain function will create a single instance of a UIApplication. This single instance maintains a FIFO queue for event distribution. When the system detects a touch event, it will send the event to the current singleton application to distribute. The distribution is divided into three processes.