Тёмный

SwiftUI Button Basics (2024) 

CodeWithChris
Подписаться 592 тыс.
Просмотров 7 тыс.
50% 1

👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
In this SwiftUI Button tutorial, we’ll cover:
00:00 Intro
00:24 A basic usage example
02:13 buttonStyle modifier for preset button styles
04:27 Examples of different custom buttons
08:17 Font modifiers
09:57 Button accessibility
Download sample code for all SwiftUI components here:
codewithchris.com/swiftui-cod...
How to use custom fonts in your app:
Article - codewithchris.com/swiftui/swi...
Video - • How to Use Custom Font...
For tutorials of other SwiftUI components, check out our playlist here:
• SwiftUI Components

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@CodeWithChris
@CodeWithChris Месяц назад
👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. cwc.to/youtubeoffer
@goldenpantherstudio
@goldenpantherstudio 4 месяца назад
Amazing job, great explanation, you are the coding hero!
@georgekopadze791
@georgekopadze791 4 месяца назад
Great video series. thank you for your effort. One quick question, what theme do you use, can you share it to us? Thanks a lot
@RoomyNews
@RoomyNews 21 день назад
Anyone knows how to change buttons position? Please tell me how…
@Thachosenone40
@Thachosenone40 5 месяцев назад
Great video Chris! Is there a way to combine two sf symbols into one? I am trying to make a custom back button with the chevron.left and house.fill into one backBarButton…thanks!
@CodeWithChris
@CodeWithChris 5 месяцев назад
Hello, thank you for taking the time to comment, I'm not sure if this is possible. Personally I haven't tried it yet. But maybe a custom icon will be a much better approach? -- Joash
@Thachosenone40
@Thachosenone40 5 месяцев назад
@@CodeWithChris thank you so much for the response, the custom symbol approach is my next approach. I was able to get it to work in UIKit by placing the symbols into a container and assigning them to a button. SwiftUI is proving to be a bit more difficult
@danielcrompton7818
@danielcrompton7818 2 месяца назад
Hey Chris, very confusing... When I try to autocomplete the .bordered and others, nothing appears! However it does actually work saying this property may not be available in the context... Any reason why? HStack { TextField("What are you looking for?", text: $query) .textFieldStyle(.roundedBorder) Button("Go") { // TODO } .buttonStyle(.borderedProminent) // Defaults to autocompleting `_ style: PrimitiveButtonStyle` }
@JOAO-bv4pe
@JOAO-bv4pe 2 месяца назад
Same happens to mine, any idea of what it could be?
@Stevefrdnt
@Stevefrdnt 2 месяца назад
Yeah this also happen to me, and somehow I can't find any solution for the issue although force typing it wont give any error to the app, but please reply this comment if anyone know what causing the issue
Далее
SwiftUI Image Basics (2024)
8:28
Просмотров 3,6 тыс.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
LISA - ROCKSTAR (MV Teaser)
00:10
Просмотров 10 млн
SwiftUI Alerts - Buttons, TextFields, & Passing Errors
13:18
How to code in Swift | Swift Basics #1
18:25
Просмотров 35 тыс.
SwiftData Basics in 15 minutes
15:18
Просмотров 38 тыс.
SwiftUI Charts Basics Tutorial
10:01
Просмотров 9 тыс.
SwiftUI Grids - LazyVGrid, LazyHGrid, Static Grid
17:55
How to Make an App - Lesson 1 (2024 / SwiftUI)
27:21
Просмотров 380 тыс.
How to Use Custom Fonts in SwiftUI
11:13
Просмотров 19 тыс.