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
Replication of objects in OC: II
Ladies and gentlemen, we introduced object replication in OC in the previous chapter, and we will continue to introduce this knowledge in this chapter. In the last chapter, we introduced what replication is and how to replicate. This chapter will introduce the principles behind replication and the principles of replication operation.
Principle ...
Posted by onepixel on Tue, 21 Dec 2021 11:18:54 +0100
iOS LeetCode ☞ maximum number of splices
Given two arrays of length m and N, their elements are composed of 0 - 9, representing the numbers on each bit of two natural numbers. Now select k (k < = m + n) numbers from the two arrays and splice them into a new number. The numbers taken from the same array are required to maintain their relative order in the original array.
Find the m ...
Posted by immanuelx2 on Mon, 20 Dec 2021 17:33:42 +0100
Principle and use of fluent Key what happens without a Key
In fluent, almost every widget has a Key, but we usually don't pass the Key when we use it. So what is the Key used for? Almost every widget has it, but we rarely use it When on earth will it be needed?
Next, let's see what happens when you don't use a key when you need a key
Let's start with a common example:
Column(
children: [
Conta ...
Posted by DeepakJ on Sat, 18 Dec 2021 04:43:01 +0100
iOS screen real-time sharing function practice (detailed code attached)
Many people's impression of screen sharing only stays in the scene of PPT reporting on the PC, but in fact, today's screen sharing has already crossed the circle. For example, in a familiar scene - live game broadcast, the anchor needs to show his picture to the audience in the form of "screen sharing", and has high requirements for r ...
Posted by unreal128 on Tue, 14 Dec 2021 22:25:18 +0100
IOS fluent learning road day4
Write your first fluent app
This is a guide to creating your first fluent application. If you are familiar with object-oriented and basic programming concepts (such as variables, loops, and conditional control), you can complete this tutorial without knowing Dart or having experience in mobile development.
Step 1: create a fluent appStep 2: ...
Posted by scliburn on Tue, 14 Dec 2021 20:07:10 +0100
How to use dSYM to symbolize crash logs. Analyze online crash
How to use dSYM to symbolize crash logs. Analyze online crash1 get the unresolved crash log.2 get dSYM file3 symbolization using xcode's symbolic graph tool3.1 find symbolicatecrash3.2 place crash, dSYM and symbolic crash in the same folder3.3 execute commands to generate symbolic files4 frequently asked questions4.1 Error: "DEVELOPER_DIR" is n ...
Posted by aaadee on Sat, 11 Dec 2021 02:27:34 +0100
Alamofire introduction notes
Newcomers began to learn IOS development. Today, they read the basic commands of alamofire and referred to the official website. To sum up, the official documents are as follows. You can use cocapods to import the Alamo fire Library:
https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md
Send request:
AF.reque ...
Posted by rcmehta_14 on Mon, 06 Dec 2021 23:30:30 +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