How to improve the quality of iOS code through static analysis

  With the expansion of the project, it is more and more unrealistic to rely on human codereview to ensure the quality of the project. At this time, it is necessary to use an automatic code review tool: program static analysis.   Program Static Analysis is a kind of code analysis technology that can scan the program code through lexical analys ...

Posted on Tue, 26 May 2020 04:01:28 -0400 by onekoolman

fio storage performance manometry

1. Environmental Instructions: This demo is a dellr620 physical server with centos7.6 x86_64-bitThe hardware-related information is as follows: [root@mysql-redis scripts]# sh hw_msg1.sh +--------------------------------------------------------------+ | This Machine's Hyper-Threading is Enabled(recommend disable) | +--------------------------- ...

Posted on Sun, 24 May 2020 12:20:30 -0400 by tha_mink

Animation effect of "peacock opens screen" in Flutter

Guide reading for Lao Meng: today, I share an animation effect similar to "peacock opens the screen". When opening a new page, the new page will gradually open to the full screen from the top right corner of the screen. Let's see the specific effect first I don't know the name of this effect? If you have a more appropriate name, p ...

Posted on Sun, 24 May 2020 09:08:48 -0400 by geek_girl_2020

Download videos and save them to your mobile album

Function description: The transcoded video (less than 20MB) needs to be downloaded to the mobile phone album through APP to share the small video to WeChat. 1. Video is transcoded from the server, or many cloud providers will provide this functionality. 2. Download to mobile photo album via APP, this is what we need to do. Main Techniques: U ...

Posted on Sat, 23 May 2020 12:38:06 -0400 by sheilam

RAC < 5 > circular reference analysis

RAC can take over all the events in iOS development, as mentioned in the previous article. Although the cost of learning is relatively large, without RAC, many events are not written in the same way. Write one thing in the East and one thing in the West. How does RAC replace KVO? @property (nonatomic,strong)Person *person; - (void)vi ...

Posted on Fri, 22 May 2020 04:34:07 -0400 by m0rpheu5

Basic use of iOS local push notifications

Local Notification before iOS 10 Steps to use: Create a UILocalNotification object Set trigger time and title, content Register and schedule notifications // 1. Create a UILocalNotification object let localNotification = UILocalNotification() // 2. Set trigger time, title and content localNotification.fireDate = Date(timeIntervalSinceNow: 3) ...

Posted on Sat, 16 May 2020 12:42:45 -0400 by simpli

Stack Overflow Flutter Problem Over Millions - Phase 2

Mr. Meng: The Stack Overflow Flutter Question - Issue 1, which was shared a month ago, is liked by many friends. Thank you for your support. There is a link to the first issue at the end of the article. I hope this article will help you. No connected devices It is estimated that most of this problem has been encountered, and the solutions ar ...

Posted on Thu, 14 May 2020 22:03:17 -0400 by Monkee Of Evil

iOS 13 problem solving and apple login, dark mode

This article corresponds to github address iOS 13 problem solving and apple login , if the resource cannot be found or the details change due to github tuning, please visit github Nuggets address This article moves bricks directly, just look at it iOS 13 (Xcode11 compile time) problem solving and apple login KVC may crash (not all, not all, n ...

Posted on Fri, 08 May 2020 05:44:53 -0400 by grlayouts

The experience of accessing native APNS in a job

scene The company's products mainly interact with the intelligent hardware on the APP side, involving the push of hardware alarm and status, which must be delivered to the user in real time. At the beginning, we chose the integrated Aurora push free version, and the effect can also be achieved, but on the 4th-1st, the aurora server crashed in t ...

Posted on Thu, 07 May 2020 23:00:42 -0400 by wwfc_barmy_army

iOS location service and map

CoreLocation (location and geocoding, etc.) Use steps: Import CoreLocation Library Create CLLocationManager object Request user authorization - the key of NSLocationWhenInUseUsageDescription needs to be added to Info.plist Set up agent and implement corresponding agent method Call start positioning method Call end location method import UIKit ...

Posted on Wed, 06 May 2020 06:50:36 -0400 by sherone