SwiftUI dev
1.22K subscribers
87 photos
38 videos
1 file
75 links
Mobile development, SwiftUI, Compose, feel free to reach me: @lexkraev

По вопросам рекламы: @lexkraev

Статистика/цены: @lexkraev_ads
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
🔥9👍2
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
❤‍🔥6👍21
This media is not supported in your browser
VIEW IN TELEGRAM
Канал вырос до 200 подписчиков! Спасибо каждому!☺️ Фейерверк-анимация для вас!🎇🎆 Код здесь

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

#tasty #getsources
❤‍🔥13🎉3👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Xcode multi-cursor feature

Think everybody knows about this but whatever )))
👍8❤‍🔥1🤩1
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
👍16
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)
👍16
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
👍18
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 👨🏻‍💻
👍111
This media is not supported in your browser
VIEW IN TELEGRAM
Варианты открытий кнопки меню в виде 🍔 Код здесь

Cooking hamburgers 🍔 Code is here

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

Customising and animating tab bar 🌊 using SwiftUI Code is here

#howto #tasty #groovy #getsources

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

Sneakers shop concept 👟🤙🏻 Code is here

#tasty #getsources
🔥12👍2👎2🏆1🤨1
This media is not supported in your browser
VIEW IN TELEGRAM
Dynamic island 🏝✌🏻

Код здесь

Code is here

#tasty #groovy #getsources
👍18🎉3🌭2
В 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
💩18🌭4👍1🥱1
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
👍6🔥6🤡5
Разница в использовании async let.

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

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

Panerai watches ⌚️ Code is available on boosty

#trytodo #tasty
🔥16👍4🎉3
Font hints 🖖🏻

#groovy
👍20🔥2