Blind date app development to solve the problem of memory circular reference

What is a circular reference ARC has been out for a long time. It is really convenient to automatically release memory, but it is not absolutely safe and will never cause memory leakage in the development and application of blind date app. An invisible killer that makes iOS objects unable to be released as expected is circular reference. Circu ...

Posted by RobbertvanOs on Wed, 22 Dec 2021 16:06:26 +0100

[iOS] record the widget development process and problems encountered

Write in front 1. After iOS14, apple updated the extension component and introduced a new UI component: WidgetKit, but abandoned the Today Extension component of versions below iOS14; 2. The widgextension uses a new WidgetKit, which is different from the Today Widget. It can only be developed using SwiftUI, so SwiftUI and Swift foundation are ...

Posted by Froolah on Fri, 03 Dec 2021 15:52:04 +0100

iOS development from scratch: 00 | Swift basic syntax

catalogue 1, Development environment 2, About Swift (1) Introduction to Swift (2) Swift properties (3) Conclusion 3, Swift basic syntax (1) Programming preparation (2) Hello,world! (3) Simple value 1. Variables and constants 2. String 3. Arrays, dictionaries, sets, and tuples 4. Optional type (4) Control flow 1. Conditional state ...

Posted by ziv on Fri, 03 Dec 2021 00:06:37 +0100

Analysis of 5000 word react native source code

Write at the beginning Recently, the official account of React-native is the main attack. By the way, I will review the next React-native. Node.js And cross platform direction, architecture and Debug If you are interested in the proposal, we should recommend the following official account. https://mp.weixin.qq.com/s/RsvI5AFzbp3rm6sOlTmiYQ Of ...

Posted by godfrank on Mon, 22 Jun 2020 06:32:47 +0200

char,unsigned char,uint8_t,uint16_t

Article directory char,unsigned char,uint8_t,uint16_t Summary Turn NSString uint8_t,uint16_t On the range of value char int Calculation method of value range sizeof() Some system macros Recommended reading char,unsigned char,uint8_t,uint16_t Summary Basics In C/C + +, char is used to de ...

Posted by VBAssassin on Tue, 10 Mar 2020 04:40:27 +0100

Using rime input method in Emacs

When using external input method in email, the biggest problem is that when switching the email mode, there will be a delay for input, because you need to manually switch the input method to the corresponding English mode to use the shortcut keys normally. But if you use Emacs' own input function, you don't need to do these synchronizations. Yo ...

Posted by Merve on Thu, 16 Jan 2020 12:41:19 +0100

Learn more about oom (low memory crash) in iOS

In the iOS development process or user feedback, you may often see this situation. When you use it, you will crash. When you check the crash stack in the background, you cannot find the crash log. In fact, most of this may be due to the system's low memory crash, that is, oom (another possibility is tha ...

Posted by drums on Thu, 16 Jan 2020 10:18:18 +0100

On how to output a number as original code, inverse code and complement code

There is a question: Write a function to input a number and output the original code, inverse code and complement code of the number At first, I didn't use the idea of bit operation, so I wrote the following long code: (suppose I type - 1754) #include <stdio.h> #include <math.h> int positive(int num) //Used to cal ...

Posted by tested_123 on Tue, 12 Nov 2019 21:01:16 +0100

[top] cocos2d-x 3.0 game development Xcode 5 handsome blog teaching 003.[HoldTail] game world and background...

Original link: http://www.cnblogs.com/riasky/p/3455228.html cocos2d-x 3.0 game development Xcode 5 handsome blog teaching 003.[HoldTail] game world and background screen The foreword I wrote to you, when I was learning cocos2d-x, I went ...

Posted by soul on Sun, 20 Oct 2019 16:26:36 +0200

Homebrew package manager

Homebrew Package manager [toc] I. Introduction Homebrew It is a package manager under Mac OS X, which is equivalent to yum and apt-get under Linux. Homebrew It is easy to download and install applications, and it is no longer necessary to search for various installation packages by hand. Be careful: Homebrew With Mac OS X MacPorts Package Mana ...

Posted by Taro on Sun, 15 Sep 2019 14:49:19 +0200