One way to solve the EXC_BAD_ACCESS error -- NSZombieEnabled (convert), excbadaccess
Crash is often caused by EXC_BAD_ACCESS errors during iOS program development. When such errors occur, Xcode will not give us too much information to locate the
IOS multithreading-GCD, iosgcd
What is GCD?
GCD is Apple's new abstract C-layer-based API for multi-threaded programming. Combined with Block, GCD simplifies multi-threaded operations, making thread operations more secure and efficient.
Before the
IOS development check and updateIOS development check and update
# Pragma mark-check for updates
- (
void
)checkUpdateWithAPPID:(
NSString
*)APPID
{
// Obtain the current application version
NSDictionary
*appInfo =
IOS stage study 28th-day notes (UIView Introduction), iosuiview
IOS Learning (UI) knowledge point sorting
1. Introduction to UIVIew1) concept: UIView is a large container used to load and display various controls. It is the base class of all UI
How does TTTAttributedLabel highlight multiple strings? tttattributedlabel
TTTAttributedLabel is used to highlight multiple strings.
Each string needs to be matched to obtain all the nsange to be highlighted. Then, the NSMutableAttributedString is
IOS development tips
During iOS development, you sometimes need to bring up a soft keyboard for input, and sometimes you need to hide the soft keyboard in some cases to improve the user experience. Today I will share some tips on the soft keyboard.
Iphone development skills
1. modify the status bar:
1. Add [[UIApplication sharedApplication] setStatusBarHidden: YES animated: NO]. However, this method only does not display status bars, and the space occupied by status bars still exists.
2. You
Ios nsflood scans strings to obtain the desired strings
For example, extract a number from a string.
-(Int) findNumFromStr{NSString * originalString = @ a1b2c3d4e5f6g7h8i9j;// IntermediateNSMutableString * numberString = [[NSMutableString alloc]
Storyboard, storyboard tutorial
I. Dynamic code rewriting
1. Generally, the main. storyboard is automatically executed when the program is started.
You can also rewrite it in AppDelegate.
-(BOOL) application :( UIApplication *) application
IOS development-simple improvements to the game of guessing
//// Main. m // guess # import
# Import Guess. hint main (int argc, const char * argv []) {Guess * number = [[Guess alloc] init]; NSLog (@ enter the number you guessed ); int
The single-choice control style in swift UITableViewCell and uitableviewcell
I found the materials for one night on the internet yesterday, but most of them use the OC syntax. There are too few swift documents, which makes it hard for me to get
Webpage js, webpage js
Communication between JS and iOS mainly uses two methods: (The PhoneGap framework is also based on this principle)
1. stringByEvaluatingJavaScriptFromString method of UIWebView
2. UIWebViewDelegate
-(BOOL) webView :( UIWebView
Particle effect in iOS Animation04. Particle Animation 1. effect:
Randomly draw a path, click the start button, particle Animation2. Implementation ideas
1. Create a canvas to draw a path and customize the view.
2. Add a pan gesture to the custom
UINavigationController and UITabbarController
Although the two central view controllers have been written in hand before, we still use SB to create more controllers. Recently, we have found some problems. Now let's summarize them.
1. Change the
Similar to the implementation of the Meituan image selector, Meituan image Selector1. Image Selector
Many apps have image selectors, which are basically in the nine-square format. This time, like the comments of Meituan, the picture selector of the
IOS --- solve the problem that all interfaces in RESideMenu can slide sideways
RESideMenu is an easy-to-use slide layout class library in iOS. This type of Slide effect is used in many iOS projects.
You can add menu view controllers on both left
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