iOS Development-UI (8) TableView
Knowledge points:
1.UITableView uses
2.UITableView Segmentation Function
3.UITableViewCell reuse mechanism
=======================
UITableView uses
1.UITableView role
2.UITableView Creation
- (id)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;
UITableViewStyle:
UITableViewStylePlain List Mode
UITableViewStyleGrouped Group ...
Posted by the DtTvB on Sat, 23 Mar 2019 13:39:52 -0700
iOS Container View Controller
iOS Container View Controller
A controller consists of one or more other controllers, the former being Container View Controller and the latter being Child View Controller. UINavigation Controller and UITabBarController are commonly used container controllers. This paper introduces the method of customizing container controller.
Custom Containe ...
Posted by mkili on Sat, 23 Mar 2019 04:51:54 -0700
IOS AVAudio Player Audio Player
There are three ways to play audio in iOS: AVAudio Player, audio service, and audio queue.
This article mainly talks about AVAudio Player, the other two please see the relevant articles.
AVAudio Player is in the AVFoundation framework, so we need to import the AVFoundation.framework.
The AVAudioPlayer class encapsulates the ability to play a ...
Posted by Thauwa on Sat, 23 Mar 2019 01:36:53 -0700
Reprinted other people's iOS bits and pieces of knowledge
1. Call code to make APP go into the background and click the Home key. (Private API)
[[UIApplication sharedApplication] performSelector:@selector(suspend)];
Suspend means: suspend; suspend; suspend; delay;
Second, URL processing with Chinese.
For example, like the following URL, which directly contains Chinese, may not play, t ...
Posted by batfink on Fri, 22 Mar 2019 17:45:52 -0700
Lock your app (android pattern unlock)
Preface: Two days ago, because of the project, I did a digital unlocking function imitating ios, and then I wrote that article. Lock your app (android digital unlock) Later, I came to think that there is another common unlock in the application, which is to draw pattern unlock. The layout of the two unlocks looks very similar, and the results ...
Posted by Amy1980 on Fri, 22 Mar 2019 05:33:52 -0700
Traps in Method Swizzling
Author: Dai Pei
Address: http://blog.csdn.net/dp948080952/article/details/54882811
Reprinted please indicate the source
This article is not about method exchange. There are many such articles. If you don't know what method exchange is, you can read this article. Method Swizzling
trap
Method swapping is a dangerous thing, which can cause ...
Posted by php_user13 on Fri, 22 Mar 2019 03:06:52 -0700
Lock your app (android digital unlock)
Preface:
If you don't say much, move first.
Preface: These two days, the boss gave a task, saying to be a digital lock screen interface imitating ios, thinking that there should be a lot of such things on the Internet, and then Baidu first, who knows that the case seems to be poor, and then with a skeptical attitude to download the &qu ...
Posted by ciciep on Fri, 22 Mar 2019 01:33:51 -0700
flex forbids rebound mechanism of ios wechat browser
Problem Description: Because of the rebound mechanism of Wechat Visitor, when html body is scrolled down, the whole page will be pulled down and the words provided by XXX will appear.
Problem recurrence:
Solution: Fix the whole html or body in the browser's visual area with flex. If the content area scrolls, you need to use the scroll plug-in. ...
Posted by ankrah on Thu, 21 Mar 2019 17:06:52 -0700
Summary of Cocos 2d-x 3.x Graphics Rendering Series
The author introduces: Jiang Xue Wei Technological Partner of IT Company, Senior IT Lecturer, CSDN Community Expert, Invited Editor, Best-selling Book Author, National Patent Inventor; Published Book: Hand-to-Hand Teaching Framework 3D Game Engine. Electronic Industry Press and< Unity3D Detailed Explanation of Actual Core Technologies, Elect ...
Posted by marf on Thu, 21 Mar 2019 15:54:51 -0700
KSCrash Source Code Analysis
0x01 installation process
1.1 Bricks and Jades
KSCrashInstallationStandard* installation = [KSCrashInstallationStandard sharedInstance];
installation.url = [NSURL URLWithString:@"http://put.your.url.here"];
[installation install];
The above code is the installation code of KSCrash, [KSCrash Installation Standard init] the underlying layer assig ...
Posted by fatal on Wed, 20 Mar 2019 20:39:27 -0700