IOS development: some experience for API developers of Yo
In "don't make developers unhappy ...」 The article mentions the importance of Developer Experience. A good developer experience allows developers to quickly create required services through
The text of the label in ios is displayed in multiple colors.
1. In the initialization method, add all labels with the keywords to be highlighted to the labels array and add the colors of these labels in the original font to labelTextColors. The
Notification Mechanism in ios programs and ios program notification mechanism
Each application has an nsicationicationcenter instance to facilitate communication between different objects. Any object can publish a notification (NSNotication) to the
IOS development: Selection of delegate, notification, and KVO
The delegate, notification, and KVO functions are similar. In actual programming, how can we choose these methods?
When developing ios applications, we often encounter a common problem:
For .. in traversal, enumerator, for .. in traversal Enumeration
# Pragma mark ------------ for looping through elements in the Set ------
// Create an array containing five string objects. Retrieve all elements in the array in reverse order and
IOS development: How to suspend the main thread
However, in some cases, we want the main thread to wait for the IO operation to complete-for example, after the main thread creates a folder, wait for the completion and then create a file in the
IOS development: simple localization of Web Applications
At present, most enterprise-level IOS applications mainly rely on reports and document approval, and the development trend of applications is bound to develop towards the Web. Although Native
Use objection for modular iOS Project Development
Objection is a lightweight dependency injection framework. Inspired by Guice, Google Wallet is also used in this project. Dependency injection is a design pattern for Object-Oriented Programming to
How to disable ATS in iOS9
IOS9 increases system security. By default, you will find that the following error occurs when reading network data after a non-https URL is opened:
The resource cocould not be loaded because the App Transport Security
Objective, object
During data processing, because the object types are different, the corresponding data cannot be processed. Therefore, you must convert the data types, that is, NSNumber, the reason why NSValue occurs.
In short, NSNumber is to
Converting iOS NSNumber to NSString description, nsnumbernsstring
We often need to convert a number into a string. You can use description when you do not need to match other strings.
1/** 2 description Is NSObject. When the value 3 is NSNumber,
IOS: srand () and rand (), iossrandrand
Srand (seed) is used to set the starting point of a random sequence to seedsrand (int) time (0), which indicates that the int value corresponding to the current time is the starting point of the random
Use UILocalNotification to implement an alarm (Swift) and uilocalnotification
Previously, the project needed to implement an alert clock. I found it was old code on github for a long time, so I prepared to write one myself, just recently learning
Problems and solutions that are easy to encounter when ZBar is integrated, and the zbar solution is integrated
1. Add several necessary frameworks:
Libiconv. tbd
QuartzCore. framework
CoreVideo. framework
CoreMedia. framework
AVFoundation. framework
Small notes, tomb theft note novels
The system automatically releases an object when the object is created quickly. For example:
NSDictionary * dic = [NSDictionary dictionary]; // The System Automatically releases the memory once, and the object
Use of Objective-c kvc and KVO, objective-ckvckvo
Use of KVC
In general, we use attributes or access methods to access instance variables. However, we can also use Key-Value-Coding (KVC) the value of the instance variable to be accessed by key-value
Meitu xiuxiu-beautify the image [Virtual background] interface design, xiuxiu Interface Design
This article describes the background blur interface design. The background blur module of meitu xiuxiu mainly deals with image blur. The blurred image
Natural saturation of GPUImage filter and saturation of gpuimage Filter
Natural saturation is the overall brightness of the image, and saturation is the brightness of the image color.The "saturation" option works the same as the "saturation" option
1.0 Quartz 2D introduction, 1.0quartz2d Introduction
Quartz2D notes:
(1) Quartz 2D is Apple's official two-dimensional Drawing Engine. It also supports iOS and Mac OS X systems (cross-platform, pure C language)
(2) The Quartz2D
Color temperature (white balance) and color temperature of meitu xiuxiu Filter
Color temperature is the most common indicator of the spectral quality of the light source.
In GPUImage, we use GPUImageWhiteBalanceFilter to implement
Vertex
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.