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

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

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 11 ай бұрын
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 Жыл бұрын
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?
@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
@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
@iromanstr
@iromanstr Жыл бұрын
best lesson thank u
@jasondubon
@jasondubon 11 ай бұрын
You’re welcome! 🚀🚀
Setting up new MacBook for software development
31:42
Alex Ziskind
Рет қаралды 655 М.
This Game Is Wild...
00:19
MrBeast
Рет қаралды 192 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 139 МЛН
Build anything with v0 (3D games, interactive apps)
9:05
Vercel
Рет қаралды 131 М.
Integrating HealthKit services into iOS applications
3:34
ABCloudz
Рет қаралды 4,3 М.
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 228 М.
Make a GROCERY APP in SWIFTUI from SCRATCH
49:22
Adgan Codes
Рет қаралды 12 М.
SwiftUI Tutorial: A Neomorphism Fitness App (with source code)
1:31:52