Telegram Group & Telegram Channel
🌄 Динамическая высота ячейки в коллекции: Frame Based

Одна из моих первых статей в закрытом ноушене, которую вы точно не найдете нигде.

Самый частый запрос при работе с коллекциями "А как сделать динамическую высоту в ячейках?".

Есть множество путей сделать эту задачу. Но самый "сеньорный" это сверстать с помощью фреймов и UICollectionViewDelegateFlowLayout

Верстка фреймами в некоторых компаниях даже считается требование от сеньора. А, например, в проектах авито и яндекса, почти вся верстка с помощью фреймов.

Чем экспертнее разраб, тем меньше он нуждает в других инструментах. Часто многие проекты отказывались от SnapKit, PinLayout и других DSL для верстки.

Она позволяет:
🟣прерасчитывать лайаут в бэкграунде
🟣глубоко понимать верстку
🟣лучше контролировать позиции и размеры

🌿Сделал полный пример в гитхабе. Я всегда использую это решение в проде. Можете комментить что бы улучшили
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM



group-telegram.com/iosmakesmehate/2005
Create:
Last Update:

🌄 Динамическая высота ячейки в коллекции: Frame Based

Одна из моих первых статей в закрытом ноушене, которую вы точно не найдете нигде.

Самый частый запрос при работе с коллекциями "А как сделать динамическую высоту в ячейках?".

Есть множество путей сделать эту задачу. Но самый "сеньорный" это сверстать с помощью фреймов и UICollectionViewDelegateFlowLayout

Верстка фреймами в некоторых компаниях даже считается требование от сеньора. А, например, в проектах авито и яндекса, почти вся верстка с помощью фреймов.

Чем экспертнее разраб, тем меньше он нуждает в других инструментах. Часто многие проекты отказывались от SnapKit, PinLayout и других DSL для верстки.

Она позволяет:
🟣прерасчитывать лайаут в бэкграунде
🟣глубоко понимать верстку
🟣лучше контролировать позиции и размеры

🌿Сделал полный пример в гитхабе. Я всегда использую это решение в проде. Можете комментить что бы улучшили

BY iOS Makes Me Hate







Share with your friend now:
group-telegram.com/iosmakesmehate/2005

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Under the Sebi Act, the regulator has the power to carry out search and seizure of books, registers, documents including electronics and digital devices from any person associated with the securities market. Since January 2022, the SC has received a total of 47 complaints and enquiries on illegal investment schemes promoted through Telegram. These fraudulent schemes offer non-existent investment opportunities, promising very attractive and risk-free returns within a short span of time. They commonly offer unrealistic returns of as high as 1,000% within 24 hours or even within a few hours. Perpetrators of these scams will create a public group on Telegram to promote these investment packages that are usually accompanied by fake testimonies and sometimes advertised as being Shariah-compliant. Interested investors will be asked to directly message the representatives to begin investing in the various investment packages offered. The message was not authentic, with the real Zelenskiy soon denying the claim on his official Telegram channel, but the incident highlighted a major problem: disinformation quickly spreads unchecked on the encrypted app. The account, "War on Fakes," was created on February 24, the same day Russian President Vladimir Putin announced a "special military operation" and troops began invading Ukraine. The page is rife with disinformation, according to The Atlantic Council's Digital Forensic Research Lab, which studies digital extremism and published a report examining the channel.
from in


Telegram iOS Makes Me Hate
FROM American