UIMenuController simple example (Swift), swift example Daquan
The first time I got started with Swift, I felt a little simpler, but I was not used to it. I didn't look at the basic knowledge. I went straight to the demo!
You can compare it with the
IOS development and localStorage/sessionStorage, sessionlocalstorage
I. Preface
In my recent work, a front-end student told me to clear localStorage. I had no idea about localStorage at the time, so I read the related content at w3c. The following
UIWebView: saves images (reprinted) on the webpage, and reprinted by uiwebview
Currently, H5 hybrid native development is becoming increasingly popular, and UIWenview controls are also required. During the development process, we may encounter a
Swift Study Notes-class and structure, swift Study Notes
// Class and struct
Import UIKit
// Class and struct
/*
1. enum, struct, String, Array, and Dictionary types all belong to the value transfer type. When assigned to a new constant or
Analysis on YYModel of YYKit and yykityymodelThis article mainly analyzes the structure of the YYModel file to help you get familiar with and learn YYModel more quickly. If you have any questions, please correct me. Thank you. 1. YYCLassInfo file
The keyboard blocks the input box.
IOS development-keyboard notificationPreviously, when the keyboard of the editing event in the input box is triggered, the current View is always moved up, and the editing end is moved down, which is time-consuming
IOS-deep copy and light copy, ios-mutableCopy
Shallow copy: only copies the pointer to the object, instead of copying the reference object itself. For shallow replication, A and A_copy point to the same memory resource. Instead, they only copy A
IOS development-UISearchBar of the UIKit control (search bar) and uikituisearchbarToday, you need to use the search control because of your needs. You have never used this control before, so I went to Baidu and found a complete article. Thank you
Apple native push, Apple
I wrote a demo a long time ago ~~~ It may be a bit wrong
GIthub: https://github.com/BigShow1949/YFPushTest
Steps:
1) Add the app id.
Apple Developer Center: Identifiers ---> App IDs add an ID, such as my Name: YFPushTest.
IOS tableView right slide display selection, iostableview right slide
How to Use UITableViewRowAction to achieve right-slide selection?
1. Before iOS8, we had to implement the sliding display deletion, pin to top, More and other buttons in tableview
IOS restricts the length of textField characters. iostextfield
In the project development process, when editing tags, the maximum length of input must be limited to 24 bytes.
I have consulted some materials and referred to the solutions of previous
Summary of Swift advanced syntax and summary of swift syntax
1. Functions1.1 func funcNmae ()-> () {} defines a function. Its parameter is null and the return value is null, if there are parameters and return values, you can simply write them in two
Basic knowledge of IOS development-fragment 17, basic knowledge of ios-Fragment
1: differences between contentSize, contentInset, and contentOffset
ContentSize is an attribute in scrollview. It represents the display area in scrollview. If there
IOS-UITextField-full solution, IOS-UITextField-
// Initialize textfield and set the position and sizeUITextField * text = [[UITextField alloc] initWithFrame: CGRectMake (20, 20,130, 30)]; // set the border style. The border style text is displayed
IOS, ios9
I haven't updated my blog for a long time, so it's time to share a piece of dry stuff. The APP boot page is not much to say that every APP will be used, which is not heavy but indispensable, whether it's the first installation of the APP
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.