Is the code inside an AppDelegate messy?
Are there thousands of lines of code in an AppDelegate?
AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers.
So adding a new category to AppDelegate is the easiest and clearest way to do it
Posted by solon on Tue, 26 May 2020 19:28:06 +0200
In the process of warehousing and logistics, it is often necessary to use thermal printer or carbon tape printer to print some barcode and information and paste them on the physical object or package
The best way is not to directly use thermal code to form text and output it to printer for printing
But thermal code is also a special language to ...
Posted by gavinbsocom on Wed, 20 May 2020 09:43:00 +0200
I. BOM Operation
1. window Object
2. window child object
3. Hisry Object
4. location object (master)
5. Pop-up box
2. DOM Manipulation
1. DOM-related concepts
2. Find labels
3. Node Operation
4. Get Value Operation
5. class, css operations
(Here's what you do with a browser in a mac notebook (check the con ...
Posted by timcapulet on Mon, 18 May 2020 18:20:38 +0200
Recently, I encountered an item without mouse on the device. The interface is a DataGrid with full screen. It needs to scroll up and down the currently selected row of DataGrid by pressing 0 and 1 of the keypad
For important reference, https://blog.csdn.net/sinat_/article/details/105428496 implements background scrolling to the currently selec ...
Posted by arag0rn on Sat, 16 May 2020 16:32:11 +0200
Image: a read-only template, similar to the image of a virtual machine.
Container: it can be understood as a running instance of the image. The runtime is similar to a sandbox, with multiple containers independent of each other.
Warehouse: the place where image files are stored.
Posted by evildarren on Sat, 16 May 2020 09:07:41 +0200
Station B is very simple for downloading a single video. You can install plug-ins in the browser, which will not be covered here. This paper mainly introduces the batch download and resource integration of multi-P video.
There are two ways:
Execute py script
Run exe tool
1. Download B station client in windows store
Posted by leeroy1 on Fri, 15 May 2020 07:51:47 +0200
1. Conceptual Name
Windows services (formerly NT services) allow you to create executable applications that run for a long time in their own Windows sessions.These services can be automatically started at computer startup, paused and restarted, and do not display any user interface.This service is ideal for use on servers or at any time when lo ...
Posted by jamesl73 on Fri, 15 May 2020 05:49:48 +0200
leetcode-3. The longest substring without repeating characters.
Given a string, please find out the length of the longest substring that does not contain duplicate characters.
Explanation: because the longest substring without repeating characters is "abc", its length is 3.
Posted by zildjohn01 on Thu, 14 May 2020 16:09:18 +0200
1. Data coding problem of curl submission
When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded.
1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding.
2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code.
3. Wri ...
Posted by boiy on Sun, 10 May 2020 16:19:42 +0200
cookie usage for urlib:
If you already know the cookie, or the cookie you obtained through packet grabbing, you can log in directly in the header's information;
The cookie information on the website of Jingdong is different from that on the website of Jingdong,
You can log in to JD, grab the cookie information, and t ...
Posted by clanstyles on Wed, 06 May 2020 02:06:44 +0200