Implementation of IOS Tom Cat Game
After learning a lot of ios knowledge, today we will realize a classic little game, tom cat game, without much nonsense, and directly enter the topic.
1, Effect display
2, Preparation and knowledge points
1. Because the program generates various effects through a series of animations formed by pictures, we need to prepare the pictures requ ...
Added by Dale on Fri, 14 Jan 2022 20:11:09 +0200
Swift's practice in 58 anjuke real estate
01
Background
In 2014, Apple released a new language Swift at WWDC. Since then, it has been continuously updated, iterated and optimized. Major companies ...
Added by mouli on Wed, 05 Jan 2022 13:48:34 +0200
iOS attribute keyword
Several iOS attribute keywords
1.nonatomic,atomiac: Nonatomic: nonatomic, atomiac atomic. The default attribute is atomiac, that is, atomic. Nonatomic has high execution efficiency. atomiac: reading and writing is safe, but inefficient, not absolutely safe. 2.readwrite,readonly: Readwrite read-write, readonly read-only. The default property ...
Added by ddubs on Wed, 29 Dec 2021 09:34:41 +0200
Use of iOS WKWebView -- API
WKWebView is a browser control in WebKit, a framework launched by apple after iOS 8. Its loading speed is much faster than UIWebView, but its memory occupancy rate decreases a lot. It also solves the problem of memory leakage when loading web pages Most current projects only need to be adapted to iOS 8, so it is necessary to replace the UIWebVi ...
Added by digitalecartoons on Wed, 29 Dec 2021 03:07:25 +0200
Summary and Analysis of iOS Multithreaded Interview Questions
Preface
In fact, before I wrote this blog, I was also looking up bad materials, but I found that many people on the Internet said that the summary of content was not correct, resulting in a lot of pits for myself, so I want to recapitulate it, make a reference for myself, and also review it. Of course, I may have something wrong, I hope it can ...
Added by alan543 on Thu, 23 Dec 2021 17:17:05 +0200
CaptainHook source code analysis: dynamically create classes & & get and set the value of member variables & & dynamically add attributes
Dynamically create class (CHRegisterClass)
In CaptainHook.h, the macro interface CHRegisterClass is used to dynamically create a class at runtime, which is defined as:
// @param.name The name of the class to be dynamically created (do not add "" or @ "")
// @param.superName The name of the parent class of the clas ...
Added by Jordi_E on Thu, 09 Dec 2021 06:16:30 +0200
[iOS study notes] - talk about wild pointer and zombie object positioning
[iOS study notes] - talk about wild pointer and zombie object positioning
1, Start with an exception
In the development of iOS projects, we will encounter some Crash situations more or less. Most of the exceptions thrown by Crash are from the NSException layer. Such exceptions are caused by OC layer code problems. Usually, the stack informati ...
Added by Elarion on Sun, 05 Dec 2021 18:08:58 +0200