iOS Swift No.26 - access control 2

Chapter 26 access control 3. Access Control Syntax Before the entity introducer, we can use these five modifiers (open, public, internal, fileprivate or private) to define the five access levels of the entity. public class SomePublicClass {} internal class SomeInternalClass {} fileprivate class SomeFilePrivateClass {} private class SomePrivateC ...

Posted by zoobooboozoo on Thu, 19 May 2022 16:33:45 +0300

WKWebView js interactive memory release problem

In the interaction between WkWebView and JS, we often inject MessageHandler method into the native to establish interaction with JS. In normal operation, we find that self is strongly referenced when injecting handler into JS, which eventually leads to memory leakage, making the holding class of Webview unable to be released, resulting in memor ...

Posted by bftwofreak on Thu, 21 Apr 2022 00:18:07 +0300

Swift functional programming 12 (table application)

Code address This example writes a parser for the expressions you want to parse, writes an evaluator for these expressions, and then embeds them in the interface. analysis be based on Parser combination operator The arithmetic expression parser in introduces additional levels of abstraction. Previously, the parser written will directly retu ...

Posted by dmphotography on Fri, 15 Apr 2022 10:37:08 +0300

App store process record from zero to launch in 3 days

App store process record from zero to launch in 3 daysJust a week after the Qingming holiday, I got my wish and put an App I wanted on the App storeFrom idea to technology selection, from design draft to framework development, and from reviewing the app store to putting it on the shelf, it took me three days. In these three days, I stepped on m ...

Posted by ppowell on Sat, 09 Apr 2022 16:44:16 +0300

Secondary development of Swift Playgrounds guessing game

1. Project introduction This is a small game written in Swift language and extended by guessing boxing. It can be run directly in Swift Playgrounds of mac or ipad. The source code is in China University MOOC / Introduction to Swift innovation It was downloaded from the course at the second start of the course. 2. Project analysis Detail ...

Posted by jd023 on Fri, 01 Apr 2022 08:31:05 +0300

Conflict between IOS sideslip return and sliding view

1. Introduction to interactivepopgesturerecognizer attribute We all know that Apple has been doing its best in human-computer interaction. In IOS7, a small function has been added, that is, this API: self navigationController. interactivePopGestureRecognizer. enabled = YES The navigation controller will install the gesture recognizer ...

Posted by mancroft on Wed, 30 Mar 2022 12:46:05 +0300