[Effective Objective-C] - Reading Notes
Article 1: understand the origin of Objective-C
Objective-C evolved from Smalltalk (the ancestor of message language), so Objective-C uses "message structure" rather than "function call".
The difference between the two is as follows:
//Messaging (Objective-C)
Object *obj = [Object new];
[obj performWith:parameter1 and ...
Posted by jackyhuphp on Sat, 15 Jan 2022 22:37:33 +0100
Apple mobile phone is equipped with Xcode13 packaging and IOS15 system
In September 2021, Apple released xcode13 and iOS15. Every year, apple requires developers to limit the submission of Xcode versions of market apps. The mobile securities App makes full time preparations to deal with the restrictions in advance. At present, the company's project is adapting in advance, so it is recorded again.
1. Prob ...
Posted by paulrichards19 on Fri, 14 Jan 2022 11:37:47 +0100
Loading of iOS underlying exploration: class association object AssociatedObject
1. Review
In the previous blogs, I mainly talked about class loading, including the underlying exploration of classification loading. This time, I will analyze the class extension and associated objects.
Loading of iOS underlying exploration (III): attachCategories analysis
2. Expansion
2.1 what is classification and extension
First, let's ...
Posted by JeremyTiki on Thu, 13 Jan 2022 20:34:20 +0100
32. User defined route switching animation of fluent
A MaterialPageRoute component is provided in the Material component library, which can use route switching animation consistent with the platform style. For example, it will slide left and right on iOS and up and down on Android. Now, what should we do if we also want to use the left-right switching style on Android? A simple way is to directly ...
Posted by KendersPlace on Thu, 13 Jan 2022 02:05:30 +0100
Swift parses Struct like HandyJSON
HandyJSON
HandyJSON is a framework developed by Ali to convert JSON data into corresponding models on swift. Compared with other popular Swift JSON libraries, HandyJSON is characterized by its support for pure swift classes and ease of use. When it is deserialized (converting JSON to Model), it does not require Model to inherit from NSObje ...
Posted by garg_vivek on Wed, 12 Jan 2022 18:25:47 +0100
"iOS development" how to write a poll gracefully
Article starting address( Mr Huang xiansen's blog (thatisawesome.club))
Business background
Think of a business scenario where the client initiates a task submission request to the Server through the / api/commit interface, and the Server returns a successful Response after receiving the request , in order to obtain the execution progress of ...
Posted by Beans on Mon, 10 Jan 2022 05:46:07 +0100
Android project architecture design in simple terms
Author Pu KeThis paper introduces how to design the architecture of a large Android project from 0 to 1.One guideThis article is long and can be combined with the following table to guide you to quickly understand the main context of the full text.II. Project architecture evolutionThis chapter mainly summarizes the evolution process of an Andro ...
Posted by PHP Newb on Sat, 08 Jan 2022 20:22:55 +0100
iOS process, thread, lock
Relationship between process and thread
A process is an application running in the system. Each process is independent. Each process runs in its dedicated and protected memory space. If a process wants to perform tasks, it must have a thread (each process must have at least one thread, called the main thread). All tasks of a process (progra ...
Posted by bapan on Fri, 07 Jan 2022 03:22:03 +0100
Expansion -- mac system ios automation -- environment configuration
Download Python 3
https://www.python.org/downloads/mac-osx/
Modify environment variables
Modify ~ /. Under the user root directory bash_profile file, input at the terminal:
vi ~/.bash_profile
Add a new row
PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}"
export PATH
alias python="/Library/Frameworks/Python.framework ...
Posted by azaidi on Wed, 05 Jan 2022 17:46:53 +0100
Use of iOS WKWebView
preface
Recently, the UIWebView in the project was replaced with WKWebView, so let's summarize. Example Demo: Use of WKWebView This article will introduce WKWebView from the following aspects: 1. Some classes involved in WKWebView 2. Proxy methods involved in WKWebView 3. Implementation of web content loading progress bar and title 4. Inter ...
Posted by snorky on Wed, 05 Jan 2022 11:24:40 +0100