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
🎢🚁 Слайдер изображений с эффектом page view контроллера.

Код здесь.

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

Code is here.

#tasty #groovy

@swiftui_dev
🎬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

@swiftui_dev
⚖️ Хорошая либа 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

@swiftui_dev
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

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

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

#readthis
А какую архитектуру вы используете на текущем проекте?

What’s your current project architecture?
Anonymous Poll
13%
UDF (TCA, Redux, MVI, …)
69%
MVx (MVVM, MVC, …)
12%
Clean Architecture (Clean swift, VIPER, … )
7%
Other
Какую архитекутуру вы бы выбрали для нового проекта?

Which architecture would you probably choose for a new project?
Anonymous Poll
19%
UDF (TCA, Redux, MVI, …)
62%
MVx (MVVM, MVC, …)
13%
Clean Architecture (Clean swift, VIPER, … )
6%
Other
Какую бы архитектуру вы точно НЕ выбрали для нового проекта?

Which architecture would NOT you definitely choose for a new project?
Anonymous Poll
33%
UDF (TCA, Redux, MVI, …)
14%
MVx (MVVM, MVC, …)
43%
Clean Architecture (Clean swift, VIPER, … )
11%
Other
This media is not supported in your browser
VIEW IN TELEGRAM
🎆 Обновил либу Animatable. Добавил анимации для скелетонов (и для других view). Мелочь, но пользователям будет интерактивнее ☺️

Краткий мануал здесь 📚

🎆 Just updated Animatable. Add shimmers and blinking effect for skeletons or other views. Hope you like it 👍🏻

Quick start is here 👨‍🏫

#swiftpm #tasty #groovy #getsources

@swiftui_dev
This media is not supported in your browser
VIEW IN TELEGRAM
💳 Все больше сервисов на рынке внедряют в свои приложения СБП (сервис быстрых платежей).

Готовое SDK для работы можно найти здесь.

💳 Swift package for the service SBP, more details about SBP you can find here.

#swiftpm #tasty #getsources

@swiftui_dev
This media is not supported in your browser
VIEW IN TELEGRAM
🔑 OTP TextField on SwiftUI

За кодом сюда

Code is here

#tasty #groovy

@swiftui_dev
🧭 Быстрая навигация на канале

#readthis - ссылки на статьи, книги и др
#watchthis - ссылки на видео
#howto - воркшопы, обучающие статьи и т п
#getsources - ссылки на проекты с открытым исходным кодом (включая #swiftpm модули)
#trytodo - челенджи, иногда простые, иногда не очень
#groovy - посты с наибольшим количеством шарингов и реакций
#tasty - “посмотри, чтоб вдохновиться”, здесь будут анимации, концепты и т п
🧭 Quick navigation

#readthis - recommended articles, books, etc
#watchthis - recommended videos, clips, etc
#howto - tutorials, rtfm
#getsources - where the hell are sources? open-source repositories (including my own swift packages #swiftpm), projects
#trytodo - “try to do” challenges, sometimes not easy
#groovy - trending high-rated posts based on statistics (private or public sharing and positive reactions)
#tasty - cool creative features (animations, concepts, etc), might be useful for inspiring developers, designers or PMs
Media is too big
VIEW IN TELEGRAM
🧨 Как можно эффектно показать рекламу или любое другое view? Весьма неплохой челлендж

За кодом сюда

💭 How to advertise on a specific view? Really nice challenge on SwiftUI

Code is here

#tasty #trytodo

@swiftui_dev
👨🏻‍💻 Настраиваем подключение к гиту

Статью можно найти здесь или здесь

👨🏻‍💻 Configuring git connection

Find out it here or here

Save to not to lose 😊

#readthis