This media is not supported in your browser
VIEW IN TELEGRAM
Xcode multi-cursor feature
Think everybody knows about this but whatever )))
Think everybody knows about this but whatever )))
👍8❤🔥1🤩1
This media is not supported in your browser
VIEW IN TELEGRAM
По-умолчанию, если вы добавляете кнопку в ячейку, вся ячейка будет реагировать на action этой кнопки.
Для ожидаемого поведения используйте модификатор
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
#howto
Для ожидаемого поведения используйте модификатор
.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)
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
Expanding flex cards using SwiftUI 🌄🌅
#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 👨🏻💻
You can use special tool - Column Breakpoints - to set a breakpoint inside that kind of closure 👨🏻💻
👍11❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Варианты открытий кнопки меню в виде 🍔 Код здесь
Cooking hamburgers 🍔Code is here
#tasty #getsources
Cooking hamburgers 🍔
#tasty #getsources
👍12
Media is too big
VIEW IN TELEGRAM
Кастомизируем таб бар Код можно найти здесь
Customising and animating tab bar 🌊 using SwiftUICode is here
#howto #tasty #groovy #getsources
@swiftui_dev
Customising and animating tab bar 🌊 using SwiftUI
#howto #tasty #groovy #getsources
@swiftui_dev
👍15❤1
В SwiftUI отсутствует метод
There is no
#howto
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
Fast food cafe animation (have seen in the commercial) 🍟
#tasty #groovy #getsources #trytodo
@swiftui_dev
👍6🔥6🤡5
Разница в использовании async let.
The difference of using async let explained in a code example.
#readthis
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
Panerai watches ⌚️
#trytodo #tasty
🔥16👍4🎉3
This media is not supported in your browser
VIEW IN TELEGRAM
Очередной непростой челлендж 🤘🏻 Создадим лоадер 📶 Код здесь
Another pretty difficult challenge 🤘🏻 Developing loader 📶Code is here
#trytodo #tasty
@swiftui_dev
Another pretty difficult challenge 🤘🏻 Developing loader 📶
#trytodo #tasty
@swiftui_dev
👍8🔥3
This media is not supported in your browser
VIEW IN TELEGRAM
Необычные вертикальные часы 📶 ⌚️ Код здесь
Unusual vertical watches 📶 ⌚️Code is here
#tasty
@swiftui_dev
Unusual vertical watches 📶 ⌚️
#tasty
@swiftui_dev
🔥11👍3👏1🤯1