Open in app
Home
Notifications
Lists
Stories

Write
Dennis Zhang
Dennis Zhang

Home

About

Jun 19

Path to Swift 6 (updating …)

Swift.org The catalogs listed below are mainly referenced to What’s new in Swift 5.x series which is organized by Paul Hudson What’s news in Swift 5.7 Reference link if let shorthand for unwrapping optionals (SE-0345) Clock, Instant, and Duration(SE-0329) Regular expressions • SE-0350 introduces a new Regex type • SE-0351 introduces a result builder-powered DSL for creating regular…

I OS

4 min read

Path to Swift 6 (updating …)
Path to Swift 6 (updating …)

May 22

Don’t waste your time(1) — Navigation Bar Item

Do you have to configure the navigation items every time you present or push a new controller? if so, never do this again. All you need to do is add a few codes somewhere. In general, in the same App, the left Item of the Navigation Bar might follows three…

I OS

3 min read

Don’t waste your time(1) — Navigation Item
Don’t waste your time(1) — Navigation Item

May 9

Design an APP Routing(updating. . .)

what’s the APP Routing In my personal opinion, In front-end development, routing is the ability to map to the associated business through an input string. First, the routing of the APP can collect the routing scheme of each component and generate a routing table. Then, it can match the associated…

I OS

2 min read


Apr 28

AppDelegate says it wants a cleaner structure

Does your AppDelegate have hundreds of lines of code? Does your AppDelegate handle a variety of different businesses? Each method of your AppDelegate is filled with different business code logic If so, it’s time for a big makeover. First of all, let’s have a look on what AppDelegate looks like…

I OS

3 min read

AppDelegate says it wants a cleaner structure
AppDelegate says it wants a cleaner structure

Apr 28

Manage paging requesting automatically

Business background: Some data list display pages, such as News, usually have the following actions: Pull down to refresh the latest data pull up to load more data Generally, for API with list data, there are two parameters namely page offset and page size for paging request. If different pages have…

4 min read

Manage paging requesting automatically
Manage paging requesting automatically

Apr 7

Design a lightweight multi-theme framework for iOS

When designing a framework, the most important thing is whether the API is concise and easy to use for the caller, therefore, before we start entering the first piece of code, we need to consider what the APIs looks like, so that we can complete the framework with clear goals…

Swift

5 min read

Design a lightweight multi-theme framework for iOS
Design a lightweight multi-theme framework for iOS

Apr 1

Design a lightweight multi-language framework for iOS

When designing a framework, the most important thing is whether the API is concise and easy to use for the caller, therefore, before we start entering the first piece of code, we need to consider what the APIs looks like, so that we can complete the framework with clear goals…

3 min read

Design a lightweight multi-language framework for iOS
Design a lightweight multi-language framework for iOS
Dennis Zhang

Dennis Zhang

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable