PlaceholderTextView, textviewplaceholder
PlaceholderTextView
Effect
Source code
PlaceholderTextView for https://github.com/YouXianMing/UI-Component-Collection
/// PlaceholderTextView. h // PlaceholderTextView /// Created by YouXianMing on 16/7/
IOS development-UIButton (button) of the UIKit control and uikituibutton
(Note: This article describes some of the method attributes used in my daily development as a memo)
Like UIView, UIButton is the most commonly used and common UIKit control in
[Code notes] the user can save the crash and code notes after publishing.
1. Engineering Drawing.
Ii. Code.
AppDelegate. m
# Import "AppDelegate. h "# import" RootViewController. h "# import" NdUncaughtExceptionHandler. h "@ implementation
IOS image stretching and ios stretching skills
Throughout the mobile market, a mobile app, if you want to establish a foothold in the mobile market for a long time, must at least include the following elements: practical functions, strong user
IOS development-UIView of the UIKit control (View) and uikituiview
(Note: This article only records the things I usually need as a memo)
UIView is the most common and commonly used control in iOS development. It is a control encapsulated in the
Customizes common tag selectors and custom tag selectors
Custom generic tag Selector
Effect
Source code
CollectionGridView in https://github.com/YouXianMing/UI-Component-Collection
/// CollectionGridView. h // CollectionView /// Created by
Page Jump effect between pages
-(Void) touchesBegan :( NSSet *) touches withEvent :( UIEvent *) event {/* 1. If the animation UIViewAnimationTransitionNone 2 is not used, the page is rotated from left to right to uiviewanimationtransitionflipfro,
Cell reuse methods and cell reuse methods
1. Use xib for Reuse
// Recommended reuse method after ios6
// Use self dynamically to obtain the current class name as a unique identifier
NSString * identifier = NSStringFromClass ([self class]);
UINib *
Custom UIButton and ios custom uibutton
Occasionally, you can see a lot of things worth remembering in simple books, some of which have never been touched, and some that have been touched may have been forgotten for a while. When you get started,
Live Video gift animation , live video gift
Live Video gift animation :The code will be updated continuously. There are too many animations in the live video app. Because of the time relationship, you cannot share all the animations at a time. This
Basic use of UIAlertController, uialertcontroller
After ios8, the system's pop-up box, UIAlertView and UIActionSheet, starts at the same time and uses a new Controller called UIAlertControllerUIAlertController. The basic usage of creating
NSMutableParagraphStyle/NSParagraphStyle and nsparagraphstyle
// NSParagraphStyleAttributeName specifies the style of the paragraph (set the first line, line spacing, and alignment). You can see what attributes you need and what you want to
Full text copy by long and text copy
Recently, I made a function to copy all the content by text. I found a method on the Internet, which is easy to use, but I encountered a problem in the process of using it.
In my project, the text control is
Modify the font size and color of NavigationBarItem.
// Create a left button UIBarButtonItem * leftButton = [[UIBarButtonItem alloc] initWithTitle: @ "
Solve NSTimer Memory leakage problem, nstimer Leakage
Creating a timer will execute some operations after a certain interval. Generally, you will create a timer in this way. In this way, self references the timer and the timer references the self,
Xcode (linker command failed with exit code 1) Error summary, xcodelinker
This problem usually occurs when a third-party library file or multiple developers are added.
This problem is generally caused by a link error because the file cannot be found.
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