Old driver iOS weekly, just for you to present valuable information.

news

App Store reviews will finally be ranked on iOS 11.3

Starting with iOS 11.3, users can rank App Store reviews in four categories: “Most helpful,” “Highest,” “Lowest,” and “Latest.” Since prior versions of iOS 11 didn’t have the ability to rank App Store reviews, this change is welcome, especially considering that the App Store currently displays outdated, irrelevant reviews from as far back as 2008 to some users.

Apple Reports First Quarter Results

Apple reported revenue of $88.3 billion, up 13% from $78.4 billion a year earlier, and net income of $20.1 billion, up 12% from $17.9 billion a year earlier.

Compared with 2017, iPhone sales fell from 78.29 million to 77.32 million. But the average selling price rose to $796 from $695, and revenue was $61.5 billion, up 13% from $54.4 billion a year earlier.

Apple has announced a recall of some iPhone 7s due to signal problems

Apple has confirmed that a small number of iPhone 7s May show “no service” in the status bar due to a failure of a component on the motherboard. The affected devices, which were manufactured between September 2016 and February 2018, were sold in Mainland China, Hong Kong, Japan, Macau and the United States and will be repaired free of charge.

Transporter supports uploading App preview information

Apple’s Transporter distribution tool now supports uploading App preview information. For details, please refer to the Transporter User Guide and App Metadata specification. Note that both documents are available in Chinese.

The article

Data Structure & Algorithm in Swift (I) : Swift foundation and data structure

Learning general knowledge and breaking skill bottleneck, @j_knight_ began the serialization of Data Structure and Algorithm Analysis — Swift Language Description.

This article will start with Swift basics, data structures. Explain the Swift syntax involved in subsequent serials, and use Swift to implement a few simple data structures.

🚧 Learn iOS Programming from Top Swift Articles of 2017

MyBridge AI selected the 45 most popular articles based on the keyword Swift from 15,000 articles.

Why does the Protocol Buffer serialize so well?

The Protocol Buffer is developed and open-source by Google. After the packet format is agreed on at both ends, data is encoded into binary packets during transmission. Because the data is no longer self-describing, it is much smaller and therefore much more efficient than XML or Json. This article describes in detail the strategies and coding rules adopted by the Protocol Buffer to improve serialization performance.

Swift Tip: OpaquePointer vs. UnsafePointer

Objc. IO explains why some Pointers are OpaquePointer and some are UnsafePointer

when importing type C to Swift. Looking beyond broadening Swift: Using Pointers And galaxies With C is recommended if you need Swift to interact With C in your development.

What’s the new Safe Area

IOS 11 has been out for a long time, and there are many adaptions. At first glance, I will feel that it is too late to write, but after reading it, I think it is the best summary, with illustrations and code examples, and highlights in bold. This article is definitely worthy of Mark.

Pragmatic iOS Development: In defence of MVC

There’s a lot of talk in the community that MVC means a very bloated view controller, but it was a Joke on Twitter five years ago.

In development, a large number of elements require an external delegate, and if they all delegate to a view controller, the controller can quickly swell. However, we can try another approach where the controller delegates tasks to a separate third-party object that contains no business logic and is only responsible for providing UI logic interactions based on data. This keeps the controller small and flexible.

Writing declarative code using Result Extensions

Write Extension to the Result type to write declarative code, creating highly flexible code and declarative apis that are easy to maintain, read, and test.

Model-View-Controller without the Controller

Think MVC isn’t working and want some new ideas? This article introduces in detail the author’s transformation of the traditional MVC pattern to build a new ModelAdapter-ViewBinder (MAVB) design pattern, and provides the corresponding example code, students who are interested in architecture must not miss.

Swift Algorithm Club: Hash Tables

A Hash Table is nothing more than an array. A Hash Table is nothing more than an array. Value retrieval, etc., from 0 to swift to teach you step by step to implement a hash table

tool

Transformer: EASY iOS NSAttributedString!

An online rich text editor that edits rich text in real time and then converts it to Swift or Objective-C code. It currently supports text thickness, underline style, text size, foreground/background color, text alignment, and more.

SwiftAI – Generate Model class from JSON

An Xcode plugin (also available as a standalone App) that converts JSON into Models for Codable and HandyJSON.

code

Google has open-source a Promise framework

The standard Promise library, produced by Google, is of guaranteed quality, with the advantages of lightweight, high performance, security, and complete testing. The core is written in Objective-C, and the Swift version is wrapped in Objective-C (note that the Swift version is not yet integrated with Cocoapods).

book

Swift Design Patterns

Hacking with Swift’s just-released Swift Design Patterns book – Swift Design Patterns. Priced at $40, it currently includes 24 common design patterns. The source code is attached and will be updated for free with the Swift version. Best practice books, the price of the original English books are not expensive, rich children’s shoes can buy a look.

The current editor

@No story zhuo, @Suniang, @Mmoaay, @Heiersen, @Eyrefree, @DamonWong, @Msg, @Zhang Jiafu, @Aidenrao

instructions

🚧 indicates that you need to climb the wall