Fetch User's Step Data with HealthKit | Fitness App SwiftUI #1

  Рет қаралды 18,393

Jason Dubon

Jason Dubon

Күн бұрын

Пікірлер: 25
@jasondubon
@jasondubon 10 ай бұрын
Every week I'll send you an actionable email on how to become an iOS developer: www.breakintoios.com/
@marcelomagalhaes4508
@marcelomagalhaes4508 10 ай бұрын
This is awesome!!! I'm just starting in iOS development and get HealthKit data was on of my main concerns, because I'll need it for a project! You just saved my life! Thank you!!!
@allenlawson9872
@allenlawson9872 Жыл бұрын
This video is great! Was exactly what I needed :) Can you make chapters in the video next time for easier navigation? Looking forward to more!
@jasondubon
@jasondubon Жыл бұрын
Thanks! yeah ill add them rn, I usually have them but forgot for this one
@RVAraghav
@RVAraghav Жыл бұрын
Amazing dude! Exactly what I was looking for.
@jasondubon
@jasondubon Жыл бұрын
Glad I could help!
@RVAraghav
@RVAraghav Жыл бұрын
@@jasondubon explanation was too fast for a newbie like me. Could have been a bit slower.
@F-E3
@F-E3 Жыл бұрын
Great video! This helped me learn swift better. Quick question, does this only work for developers that pay for the yearly membership?
@aryana550
@aryana550 11 ай бұрын
Nope, if you're having trouble building on your phone without the membership, try manually adding step (etc.) data to the simulator's Health app to test this out
@itsdavide
@itsdavide 8 ай бұрын
DId anybody get "Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates." for the Date element defined in HealthManager?
@iromanstr
@iromanstr 11 ай бұрын
best lesson thank u
@jasondubon
@jasondubon 11 ай бұрын
You’re welcome! 🚀🚀
@alin.cht.
@alin.cht. Жыл бұрын
Nice video! I am struggling with padding sometimes then I remember that HStack has some default padding and you have to set it to 0 :)
@jasondubon
@jasondubon Жыл бұрын
Thanks! And yeah sometimes it takes some tweaking and playing around with the framing
@ruebeniosdev
@ruebeniosdev Жыл бұрын
Does spacing by default padding(16)
@jasondubon
@jasondubon Жыл бұрын
@@ruebeniosdev yes it does
@ruebeniosdev
@ruebeniosdev Жыл бұрын
@@jasondubon seen your chat and Uber food application clone using AWS and react native hope to see one with SwiftUI
@andresmade2853
@andresmade2853 Жыл бұрын
Thank you. Great video
@thomasvw7921
@thomasvw7921 Жыл бұрын
This is a great tutorial and introduction to HealthKit! Thanks Jason! One question; how would you target the amount of steps if you want to place it in something like: Text("You took" [amount] of steps today!)
@jasondubon
@jasondubon Жыл бұрын
Thanks for watching!
@jasondubon
@jasondubon Жыл бұрын
Hmmm it depends how you want to call it
@jasondubon
@jasondubon Жыл бұрын
You can create a function that just returns a double with the step count for today
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 123 МЛН
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
Советский мультфильм про нашу жизнь !
13:49
Дедушка Аргентинца
Рет қаралды 6 МЛН
Building Apps with Apple HealthKit & Google Fit
26:21
CrossComm, Inc.
Рет қаралды 4,1 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 844 М.
Building a Mobile App in 2024: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 91 М.
How to use SwiftfulRouting in SwiftUI | Swift Packages #5
32:00
Swiftful Thinking
Рет қаралды 6 М.
Counting Steps Using HealthKit in SwiftUI App
37:34
azamsharp
Рет қаралды 17 М.