IOS learning and ios learning routes
Socket is an intermediate software abstraction layer for communications between the application layer and the TCP/IP protocol. It is a group of interfaces.
TCP: connection-oriented, reliable
The difference between new and alloc/init in iOS development, iosnewallocinit
[ClassName new] is basically equivalent to [[className alloc] init];
The difference is that zone is used when alloc allocates memory.
What is this zone?
When
Swift variables and functions, swift Variable Functions
Func getNums ()-> (Int, Int) {// the swift function can return multiple variables return (2, 3)} let (a, B) = getNums () // let is a constant, which cannot be changed once assigned values. var
[Original] common tableView BUG, tableviewbug
1. The TableView header view does not move with the view, and the header view is misplaced.
Error cause: the UITableViewStyle of tableView is not explicitly declared.
Solution: UITableViewStyleGrouped
Cascade interface (recommended Interface) construction principle and interface construction
I. Overall Layout1. for project requirements, click cell on the left and cell data on the right. 2. it is troublesome to set up 2.1 on the interface
Xcode CoreData storage reports an error ., Xcodecoredata
Due to project interface changes, the previous CoreData field needs to be adjusted. Record the error process and solution. The procedure is as follows:
1. Add the fields to be adjusted in the *
AFNetworking 3.1, afnetworking3.1
I heard that the AFHttpWorking version may affect Apple's review. Today, the latest version of AFHttpWorking is released and simple encapsulation is made. Here I downloaded two tools through cocoapods.
1 =
NativeH5 solution for Native interaction with H51. Directly load pages in native code1. Specific cases
Loading local/network HTML5 as function overview page2. Sample Code
// Local
-(Void) loadLocalPage :( UIWebView *) webView
{
NSString *
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 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
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
PlaceholderTextView, textviewplaceholder
PlaceholderTextView
Effect
Source code
PlaceholderTextView for https://github.com/YouXianMing/UI-Component-Collection
/// PlaceholderTextView. h // PlaceholderTextView /// Created by YouXianMing on 16/7/
IOS image stretching and ios stretching skills
Throughout the mobile market, a mobile app, if you want to establish a foothold in the mobile market for a long time, must at least include the following elements: practical functions, strong user
Customizes common tag selectors and custom tag selectors
Custom generic tag Selector
Effect
Source code
CollectionGridView in https://github.com/YouXianMing/UI-Component-Collection
/// CollectionGridView. h // CollectionView /// Created by
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