Load images with SDWebImage gradient,
Loading images with SDWebImage gradient
Use
For details about how to use the source code, you only need to specify an image address and a placeHolder image (not required.
Effect
Source
Static Library Creation and static library
If you want others to use your code but do not want to expose your source code, you can use a static library.
1. Select Cocoa Touch Static Libraay for the new project
2. Drag the file to be packaged
Fingerprint Recognition, fingerprint recognition mobile phone
Now, when both security and efficiency are required, ordinary passwords cannot meet our requirements, and fingerprint recognition is born.
Everyone has their own fingerprint. When you
IOS10 adaptation-Xcode8 and ios10 adaptation-xcode8
Xcode8 was upgraded some time ago, which has little impact on the OC as a whole, but it still takes a lot of time to skip. Here we will summarize the adaptation problems.
1. Permission issues
Xcode8
Common shortcuts for iOS development and ios shortcuts
1. Apple shortcut keys
2. Basic Xcode shortcut
Create a project Shift + CMD + N
Create a file CMD + N in the project
Run CMD + R
Compile CMD + B
Stop running CMD +.
Clear cache Shift +
IOS-GCD usage and iostag usage
Preface
For beginners, GCD seems to be an insurmountable hurdle. Many people gradually give up treatment in the whirlpool of terms of synchronization, Asynchronization, serial, parallel and deadlock. This article will
Measure the total number of lines of code in the iOS project and the number of lines in the ios project.
Open the terminal,
Use the cd command to locate the project directory, and then call the following name to count the number of lines
[Original] iOS learning Xcode8 does not print error messages on the console, iosxcode8
I upgraded my Xcode to 8 a few days ago, but when running the program, it will print a lot of useless information, such:Garbled characters printed when Xcode8
Add Cocoapods support and githubcocoapods support to the Code on Github.
Reprinted, please specify the original link: Success. See the cocoapods official website's support for adding, but the introduction of (ying) than (yu) than (tai) Simple (cha)
When Xcode8 prints JSON, The NSLog console displays incomplete, jsonnslog
Why only a part of the printed results are printed ??? Why ??? I don't know why, maybe it's because of xcode8.
I learned from foreign people that printf can print all of
Calculates the length of c characters, which must not exceed 2 ^ 30.
Source code from sqlite3
/*** Compute a string length that is limited to what can be stored in ** lower 30 bits of a 32-bit signed integer. * *** The value returned will never be
YYStock open-source ---- iOS stock K-line drawing version 2, yystock ---- ios
The new stock is rough. Welcome to watch star's statement (* ^__ ^ ......
The kneading function is also ready.
Github: https://github.com/yate1996/YYStock
Long-by-hour
Implement RSA encryption on the IOS client and rsa on the ios Client
In the IOS app login module, if the user name and password are directly transmitted to the background server, it is easy to intercept and forge network requests,
If the RSA
IOS debugging tool and ios debugging tool
Instrument
Xcode5 introduces a debugging instrument that intuitively shows the CPU and memory usage of the application. Run a program and click the meter bar. It can be found that when the program is
IOS memory error debugging (EXC_BAD_ACCESS), iosexc_bad_access
Memory Error crash:
Thread Stack:
It may be caused by access to the released object. According to the field, no memory error is found for the specific object.
1. Enable zombie
The server enables https and https.
Enable Tomcat https service
When publishing enterprise-level applications, an issue occurs: After IOS7.1, the app URL must start with https, so the server must support https.
Lab environment: Mac OSX, win7, Tomcat
Disable the xcode8 console to print unnecessary information.
The information printed on the console is as follows:
10:13:17. 774543 LGLSearch-Dome [1656: 356106] subsystem: com. apple. UIKit, category: HIDEventFiltered, enable_level: 0,
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.