Objective, objectivec
Objective-C Memory Management Part 1
Memory management is part of a more general problem in programming called resource management.
Memory Management is part of resource management.
Every computer system has finite resources
Color gradient for ios 2D plottingColor gradient for ios 2D plottingColor Space cmyk Printing Industry RGB gradient color: linear gradient, ring gradient linear gradient: the gradient area is the current context, perpendicular to startPoint
Add a shortcut menu gesture and view gesture to the view.
After iOS7, the shortcut menu will be slide from the bottom of the screen. I feel that this effect is good and I want to make a similar effect. This item is not highly technical, writing
UIView-layer method, uiview-Layer
//// ViewController. m // UIView-layer concept /// Created by wangtouwang on 15/5/5. // Copyright (c) 2015 wangtouwang. all rights reserved. // # import "ViewController. h "@ interface ViewController () @ property
Detailed expression for iOS development
A regular expression (the widely known "regex") is a string or a character sequence. It is very powerful as a search string!
In a text editor or text processor, regular old-style searches only allow simple
Methods triggered during view loading (loadView/viewDidLoad/didReceiveMemoryWarning) and loadviewviewdidload
1. loadView
This is how the View Controller loads the Root View;
If you need to use a custom view as the root view, you do not need to call
UIActivityIndicatorView indicator provided by ios
//
// RootViewController. m
// UIActivityIndicatorViewDemo
//
// Created by Dubai on 15/4/28.
// Copyright (c) 2015 Dubai. All rights reserved.
//
# Import "RootViewController. h"
@ Interface
Ios notes-NSSet
//// Main. m // NSSet /// Created by Passer-by on 15-3-23. // Copyright (c) 2015 MAC. all rights reserved. // # import
Int main (int argc, const char * argv []) {@ autoreleasepool {/* comparison between NSSet and NSArray 1>
IOS development reflection and dynamic call SummaryLike java, Object-C also provides a reflection mechanism.
Each Class has a Class. There are three methods to obtain the Class.
// Insert code here... // obtain class Class class clazz =
Hide the status bar for iOS
It is not easy to operate the status bar on the top after iOS. The procedure is as follows:
First, add the View controller-based status bar appearance item to the info. plist file,
1. If the View controller-based status
The prompt box for iOS users to allow permission positioning is displayed.
For applications that require access to the user's location, a prompt box Indicating that "xx" is allowed to access your location or always access location when you use
Is the era of cross-platform development coming ?, Development age approachingSource: Wang Wei (@ onevcat) Welcome to share the original article with bole headlines
This article focuses on the recent cross-platform development of mobile development,
React Native Communication Mechanism details, reactnative
Source: Bang blog (@ bang) Welcome to share Original Articles with bole headlines
React Native is the just-open-source framework of facebook. It can be used to develop Native apps directly
Custom Singleton for iOS development: custom for iOS development
Custom Singleton for iOS development
Here I use macros:
//. H# Define single_interface (class) + (class *) shared # class;//. M// \ Indicates that the next row also belongs to a macro./
For iOS, MMDrawerController and mmdrawercontroller are developed to solve the gesture conflict between the left and right drawer open gesture and the center view sub-View Controller.
MMDrawerController is a very useful third-party class to implement
Common Xcode shortcuts and xcode shortcuts
New
Shift + cmd + n create a project
Cmd + n create a file
View
Option + cmd + press enter to open the assistant editor
Cmd + press enter to display the Main Window
Cmd + 0 navigation window
Option + cmd +
Gesture details in IOS1. Click
UITapGestureRecognizer * tap = [[delealloc] initWithTarget: self action: @ selector (click)]; // set the number of times to be clicked [tap setNumberOfTapsRequired: 1]; // set the number of fingers for the current
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