Software drawing (efficient drawing 13.1), software drawing 13.1
Software drawing
TermsPlottingSoftware plotting is usually indicated in the context of Core Animation (that is, drawing not assisted by GPU ). In iOS, software plotting is usually
IOS Runtime principle and usage, iosruntime PrincipleRuntime Introduction
Because Objc is a dynamic language, it always finds a way to delay some decision work from compilation connection to runtime. That is to say, only the compiler is not enough.
[Code notes] iOS-sorts arrays and notes ios-sorts Arrays
I. Code.
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // directly sort the object NSSortDescriptor * descriptor =
Some pitfalls of AutoLayout: AutoLayout
1. Add constraints to a UIView. If you want it to be displayed at the bottom of the UITableView, but it is not displayed, it will appear at the top of the UITableView.
Error code:
1 [self. tableView
IOS Event Response Chain (Responder Chain), iosresponder
Overview
In iOS, the view level is generally the parent view-> Add each seed view. At this time, a view (subview) has a button that requires interaction. But sometimes we will find that no
[Code Note] iOS-the height of the screen automatically varies according to the keyboard, and the height of the Code note ios-height
I ,.
Ii. Code.
ViewController. h
#import @interface ViewController : UIViewController@end
ViewController. m
#
[Code Note] iOS-generates random strings and notes ios-strings
I. Code:
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. NSLog (@ "--- generate random string --- % @", [self
Description & debugDescription & runtime (debug model in debug mode), describeDescription
During development, many models are often used to load attributes. during development, debugging is often performed to check whether the attribute values in
Automatically adapt to H5 containers (UIViewView/WKWebView), generate long charts, prevent progress bars, and adapt ioswkwebview to h5
Some time ago, during the cool development of the Code, the designer Wang gave Zhang moubao the APP a feature to
Swift Study Notes (2): handle errors and swift Study Notes
Directory:
Do-catch
Assertions
Do-catch
In Swift, throws can be used to throw exceptions during program execution, and do... catch can be used externally to catch exceptions
Change the font color of the battery bar-Zeng Xiaoyi and Zeng Xiaoyi
First of all, the old one is black by default.
Then add View controller-based status bar appearance to the info. plist file and change it to NO.
Adding this section in the file
Add Cocoapods support and githubcoapods to the uploaded Github code.StartHere I will introduce it from the very beginning, including creating a project on Github and uploading the project to the final support for Cocoapods. The procedure is as
The popwindow is blocked by the meizu virtual key, and the popwindow virtual block
In the previous project, we made a sharing function, called a third party of umeng, and the function was perfectly implemented and shared. However, during the test,
Upgrade Xcode or MacOS to compile iOS resources fork, Finder information, or similar detritus not allowed, xcodedetritus
I haven't left my footprints on the Internet for a long time. Take a bubble.
I recently upgraded Xcode. A problem occurred in
CocoaAsyncSocket + Protobuf handles packet sticking and packet splitting issues, cocoaasyncsocket sticks to packets
In the previous article "ProtocolBuffer setup and demo for iOS", we shared the establishment of the environment. We used the famous
IOS simple canvas implementation, ios canvas
Design Requirements
1. Set the size and color of the paint brush.
2. Clear screen, undo, eraser, and photo import Functions
3. Save the painted image to the album.
Implementation
1. Paint Brush
In iOS, when FD_FullscreenPopViewController is used, the scrollView right slide cannot be used. scrollviewcontroller
When we have scrollView in ViewController, we may encounter a right slide failure to respond to the returned gesture. the following
Notes on Aurora push
Principle: Push is a persistent connection established on all Apple devices connected to an Apple Server. The concept of persistent connections is relative to short connections, persistent connections can send messages to
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.