Start of IOS LearningSome basic knowledge of IOS is object-oriented. IOS is an object-oriented process. images are image objects (UIimage objects). text is a text object (UItextField object) A button is a button object (UIbutton object). UIimage,
IOS encryption-MD5 encryption, ios encryption-md5
Let's not talk much about it. Go to the code!
In MyMD5.h
# Import @ interface MyMD5: NSObject {}+ (NSString *) md5: (NSString *) inPutText; @ end
In MyMD5.m
# Import "MyMD5.h" # import
Posticationicationname: message transmission details; postNotificationName1. Define the association value of the message creation, that is, the identifier for finding the Method
NSString * const GameToIPhoneNotification = @ "GameToIPhoneNotification"
GCD thread deadlock
GCD is really easy to use and powerful. Compared with NSOpretion, GCD cannot cancel tasks.
If such a powerful tool is used badly, a thread deadlock may occur. The following code:
- (void)viewDidLoad{ [super viewDidLoad];
IOS9 system sharing call (UIActivityViewController)
Some netizens said yesterday that the system shared code I wrote had a warning on iOS9. After reading the original ios8.UIPopoverControllerAbandoned. The newly added
Keyboard occlusion control (textfield/textview...), textfieldtextview
The conventional notification method is used.
// Solve the problem of keyboard occlusion// Select didShow because the keyboard height is required.// WillHide is selected because
Detailed description of iOS development and design modes
In software development, it is generally considered that there are 23 design patterns, which is a high-level realm in software development. Which design modes are most commonly used in iOS
Objective-c series-NSMutableArray, objective-c**************************************** * *** // Variable array constructor // The definitions in the following two sentences are immutable // NSMutableArray * marray1 = [[NSArray alloc] init]; //
Objective-c series-NSMutableString, objective-c
**************************************** ******
NSMutableString is a subclass of NSString. In addition to the parent class method, NSMutableStirng also has some addition, deletion, modification, and
Weekly essays-15.11.08 and essays-15.11.08
New knowledge point record for one week (15.11.08) I,
About
Hidden
,
Alpha
,
Opaque
Description
All three are attributes of UIView:
Hidden: YES or NO. If YES, the UIView object is hidden and NO response
Not long ago, a swift project used uicollectionview to load images with sdwebimage. In the case of a sharp increase in memory and a direct crash, the solution was briefly described ., Swift uses sdwebimage
1. First, in the appdelegate method
Weekly essays-15.11.02 and essays-15.11.02New knowledge point record for one week (15.11.02) 1. Create a tableViewCell on the storyboard
Create a tableView on the storyboard. Use UITableViewController as the container, and use UIViewController as
Reuse of IOS drop-down menusSince I used the drop-down menu before, I have spent some time looking back and finishing it, gradually improving the drop-down menu and providing some basic functions, in this way, you can reuse it if necessary in the
The time interval for calculating two dates in iOS development, and the time interval for calculating two dates in ios development
// Create a formatted object
NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];
[DateFormatter
Analysis of nsuserults ults in iOS user preferences
NSUserDefaults is a lightweight data storage mechanism. For details about how to use it, refer to iOS project development practices-use user preferences data API storage information, iOS project
IOS pch file details
After Xcode6, including the current Xcode7, The. pch file will not be generated automatically. It seems that it is no longer recommended. However, when looking at many other projects, this file is still included. Let's talk
IOS checks whether a url schemes is set in the ApplicationRecently, another application A needs to jump to our B (with url schemes set) and then return to, when A is returned, A needs to set A url schemes to redirect B to. However, after A jumps to
IOS gradient layer CAGradientLayerI. attribute description in the CAGradientLayer class CAGradientLayer inherits CALayer, mainly including the following attributes: 1. @ property (nullable, copy) NSArray * colors; gradient color 2. @ property
Sharing the UISearchController search bar UI Technology in iOS
UISearchController inherits from UIViewController
// In iOS 8.0 and later versions, you can use UISearchController to conveniently add search boxes to UITableView. in earlier versions,
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