SwiftUI dev
1.17K subscribers
87 photos
37 videos
1 file
74 links
Mobile development, SwiftUI, Compose, feel free to reach me: @lexkraev
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Анимация, вдохновленная Spotify. Отличный пример для тестовых заданий на SUI. Попробуйте воспроизвести сами! Посмотреть код здесь

Animation challenge inspired by Spotify. Try to make it yourself! You may find code here

#tasty #getsources
This media is not supported in your browser
VIEW IN TELEGRAM
AirDrop анимация. Попробуйте воспроизвести сами 💻 Посмотреть код здесь

AirDrop animation challenge. Try to make it yourself 💻 You may find code here

#tasty #getsources
This media is not supported in your browser
VIEW IN TELEGRAM
Канал вырос до 200 подписчиков! Спасибо каждому!☺️ Фейерверк-анимация для вас!🎇🎆 Код здесь

Thanks for 200 subscribers!☺️ Fireworks animation 4u!🎇🎆 Code is here

#tasty #getsources
This media is not supported in your browser
VIEW IN TELEGRAM
Xcode multi-cursor feature

Think everybody knows about this but whatever )))
This media is not supported in your browser
VIEW IN TELEGRAM
По-умолчанию, если вы добавляете кнопку в ячейку, вся ячейка будет реагировать на action этой кнопки.

Для ожидаемого поведения используйте модификатор .buttonStyle(PlainButtonStyle()) (или .buttonStyle(BorderedButtonStyle()), доступный с iOS 15)

By default, if you add a button to a SwiftUI's cell, all the cell's area will react to button's action.

To fix this, use .buttonStyle(PlainButtonStyle()) modifier (or .buttonStyle(BorderedButtonStyle()) available from iOS 15)

#howto
This media is not supported in your browser
VIEW IN TELEGRAM
Синтаксис if-let (и guard-let) в Swift 5.7 стал проще

New in Swift 5.7, the if-let syntax is even shorter 🔥 (it also works with guard-let)
This media is not supported in your browser
VIEW IN TELEGRAM
Расширяющиеся карточки 🌄🌅 Посмотреть код здесь

Expanding flex cards using SwiftUI 🌄🌅 You may find code here

#trytodo #tasty #groovy #getsources
This media is not supported in your browser
VIEW IN TELEGRAM
Именно так, начиная с xcode 13, можно поставить breakpoint внутри такого замыкания 👨🏻‍💻

You can use special tool - Column Breakpoints - to set a breakpoint inside that kind of closure 👨🏻‍💻
This media is not supported in your browser
VIEW IN TELEGRAM
Варианты открытий кнопки меню в виде 🍔 Код здесь

Cooking hamburgers 🍔 Code is here

#tasty #getsources
Media is too big
VIEW IN TELEGRAM
Кастомизируем таб бар Код можно найти здесь

Customising and animating tab bar 🌊 using SwiftUI Code is here

#howto #tasty #groovy #getsources

@swiftui_dev
This media is not supported in your browser
VIEW IN TELEGRAM
Концепт магазина кросс 👟🤙🏻 Код здесь

Sneakers shop concept 👟🤙🏻 Code is here

#tasty #getsources
В SwiftUI отсутствует метод viewDidLoad(), самый близкий по смыслу: onAppear. Можно сэмулировать поведение viewDidLoad() следующим модификатором.

There is no viewDidLoad() equivalent method in SUI, the closest one is onAppear. Actually we can simulate viewDidLoad() behavior with custom modifier.

#howto
This media is not supported in your browser
VIEW IN TELEGRAM
Анимация из рекламы 🍟 Код здесь

Fast food cafe animation (have seen in the commercial) 🍟 Code is here

#tasty #groovy #getsources #trytodo

@swiftui_dev
Разница в использовании async let.

The difference of using async let explained in a code example.

#readthis
Media is too big
VIEW IN TELEGRAM
Нарисуем и подсветим циферблат у часов Panerai ⌚️ Код доступен на boosty

Panerai watches ⌚️ Code is available on boosty

#trytodo #tasty
Font hints 🖖🏻

#groovy