Publish original cool code-connect Dong Boran github and Dong Boran github
Public part of github Project (all original) More code please see https://github.com/dsxNiubility
SXWaveAnimate
SXFiveScoreShow
SXPhotoShow
SXNews
Custom message input box for iOS and message input box for ios
A simple encapsulation is provided, so that you can use it without any trouble during initialization. If you have other requirements, just set the parameters in it.
WJEasyInputTextView.
Take notes (operators) on the third day of IOS learning, and take notes on the third day of ios learning.
IOS Learning (C Language) knowledge point sorting notes
1. Operators
I. Arithmetic Operators
1) An expression is composed of variables,
The second day of IOS learning, and the second day of IOS Learning
IOS Learning (C Language) knowledge point sorting notes
1. 32 keywords in C Language
I. Storage-related
1) auto declares automatic Variables
2) register declares register variables
UIScrollView's delegate method makes it easy to slide UICollectionView to a position you want, uiscrollviewdelegate
A UICollectionView has many cells. If you slide a bit, no one knows which cell will stay. If you slide a little faster, you will
About the implementation of sticky animation and jelly effects in iOS
Recently, in a custom PageControl -- KYAnimatedPageControl, I implemented the deformation animation of CALayer and the elastic animation of CALayer. The effect was shown first:
[OcUI diary] UIImage and UIImageview, ocuiuiimage
UIImage
1 // create a uiimage using the class method (the suffix can be omitted in png format) 2 UIImage * image1 = [UIImage imageNamed: @ "001"]; 3 // use the path to obtain the image 4 NSString *
Network Programming, windows Network Programming
So in order not to impede the running of the main thread, is it better to use the GCD thread for network download processing? The answer is no. Asynchronous APIs are strongly recommended for
IOS pragma mark usage
Simply put, it is used to facilitate searching and navigation code.
The following example shows how to quickly locate the code that I have already identified.
# Pragma mark Life Cycle-(void) viewDidLoad {[super
Settings of iOS Tabbar
In fact, the customization of iOS Tabbar is very high, and we do not need to duplicate the wheel. Below are some common settings of tabbar collected by the author, I hope to help you.
Set the selected color of tabbar
The iOS7
[OcUI diary] UIwindow and UIview, ocuiuiwindow
In the current version of xcode, xcode has already created the main window and main view for us, but this is not a good thing for beginners.
Next, I will introduce how to create a window and set the
[Learning notes] [C Language] macro definition, learning notes
1. macro definition can be divided into two types:Macro definition without ParametersMacro definition with Parameters
2. Definition
General Form# Define macro name stringFor example, #
IOS calculates the UITextView height based on the string
IOS calculates the string height. For more information, see.
Method 1: applicable before ios7.0
/** @ Method: Get the specified width and width, fontSize, the height of the string value @
IOS Development Database (SQLite)Advantages of SQLite embedded database:1. Embedded Database2. Support events, no configuration, no installation, no administrator3. Supports most SQL92 standards4. The complete database is stored in a file on the
Replace the four digits in the middle of the phone number with the-number, and the four digits in the phone number
Code:
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //
Appium + Robotframework for automated testing of iOS apps-5: A simple example
Everything is ready. It is not encoded!
The following is a simple example to verify Common Logon functions. The application in this example is being developed by my
IOS-intermediate, ios// Set the Row Height of tableViewSelf. tableView. rowHeight = 100;// Set the tableView split line style// UITableViewCellSeparatorStyleNone does not display the split line// Trim display split line (default) self. tableView.
Take notes on the seventh day of IOS Learning (function and Recursion), and on the seventh day of ios
I. Functions
1) concept: encapsulation of code blocks with specific functions
2) Function Definition: Function Type + function name (form parameter
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service