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
The tabBarItem icon of UITabBarController is not displayed on the VM.
Select the icon and unselected image respectively in the xib.
Simulator Effect
Selected
Not selected
When multiple models were used for testing, it was found that some models
Call status monitoring in iOS: CoreTelephony and ioscoretelephony
To listen to the phone status in the program, you can introduce the CoreTelephony framework, which includes telephone-related APIs to monitor incoming calls and view carrier
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
A set view that can be rolled over and a set view that can be rolled over
This demo adds the set view to the scroll view for slide.
()
1. Create a view and define a set view and a rolling View
1 # import "ViewController. h "2 # import"
[Code Note] first select the city, then jump to Tabbar, select the city tabbar
I ,.
2. Engineering Drawing.
3. Code.
ChooseCityViewController. h
#import @interface ChooseCityViewController : UIViewController{ NSMutableArray * dataArray;
Clear useless pictures in the iOS project to reduce the size of ipa,
After many people go through the project, there will often be a lot of garbage, resulting in a large size of the packaged ipa file, sometimes we will clean up the code to slim
Decimal to binary, decimal to binary
Int main (int argc, char * argv [])
{
@ Autoreleasepool
{
NSMutableArray * result = [NSMutableArray new]; int number = 160; while (number! = 0) {/*** operator */if (number = 0) {break ;} else {/*** even number
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,
Parse HTML to implement zhihu daily report Demo and parse html daily report demo
Use Gallop to parse HTML and render it into the Demo of zhihu daily report implemented by the iOS native PAGE.Gallop v0.3.0Gallop --- a powerful and fast
Easy to use to present a group of pictures (high imitation QQ/), a group of high imitation
DEMO: http://www.code4app.com/thread-8612-1-1.html
Where can I use this framework?
It is mainly used for social apps to present a group of images.
The
Personal Summary of hot update and Hotfix, and summary of hot update and repair
Hotfix and hotupdate
1. Hot update and Hotfix: Online BUG fixes
2. How JSPach works: OC is a language for dynamic runtime, and method runtime and object creation are
IOS UILabel obtains the height when customizing the row spacing. iosuilabel
This article describes how to obtain the UILabel height for custom row spacing. You need to use the open-source UILabel control: TTTAttributedLabel.
Attached
Communication between iOS threads (GCD), iosgcd
1. Download an image from the network and display it on The view.
-(Void) imageDownload {dispatch_async (dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^ {// network path NSURL * url
Recursively searches for repeated text in NSString and recursively searches nsstring
Recursive search for repeated text in NSString
Effect
Source code
StringRange project in https://github.com/YouXianMing/iOS-Project-Examples
/// NSString +
NSSet and iosnsset for iOS notes
I. Introduction
What type of NSSet is actually the same as that of NSArray. It is used to store objects and belongs to a set. NSSet and NSMutableSet classes declare programming interface objects and unordered sets,
IOS-related operations for Apple developer accounts, ios-related Apple developer accounts1. Apple developer account Category
By price
Free
① Personal application account
It can only be used for debugging on a real machine.
② Institution
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