SwiftUI dev
1.03K subscribers
87 photos
35 videos
1 file
72 links
Mobile development, SwiftUI, Compose, fell free to reach me: @lexkraev
Download Telegram
SwiftUI dev
Photo
What will be printed on the screen?

Что выведется на экран?
Anonymous Quiz
56%
B: b
22%
B: a
9%
A: b
13%
A: a
SwiftUI dev
Photo
What will be printed on the screen?

Что выведется на экран?
Anonymous Quiz
9%
meow, meow, meow, roar
39%
meow, growl, meow, roar
10%
meow, meow, growl, roar
42%
meow, growl, growl, roar
🎲🗿 SwiftUI Environment values hints

#groovy
This media is not supported in your browser
VIEW IN TELEGRAM
🎢🚁 Слайдер изображений с эффектом page view контроллера.

Код здесь.

🌇🎥 Let's create spectacular image slider with page view controller effect using pure SwiftUI.

Code is here.

#tasty #groovy
🎬SwiftUI: List или LazyVStack? Статью можно найти здесь

🥁SwiftUI: List or LazyVStack? Find out it here

#readthis
Media is too big
VIEW IN TELEGRAM
🖼️🤳 Сториз с 3d переходом между кадрами (поддержка iOS 14+)

За кодом сюда

🖼️🤳 Stories on pure SwiftUI (iOS 14+) with 3d-cube animation for transition between scenes and timer for each slide

Code is here

#tasty #groovy
⚖️ Хорошая либа FluentUI от Microsoft как пример того, как можно хорошо структурировать дизайн-систему

👷‍♂️ Nice package Microsoft's Fluent UI as example how you can organize your design system

#swiftpm #howto #getsources #groovy
This media is not supported in your browser
VIEW IN TELEGRAM
👷‍♂️👻Лайфхак для дебага вьюх. Цвет фона меняется при каждой отрисовки вью. Таким образом можно визуально увидеть, насколько часто меняются стэйты.

👾🤖View’s debugging life hack. Background color changes every time view’s rendering. So you can visual analize how often you change states for example.


public extension Color {
static var random: Color {
Color (
red: .random (in: 0...1.0),
green: .random (in: 0...1.0),
blue: .random (in: 0...1.0)
)
}
}

public extension View {
@ViewBuilder
func randomBackgroundColor() -> some View {
background(Color.random)
}
}


#groovy
Media is too big
VIEW IN TELEGRAM
🥷 👋 Демо использования одного из быстрорастущих подходов в мобильной разработке - Server-Driven UI, как можно быстро поменять ваше приложение без релиза в стор.

Такой подход все больше и больше набирает популярность в особенности в e-commerce.

🖖🏻🤠 Server-Driven UI.

See how to use one of the most efficient and flexible approaches to change your app without releasing in the AppStore.

You can easily tune your views on the server side.

This approach is gaining popularity more and more especially in e-commerce.

Code is here.

#tasty #groovy
Отличная статья на тему подводных камней в использовании UDF архитектур. Одним из таких является нарушение принципа LoB (Locality of Behaviour).

Nice article about pitfalls (e.g. losing the locality of behavior) in using Unidirectional architectures in swift.

#readthis