[Code Note] Get the current date, code Note Date
I. Code.
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // call the function to obtain the current date. [Self getDateFromLocal] ;}
IOS Safari reading mode
This is an article prepared in 2013. I will share it with you for your reference.Key Points
(1) reading mode detectionAfter the frame is loaded, a timer is triggered to check whether the reading mode can be used. The method
IOS network analysis-(eight NSURLSession Introduction), iosnsurlsession
Just a few minutes ago, Apple officially ordered us to look at the NSURLSession, so we had to seriously follow the boss's instructions and try to recognize the NSURLSession. In
Similar to the source code and source code of the "casually" Application Project
An App written in SwiftOverview
This project was prepared to consolidate Swift's knowledge. The materials are from the official App
Use Storyboard + Xib + Autolayout
Integration of Baidu map in iOS development-map tagging & POI retrieval, and ios development map tagging
This article consists of two parts:
I. Map tagging Step 1: first create the BMKMapViewStep 2: set after the view is fully displayed and
UITableView (used by yourself) (attribute, pass value by proxy), uitableview
Today, we are in a hurry.
As follows:
The Code is as follows:
#import #import "FirstViewController.h"@interface AppDelegate : UIResponder @property
Git-a custom iOS control ToggleSwitch
The previous custom controlToggleSwitch
:
At first glance, it looks like an old iOS Switch.
How to use?
Grade:
dependencies { compile 'us.belka:androidtoggleswitch:1.1.1'}
Maven:
us.belka
[IOS] Ignored main function, iosmain Function
Like any C-based application, the main entry point of the program startup is the main function of the iOS application. In iOS applications, the main function has very few functions. Its main task is to
When creating the framework, iOS configures aggregate and frameworkaggregate.# Sets the target folders and the final framework product.# If the project name is different from the Target name of the Framework, you must customize the FMKNAME.# Example:
IOS scan function development, ios Scan
In the past, many QR code scans were based on zxing, but zxing was really troublesome and never updated. With iOS6 exiting the historical stage, you can use iOS7 and then use the system's AVFoundation QR code
Set the rendering mode of UIImage: UIImage. renderingMode,
Set the rendering mode of UIImage: UIImage. renderingMode
Tint Color is a rendering mode on the iOS7 interface. You can set the UIImage rendering mode to a major change in UIImage.
IOS development: basic usage of UITableView
Basic usage of UITableView
1. First, the Controller needs to implement two delegate: UITableViewDelegate and UITableViewDataSource.
2. Set the delegate of the UITableView object to self.
3. Then we can
IOS makes the keyboard disappear
Some text input controls will pop up when waiting for input, you can set the Did End On Exit callback method of these controls to collapse the keyboard when you click the button in the done or return column On the
IOS development: How to suspend the main thread
However, in some cases, we want the main thread to wait for the IO operation to complete-for example, after the main thread creates a folder, wait for the completion and then create a file in the
IOS development: simple localization of Web Applications
At present, most enterprise-level IOS applications mainly rely on reports and document approval, and the development trend of applications is bound to develop towards the Web. Although Native
IOS development, ios development
In actual development, we may need to add custom attributes to a file, or add information about the file to the attributes of the file, this can be used for the next read.
This article will introduce the "tool class
Objective, object
During data processing, because the object types are different, the corresponding data cannot be processed. Therefore, you must convert the data types, that is, NSNumber, the reason why NSValue occurs.
In short, NSNumber is to
MD5 encryption in iOS development practices
What is MD5:
Message Digest Algorithm 5 (Message Digest Algorithm version 5th"
Effect: generate a unique 128-bit hash value for the input information (32 characters)
MD5 features:
Two different plaintext
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