The alloc method is disabled in Swift, and when you instantiate Objective-C in Swift, you don't call the alloc method, you call the constructor method...
With the iPhone5S, apple has already switched to an arm 64-bit processor. Generally speaking, the number of bits of the processor is generally related to...
At Teehan+Lax, we have been working on the Krush project for several months now. Krush is a very interesting app from an iOS architecture perspective,...
Runtimeobjective-c is a very dynamic programming language, which is quite different from C, C++ and other languages. Objective-c dynamics is the interface base provided by...
Objective-c provides tools that allow us to extend class definitions: categories, extensions, and protocols. Classes: Add new methods to a known class; Extension: notify the...
Engineers with less than 3 years of software development experience and about 1 year of iOS platform development experience are generally in the rookie stage,...
Weak pointer We usually use __weak as a weak reference for a variable. Once released, the __weak variable is automatically set to nil__unsafe_unretained. The weak...
The target has been reading some advanced iOS books and making simple notes to impress. Effective+Objective-C2.0 52 Effective Ways to Write High Quality iOS and...
What are attribute variables and member variables in ios? What is an instance variable? What's the connection between them? What is the specific method of...
There are currently two official languages being promoted for iOS development: Objective-C and Swift. Today, we'll help you become more familiar with Objective-C and talk...
CAAnimation implements the KVC protocol. Properties can be accessed using -setValue:forKey: and -valueForkey: methods. But CAAnimation, like NSDictionary, can set keys at will. So, it...
Select company - and project-related prefixes for the class names. To avoid conflicts caused by repeated references to third-party libraries, prefix them if necessary. Provide...
RunLoop is a very fundamental concept in iOS and OSX development and is behind many common technologies. Although most developers rarely use RunLoop directly, understanding...
AutoreleasePool: Automatic release pool is an automatic release mechanism provided by OC. It has the feature of deferred release. When we create an object and...
Preface in a previous article briefly mentioned this problem, but their own writing is not detailed, and their in-depth understanding is not particularly much, in...
Product requirements, as shown below, without triggering UISearchBar 1. The default prompt text is left. 2. Delete the default display of the button and replace...