IOS technology sharing | adding beauty filters in iOS WebRTC
When using WebRTC, there are generally two ways to beautify the video: replacing the acquisition module in WebRTC and beautifying the video data.
1, Replace the acquisition module in WebRTC
It is relatively simple to replace the acquisition module in WebRTC. Use GPUImageVideoCamera to replace the video acquisition in WebRTC, get the image aft ...
Added by br0ken on Sat, 18 Dec 2021 19:33:21 +0200
Swift closure / enumeration
1. Swift closure
Closures are self-contained functional code blocks that can be used in code or passed as parameters.
Closures in Swift are similar to code blocks in C and Objective-C and anonymous functions in some other programming languages.
Global functions and nested functions are actually special closures.
The forms of closures ar ...
Added by inSaneELF on Fri, 17 Dec 2021 15:00:26 +0200
The sudden end of the Flutter network request for Dio -- the application of CancelToken
Sweet date
Programmer Xiao Ming is very happy today, because today is the first anniversary of his love with his girlfriend. As we all know, it is difficult for programmers to find girlfriends. Xiao Ming is currently the only programmer in their office, and has become the envy of many programmers. Xiao Ming's work efficiency is also very high ...
Added by ben.hornshaw on Thu, 16 Dec 2021 17:52:06 +0200
iOS-Bottom Principle 25:GCD Bottom Principle
This is an analysis of the underlying principles of queue creation, synchronous/asynchronous functions, singletons, semaphores, and scheduling groups
Queue Creation
Here we are at libdispatch.dylib explores how queues are created
Bottom Source Analysis
Search dispatch_in source code Queue_ Create
dispatch_queue_t
dispatch_queue_create( ...
Added by Luvac Zantor on Tue, 14 Dec 2021 20:30:18 +0200
SwiftUI APP integrates Google mobile advertising Admob
For all articles, please move to:
SwiftUI APP integrates Google mobile advertising Admob (I): https://www.xugj520.cn/archives/swiftui-admob-1.html SwiftUI APP integrates Google mobile advertising Admob (II): https://www.xugj520.cn/archives/swiftui-admob-2.html
Introduction:
As more and more applications are built using SwiftUI, I want to pro ...
Added by cyprus on Thu, 09 Dec 2021 03:53:38 +0200
Editor inconsistency in WeChat developer tool simulator, IOS real-time debugging, Android real-time debugging
Problem environment: 1. WeChat Developer Tools 1.05.2110290 (hereinafter referred to as "Tools") 2. True machine debugging version 1.0 (does not distinguish between IOS and Android) 3. WeChat's editor component for rich text input (including pictures, multiple formats, etc.) in your own projects The Editor interface effect is shown in ...
Added by limitphp on Fri, 03 Dec 2021 20:50:46 +0200
Common front-end JavaScript encapsulation methods
1. Enter a value and return its data type
function type(para) {
return Object.prototype.toString.call(para)
}
Copy code
2. Array de duplication
function unique1(arr) {
return [...new Set(arr)]
}
function unique2(arr) {
var obj = {};
return arr.filter(ele => {
if (!obj[ele]) {
ob ...
Added by spiritssight on Fri, 03 Dec 2021 12:44:39 +0200
Summary of products purchased internally in App Store -- Java version
Then, in the previous single purchase and subscription payment, when accepting the callback of the app store, it is found that the callback speed of the sandbox environment is sometimes slow, and then some optimization needs to be made. If the logic in Chapter 2 was followed, the backend interface should have monito ...
Added by ldomingues on Tue, 30 Nov 2021 15:11:19 +0200
Flutter developed Baidu map, stepping on countless pits and nanny level tutorials
Recently, I've been developing Baidu map with fluent. I've stepped on countless pits. It can be said that I've stepped on all the pits I can step on. I hereby record my bitter experience. The project described below is configured for Android, but ios is not configured. Development environment: sdk: "> = 2.12.0 < 3.0.0" Android S ...
Added by jraede on Sun, 21 Nov 2021 08:40:03 +0200
Flutter updates the installation package in the App and tears the interviewer by hand
3. With local version For information comparison, select whether to display the update pop-up window. We use event\_bus trigger
if (localVersion == remoteVersion) return;eventManager.eventBus.fire(new UpdateAppEvent(versionInfo));
4. When upgrading the version, pay attention to the difference Android And IOS (1) IOS to update app ...
Added by Archangel915 on Sat, 20 Nov 2021 10:35:25 +0200