Scratch Card Effect with Shine, Haptics & CoreMotion (2024) | SwiftUI Tutorial

Scratch Card Effect with Shine, Haptics & CoreMotion (2024) | SwiftUI Tutorial

Swift Odyssey

55 лет назад

1,072 Просмотров

Learn how to create the scratch card effect in SwiftUI using simple paths & the mask modifier. We'll also add a cool shine effect, detect scratched amount, add haptic feedback on scratching as well as motion tilt using CoreMotion.

📥 Source code:
🔗 https://github.com/anupdsouza/ios-scratch-card-view


📥 Checkout some of my other videos:
👉🏻 Duolingo Style 3D Buttons🦉: https://youtu.be/jpRAavqe8p8
👉🏻 Gemini 1.5 Flash⚡️Multimodal Chatbot: https://youtu.be/L19GYmhJL7A
👉🏻 Zoom Navigation Transition on iOS 18: https://youtu.be/T3f6vWY8iJg
👉🏻 Get started with Gemini AI: https://youtu.be/X-zs-wa6j28
👉🏻 Implement mult-turn chat (text prompts): https://youtu.be/VO3YGN2UuHc
👉🏻 Implement multi-modal chat (text + image): https://youtu.be/4SeW1x4m6Gc
👉🏻 Horoscope App with Gemini AI: https://youtu.be/bxiP1J4-V8w
👉🏻 Murder Mystery Game powered by Gemini AI: https://youtu.be/dDbunbxzrSI
👉🏻 Storybook app powered by Gemini AI & Dall-E: https://youtu.be/NOgoWd6phn0
👉🏻 Chatbot in 15 mins on iOS using Firebase Gemini API Extension: https://youtu.be/GewyZgQbsIw
👉🏻 Multimodal Chatbot with Gemini using Vertex AI: https://youtu.be/aEMGUF7Smro

✅ Consider SUBSCRIBING to the channel & giving this video a LIKE 👍🏼
🔗 https://www.youtube.com/@swiftodyssey?sub_confirmation=1
👉🏻 Click the BELL 🔔 icon to be notified of new content!

🌐 Follow me online:
🕸️ https://www.anupdsouza.com
🔗 https://twitter.com/swift_odyssey
👨🏻‍💻 https://github.com/anupdsouza

🎗️ Support:
☕️ BuyMeaCoffee: https://www.buymeacoffee.com/adsouza
🤝 Patreon: https://patreon.com/adsouza
🙏🏼 Thanks for watching

🎶 Music:
Music by Lidérc from Pixabay

Komorebi by | e s c p | https://www.escp.space
https://escp-music.bandcamp.com

Rooftop by Alex-Productions | https://onsound.eu/
Music promoted by https://www.free-stock-music.com
Creative Commons / Attribution 3.0 Unported License (CC BY 3.0)
https://creativecommons.org/licenses/by/3.0/deed.en_US

Synthetic by | e s c p | https://www.escp.space
https://escp-music.bandcamp.com

Music track: Careful by Pufino
Source: https://freetouse.com/music
Royalty Free Music for Videos (Safe)

🏷️ Tags: #scratcheffect #ios #haptics #coremotion #animation #scratchcards #scratchcard #scratchcardapp #swiftui #iOS #swiftuianimation #wwdc #wwdc24 #apple #ios #swift #swiftui #xcode #xcode13 #xcode14 #xcode15 #swifttutorial #swiftuitutorial #swiftbasics #swiftuibasics #swiftexample #swiftuiexample #uikit #uikitbasics #uikittutorial #swiftuianimation #tech #uikitanimation #animation #iosapp #mobilegame #swiftcode #iosappdevelopment #mobileappdevelopment #mobileapplications #mobileapps #mobile #developer #development #programming #programmingbasics #intermediateprogramming #advancedprogramming #swiftprogramming #swiftuiprogramming #design #uikitprogramming #code #coding #beginnerprogramming #ui #ux #beginner #intermediate #advanced #tutorial #iostutorial #programmingtutorial #codingtutorial #applicationdevelopment #objectivec #macos #macosdevelopment #macappdevelopment #iphone #iphoneappdevelopment #iphonedevelopment #iphoneos #ipados #iOS13 #iOS14 #iOS15 #iOS16 #iOS17 #iphone13 #iphone14 #iphone15 #iphonexr #iphoneplus #iphonepromax #iphonese #iphonepro #ipad #ipadmini #ipadpro #ipadair #simulator

Тэги:

#swift #swiftui #ios #mobile_apps #mobile_app_development #Swift #SwiftUI #iOS #programming #Objective-C #objective-c #xcode #ios_simulator #iOS_Simulator #iOS_14 #iOS_15 #iOS_16 #iOS_17
Ссылки и html тэги не поддерживаются


Комментарии: