1.2 Packages are a common problem with community apps (including Posting, im, etc.). Your app enables the display of user-generated content but does not have...
Constructors, also known as initializer methods, are familiar to you. Whether you're dealing with a class or struct, you can't escape the initialization step. But...
Advertising Swift iOS development books, to help you get started developing http://www.ituring.com.cn/book/2413 body usually give UILabel set the text, we are all set properties UILabel....
The regular network layer is common in iOS applications. They are bad for several reasons: Moya's basic idea is that we need some network abstraction...
Monitoring programming is the best term I think to describe an Observable. This is crucial to understanding RxSwift. App development must be data-driven interface, and...
This article mainly introduces generic functions, generic types, type constraints, associated types, storage of non-generic protocols, why swift cannot directly support the storage of generic...
I recently had a problem with the emoticons keyboard, and I used UICollectionView to lay out emoticons, and I used horizontal page scrolling, but on...
StackView has many layouts that can be combined with landscape and vertical layouts, in which case you can use UIStackView to simplify the creation of...
IOSCaff is a technical knowledge community for iOS developers, dedicated to providing a more efficient and convenient learning environment for developers.
Use UICollectionView to achieve common images/text unlimited rotation, support custom pageControl, custom text style, and rotation style, simple code, easy to use GitHub: https://github.com/M
The use of (limited) state machines provides a good understanding and simplification of complex state transitions. A state machine generally has the following characteristics: the...
In Swift, Pointers are represented by a special type, UnsafePointer. T >. It follows the consistent immutable principles of Cocoa, UnsafePointer< T> is also immutable....
The previous articles covered the concepts of classes, structures, and attributes, and saw how they are stored in memory through examples and Mach-O files. This...
Typealiastypealias is used to redefine names for existing types to make code clearer. The syntax used is also simple, using the TypeAlias keyword like a...
Like OC, Swift also adopts the ARC memory management scheme based on reference counting. In OC, ARC references mainly have strong references and weak references....