Swift Automatic Layout Framework-SnapKit, swift framework-snapkit
Official Website: http://snapkit.io/
Github: https://github.com/SnapKit/SnapKitSnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
Simple & Expressive chaining DSL
Do you really know how to reuse UITableViewCell ?, Uitableviewcell Reuse
I. First, let's take a look at the definition of UITableViewCell reuse.
- (nullable __kindof UITableViewCell *)dequeueReusableCellWithIdentifier:(NSString *)identifier; -
Swift and swiftcode
Swift-click cell to dynamically change the height
Effect
Source code
Https://github.com/YouXianMing/Swift-Animations
/// TapCellAnimationController. swift // Swift-Animations // Created by YouXianMing on 16/8/30. //
For iOS, click cell to view the larger image, click the larger image to restore the smaller image, and for ios to view the larger image.I. project requirements
You can use collectionView to display many photos. Click a picture and use scrollView in
IOS memory management mechanism and cyclic reference processing method, ios Memory Management
Brief Introduction
ARC: Automatic Reference count, Automatic Reference Counting
MRC: Mannul Reference Counting
How ARC works
1. Each time a new instance
Difference between _ Block and _ Weak, __block _ Weak
I. Blocks comprehension:
Blocks can access local variables, but cannot be modified,
When block is declared, another temporary variable is copied,
Even if the copied variables are modified in the
Use of iOS multi-thread GCD and ios multi-thread gcd
In iOS development, we often use multithreading for time-consuming operations. Grand Central Dispatch (GCD) is a multi-core programming solution developed by Apple. You only need to define the
Do you really know about UIViewController redirection ?, Uiviewcontroller jump
I. UIViewController modal jump
// Display the modal view-(void) presentViewController :( UIViewController *) viewControllerToPresent animated: (BOOL) flag completion :(
UIScrollView encapsulation and UIScrollView EncapsulationUIScrollView Encapsulation
Effect
Features
1. Easy to use, size, and random location setting
2. You can have data from multiple data sources and customize an inaccessible interface
IOS language switching, localization, internationalization, and ios Localization
What is localization?
Localization processing means that our applications may be released to many countries in the world, because the application languages in each
App Development Process configuration Info. plist file, appinfo. plist
The Info. plist file controls the global configuration of the application, such as bundle name and display name.
First, let's take a look at the Info. plist File Created by
Record a git amend accident handling solution, gitamendI. Problem Review
The problem is caused by git commit -- amend. A commit has been pushed to the remote develop, but then amend is performed on this commit, resulting in a change in the commit
[Original] third-party cache framework of PINCache for iOS learning, iospincache
In projects, you always need to cache some network request data to reduce the server pressure. There are also many excellent open-source solutions in the industry.
Use clear and coordinated naming methods
1. Method naming rules. Take NSString and NSMutableString as examples.
If the method is newly created
The first name of the method should be its return type.
+ (instancetype)string; +
Do you really know UIGestureRecognizer ?, Uigesturerecognizer
I. First, let's take a look at the definition of UIGestureRecognizer.
// The current gesture status typedef NS_ENUM (NSInteger, UIGestureRecognizerState) {// you have not recognized the
Swift and swiftcode
Swift-A Tool for directly creating Model files from the dictionary (or Alamofire)
Effect
1. General model generation method
2. Create a model through debug
Features
1. it can process Dictionary data in JSON format
2.
New Features of Xcode 8 and new features of xcode
During the 2016 Apple global Developer Conference (WWDC), apple, as always, disclosed to developers the new version of integrated development tool Xcode. In each major version release in the past,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.