IOSDEV Telegram 1288
Новый метод count(where:) в Swift 6

➡️В SE-0220 появился новый метод count(where:), который выполняет filter() и count за один проход.

Это позволяет избежать создания нового массива и обеспечивает четкое и прозрачное решение подсчёта.

🤩 Этот метод доступен для всех типов, соответствующих Sequence, поэтому его можно использовать и для сетов, и для словарей.

😃 iOS Dev
Please open Telegram to view this post
VIEW IN TELEGRAM
👍71🔥16122🎉2❤‍🔥11👏1🏆1🎄1🆒1



tgoop.com/iosdev/1288
Create:
Last Update:

Новый метод count(where:) в Swift 6

➡️В SE-0220 появился новый метод count(where:), который выполняет filter() и count за один проход.

Это позволяет избежать создания нового массива и обеспечивает четкое и прозрачное решение подсчёта.

🤩 Этот метод доступен для всех типов, соответствующих Sequence, поэтому его можно использовать и для сетов, и для словарей.

😃 iOS Dev

BY iOS Dev




Share with your friend now:
tgoop.com/iosdev/1288

View MORE
Open in Telegram


Telegram News

Date: |

You can invite up to 200 people from your contacts to join your channel as the next step. Select the users you want to add and click “Invite.” You can skip this step altogether. Telegram iOS app: In the “Chats” tab, click the new message icon in the right upper corner. Select “New Channel.” On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. How to Create a Private or Public Channel on Telegram? Commenting about the court's concerns about the spread of false information related to the elections, Minister Fachin noted Brazil is "facing circumstances that could put Brazil's democracy at risk." During the meeting, the information technology secretary at the TSE, Julio Valente, put forward a list of requests the court believes will disinformation.
from us


Telegram iOS Dev
FROM American