Use the NSCalendar class to compare dates.
In the project, the date display usually displays the time of the current day, the display date and minute of the current month, and so on. It is inevitable that the date comparison will be involved. The
Speed up XCode compilation Link (200% +)-solution for slow XCode compilation, xcode200 %
Recently, I encountered a headache when developing a large project. Due to the large amount of project code, every time I compile the link for about 1 minute,
Object-c Basic Knowledge Query Tool, object-c Query
Share some of the common knowledge points you have learned during iOS development. The content is relatively low and suitable for beginners. You are welcome to exchange ideas with developers. An
Getting started with Block and mblock
At the beginning of iOS4.0, Block was born. It is actually a supplement to c's predictions. The book points out that it is an anonymous function with automatic variables. The Block is concise and the code is
Those in UIWindow and those in UIWindow
UIView is the base class of the view, UIViewController is the base class of the View Controller, and UIResponder is an object that can respond to touch events on the screen;
1. UIWindow is a special type of
Common Code blocks for iOS developmentDelete array elements while traversing a variable array
NSMutableArray *copyArray = [NSMutableArray arrayWithArray:array]; NSString *str1 = @“zhangsan”; for (AddressPerson *perName in copyArray) { if
In tableView of uiview, click cell to jump to another interface.
1. Override the uiviewcontrol method first.
-(UIViewController *) viewController {
For (UIView * next = [self superview]; next = next. superview ){
UIResponder * nextResponder = [next
Notes about addSubView-a big loss occurred today, and a big loss occurred in addsubview.
AddSubview:
Adds a view to the end of the specified er's list of subviews.
Add a View to the subview list of the receiver.
-(Void) addSubview :( UIView *)
Introduction and use of the PhotoKit framework
PhotoKit is a set of ios photo processing libraries that are more complete and more efficient than AssetsLibrary updates. The processing of resources is very different from AssetsLibrary. The following
Compatible with ios10 (build version not found in iTunes) and ios10itunes
Two days ago, the App encountered a magical problem. The packaged project was successfully uploaded using Application Loader, but the build version was not found in iTunes,
Gift Description: the source code of the iOS project, and the source code of the ios project.
Gift description (updating ...)
Download source code:Http://code.662p.com/view/14507.html
Api: gift says Home featured banner2:
Configure and use the Xcode 7 PCH file-learn to use macro definition,
What is the purpose of using macros?
In actual development, sometimes some settings need to be used repeatedly (for example, set the print information, configure the color, and
IOS, ios9
UIWebView is a built-in IOS browser that allows you to browse webpages and open documents in html/htm pdf docx txt and other formats. Safari is implemented through UIWebView.
The server puts MIME identifiers in the transmitted data and
IOS10 App's permission to adapt to the Push Notifications font Frame !!!!, Ios10notifications
Add configuration permission
NSPhotoLibraryUsageDescription "xx" requires your permission to use your album NSCameraUsageDescription "xx" requires
The implementation of TTS technology in iOS is voice broadcast and iostts.
Text-To-Speech technology, also known as TTS, is short for Text To Speech. This technology is used when iOS wants To implement functions such as voicebooks.
I. Notes for
PhotoKit has to say, But photoKit has to say
PhotoKit is a new framework that replaces ALAssetLibrary after ios9. Note that the framework is not a header file, not a detachable system name, but a framework name, representing a framework type. So you
IOS audio development-'audiostreambasicdescription'
This class provides descriptions of audio files
An audio stream is a continuous series of data that represents a sound, such as a song.
A channel is a discrete track of monophonic audio. A
IOS gods --- watch the list and ios Gods watch the list
First of all, I would like to thank the following great gods for helping me solve practical problems and learn a wealth of knowledge through your sharing.
These great gods were found in Baidu
IOS system analysis (1) read kernel preparation knowledge and ios System Analysis
BytesFor more technical tips, visit: Alibaba Cloud blog
0x01 iOS Architecture
1.1 overall architecture of iOS system
User Experience (The User Experience layer):
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.