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.
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 are all using NSURLSession.
When the 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.
TestNG can help you to run and manage automation tests easily. It provides a lot of methods to control the test method execution order, this article will show you how to do it.
1. Problem. The company performs normal login operations on the HTTPS server (port 443) ( https://ip1:443/ ), then the data file upload is processed on port 666 ( https://ip1:666/ ). The server verifies and saves sessions in the cookie after successful login at https://ip1:443/, but then upload the file to the port 666 (https://ip1:666), and …
Performance is especially important for iOS applications, However, due to the limitations of iOS devices, it is sometimes difficult to perform well. This article will just give you some advice about how to make iOS app performance better.
Regular expressions can be used to quickly match a very complex text logic using only a very short expression statement. Mastering regular expressions skillfully can greatly improve your development efficiency. This article will show you some regular expressions which are commonly used.