Telegram Group & Telegram Channel
Вам не (всегда) нужно использовать [weak self]

Конечно, при некорректной работе с замыканиями могут возникать ошибки.

🛠 Например, это небольшое приложение демонстрирует различные сценарии утечки памяти, а также показывает, где использование [weak self] может быть излишним.

Одна из возможных ситуаций: у вас есть дочерний контроллер, который хранит ссылку на своего владельца/родителя в свойстве. Вот тогда свойство должно быть помечено weak, чтобы предотвратить циклическую ссылку/ретэйн цикл.

📖 В этой статье рассматриваются ключевые моменты на реальных примерах.

😃 iOS Dev — некоторые материалы лучше сохранить
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/iosdev/807
Create:
Last Update:

Вам не (всегда) нужно использовать [weak self]

Конечно, при некорректной работе с замыканиями могут возникать ошибки.

🛠 Например, это небольшое приложение демонстрирует различные сценарии утечки памяти, а также показывает, где использование [weak self] может быть излишним.

Одна из возможных ситуаций: у вас есть дочерний контроллер, который хранит ссылку на своего владельца/родителя в свойстве. Вот тогда свойство должно быть помечено weak, чтобы предотвратить циклическую ссылку/ретэйн цикл.

📖 В этой статье рассматриваются ключевые моменты на реальных примерах.

😃 iOS Dev — некоторые материалы лучше сохранить

BY iOS Dev




Share with your friend now:
tg-me.com/iosdev/807

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Telegram and Signal Havens for Right-Wing Extremists

Since the violent storming of Capitol Hill and subsequent ban of former U.S. President Donald Trump from Facebook and Twitter, the removal of Parler from Amazon’s servers, and the de-platforming of incendiary right-wing content, messaging services Telegram and Signal have seen a deluge of new users. In January alone, Telegram reported 90 million new accounts. Its founder, Pavel Durov, described this as “the largest digital migration in human history.” Signal reportedly doubled its user base to 40 million people and became the most downloaded app in 70 countries. The two services rely on encryption to protect the privacy of user communication, which has made them popular with protesters seeking to conceal their identities against repressive governments in places like Belarus, Hong Kong, and Iran. But the same encryption technology has also made them a favored communication tool for criminals and terrorist groups, including al Qaeda and the Islamic State.

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

telegram from us


Telegram iOS Dev
FROM USA