iOS project clear unused pictures

Preface iOS projects usually put pictures into Image Assets to manage pictures. After iterating several versions, some pictures may not be deleted in time. These pictures will make the project larger, so they need to be cleaned regularly. Android can do this using Lint, and iOS can easily do it using Python scripts. 1, Insta ...

Added by christophe on Sun, 29 Dec 2019 19:16:49 +0200

uni-app: How do I implement incremental updates?

As you know, many APPs have incremental updates. Uni APP also introduced incremental updates at the beginning of this year. Today we will learn about them. Of course, many app markets, especially apple, reject incremental updates in order to prevent developers from providing illegal content to users without market review and approval.So with in ...

Added by gm04030276 on Thu, 26 Dec 2019 05:49:49 +0200

Niuke national day training party, Day6 I, Huang YY (tree chain division + line tree)

Title Link: https://www.nowcoder.com/acm/contest/206/I Main idea of the topic: in Chinese, you can meet ~ -, -. Topic idea: the topic requires a chain update operation on the tree. It is very intuitive to think of using tree chain segmentation. What this problem requires is what color each node is dyed when it is dyed for the ...

Added by shurrupak on Thu, 19 Dec 2019 18:16:57 +0200

A history of iOS code evolution

This is an interesting piece of code: First stage: NSArray *tabBarItems=self.tabBar.items; UITabBarItem *indexItem = [tabBarItems objectAtIndex:0]; indexItem.title=@"home page"; indexItem.image=[UIImage imageNamed:@"menu_01_normal"]; UITabBarItem *categoryItem = [tabBarItems objectAtIndex:1]; indexItem.title=@"classification"; ind ...

Added by Pointybeard on Fri, 13 Dec 2019 18:40:20 +0200

[iOS] custom picture selector

demo:https://download.csdn.net/download/u012881779/10756087 This article is due to a question asked during the interview this summer. Have you customized photo selector? So I take the time to check the data and write a simple demo here. Content: 1. Write a "custom picture selector". 2. The tool is used to cut the pict ...

Added by cheeks2k on Thu, 12 Dec 2019 22:24:05 +0200

iOS12 WKWebView getting cookie s and using wkwebview JavaScript Bridge

Recently, using WKWebView to obtain cookie s by proxy method has been unsuccessful. Later, I found that there was a problem with the newly upgraded IOS 12, so I directly added the code - (void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKN ...

Added by gfmitchell on Wed, 11 Dec 2019 21:51:50 +0200

Android IOS like PopupWindow and general base PopupWindow

screenshot pw.png Realization 1,BasePopupWindow.java 1.1. Realize dynamic loading of different layout s 1.2. Whether the background is translucent after the dynamic configuration is popped up and restored when it is closed (monitor ondismiss and use the window class to change color) 1.3. Some basic method abstraction methods ...

Added by nullified on Wed, 11 Dec 2019 18:47:30 +0200

H5 wake up APP client

When developing WeChat public number project, share page users sign up to participate in the activity. The activity flow is to be completed on app, and the activity page is clicked to sign up. It needs to check whether the user's mobile phone is installed app, and does not install the guide user to download. If app is installed, the app will be ...

Added by Ree on Wed, 11 Dec 2019 17:21:26 +0200

[AHOI2009] similar distribution digit dp

Title Description Give two numbers a,b, and find out the number of numbers whose sum of the numbers in [a,b] can divide the original number by integral. I / O format Input format:   One line, two integers a and b   Output format:   An integer indicating the answer   Example of input and output Input example ා 1: cop ...

Added by phpbrat on Tue, 10 Dec 2019 22:17:49 +0200

Upload a simple example of pictures using the image interface of wechat JS-SDK

1. Fully implement ios and Android wechat environment, select wechat album pictures, upload and save them locally2. Note that js version is compatible, use this version <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript"></script> Official explanation3. This example process will call the wx.chooseImag ...

Added by Alexhoward on Tue, 10 Dec 2019 04:35:46 +0200