Save & Get Data In App with Swift (Realm, iOS Tutorial) - Beginners

  Переглядів 38,878

iOS Academy

iOS Academy

День тому

Realm is a powerful database you can use in your iOS Apps. Let's explore how to integrate Realm in our Swift project and use it. Saving and Getting data is an important aspect to any average iOS app so let's get into it!
💻 Source Code: / iosacademy
🎥 Subscribe for more: ukposts.info?su...
😎 Like my teaching style? Check out some of my most popular courses!: courses.iosacademy.io
iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!
This video is brought to you by Skillshare - an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium: www.skillshare.com/r/user/afraz

КОМЕНТАРІ: 41
@iOSAcademy
@iOSAcademy 3 роки тому
Enjoy my teaching style? Learn to build the TikTok App from scratch with my course! ios-academy.teachable.com/p/building-tiktok-for-ios
@perrygupta
@perrygupta 3 роки тому
this channel has everything i needed to learn, thank you iOS Academy.
@Christian031780
@Christian031780 2 роки тому
Thank you for another great video, makes everything easier; however, I do have an issue with saving images by using realm, it seems like saving an image works differently than saving data. Don you have anything for guidance?
@captainmichaelj2321
@captainmichaelj2321 2 роки тому
Realm was indeed the savior. Thank you for the great video, as always, great quality and crisp.
@daisy-fb5jc
@daisy-fb5jc 2 роки тому
How can you be so good at teaching? Plus your videos are free!!!!
@iOSAcademy
@iOSAcademy 2 роки тому
Lol I appreciate it
@syedaffan426
@syedaffan426 3 роки тому
thankuuuuuuuuuuu i was really looking for this I has this problem where every time I run mu code the data gets duplicated and I was surfing the internet and after hours of research o found this, thankuuuuiuuuuuuuuuuuuuuu... can't really thank enough !!! love youuu byeeee
@gabilakbarov8423
@gabilakbarov8423 4 роки тому
I like the way you laying out the topic. Very helpful and easy to digest tuts.
@iOSAcademy
@iOSAcademy 4 роки тому
Thanks for watching, glad you like the videos!
@ytlagu2010
@ytlagu2010 4 роки тому
you deserve more subscriber, have you just started, your teaching method is super cool!
@iOSAcademy
@iOSAcademy 4 роки тому
Yes! Just started posting regularly. Glad you like the videos :)
@sobeclubber
@sobeclubber 3 роки тому
Would you make a tutorial like this using MongoDB Realm And MongoDB Atlas service?
@ucthanhnguyen3627
@ucthanhnguyen3627 2 роки тому
I wanna ask, SQL Sever can apply in swift. If it is yes, can you make a tutorial please :)))) danke
@lokeshios927
@lokeshios927 4 роки тому
Great video Sir, Nice explanation But the small suggestion that Zooming effect while writing the code is a little bit annoying to understand the syntax.
@iOSAcademy
@iOSAcademy 4 роки тому
Thanks, Appreciate the feedback
@subashj4747
@subashj4747 2 роки тому
pls upload tutorial about realm migration in swift not swiftUI. If i add new object properties, then the app will crash. I need explanation about create new objects without any crash in old build. Thanks in advance.
@NamNguyen-yb6lz
@NamNguyen-yb6lz 3 роки тому
Hi I am planning to create 4 apps to manage the flow of clients in a particular salon: - one for clients to order the services, it will send orders to receptionist app - one for receptionist to sign in clients services order, it will send order services to manager app - one for manager to appoint technicians to do clients services . And it will send order to technician app. - one for technicians to show the services so they know what to do. It will send complete services back to receptionist app to help checkout How can I start with this project?
@kishoreprabhu3523
@kishoreprabhu3523 2 місяці тому
Nice Explanation
@iOSAcademy
@iOSAcademy 2 місяці тому
Thanks
@giorgigogichaishvili20
@giorgigogichaishvili20 3 роки тому
please help me.... when i show it on simulator ... it says " [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed " what can i do ?
@Bon.80
@Bon.80 4 роки тому
Ur a legend 👏🏼👏🏼
@iOSAcademy
@iOSAcademy 4 роки тому
Glad you liked the video!
@noamif
@noamif 4 роки тому
You're gonna be a big channel for sure. the next code with Chris
@iOSAcademy
@iOSAcademy 4 роки тому
Thanks! Lets make it happen!
@jairam1741
@jairam1741 2 роки тому
He crossed "code with chris subscribers 💥
@mutasemwahbeh6954
@mutasemwahbeh6954 3 роки тому
Wonderful , you are prefect!
@iOSAcademy
@iOSAcademy 3 роки тому
Thank you!
@kaideumers6102
@kaideumers6102 4 роки тому
Hey! is there any way to format the date inside of a class that I save to realm. Whenever I format the date outside of the realm is always says the wrong format.
@iOSAcademy
@iOSAcademy 4 роки тому
There is not. The date goes in without a format or as a string. At usage time you can format the way youd like
@DanKardell
@DanKardell 2 роки тому
XCode13 says that @objc dynamic var age: Int? = nil is not allowed? I see you changed it to use a non-optional. How would you use an optional Int there?
@AnkitSingh-wq2rk
@AnkitSingh-wq2rk 2 роки тому
try to update realm to latest version because @objc dynamic modifier has been changed to @Published as handling optionals in older versions is pain in ass According to docs to make an optional field for realm you need to do let FIELDNAME = RealmProperty() with @obj dynamic var I tried this but it was still giving me errors and what not After updating realm to 10.10.0 Optionals/Any data type can be handled in swifty manner with @Persisted modifier @Persisted var YOURFIELD : Int? as simple as that
@snta7
@snta7 2 місяці тому
thanks
@iOSAcademy
@iOSAcademy 2 місяці тому
Welcome
@tvmedic106
@tvmedic106 4 роки тому
Can you offer some advise on how to deal with migration errors? I followed the tutorial very easy to understand and it ran as you showed, I started a new project and it crashes with this error with my new class objects. Doing some research I came across information about migration that I don't understand. I've been trying some of the online solutions I've found, but so far no joy. - Property 'Drug.totalNeeded' has been added., Error Code=10}: file /Users/scooper/Documents/Xcode Projects/DrugBox/DrugBox/FirstViewController.swift, line 14 Keep the error debugging in your videos.I've learned a lot from that. What separates your videos from the many out there is that you present the concept from start to finish, not not a snippet of a topic. Thanks for the holistic approach.
@iOSAcademy
@iOSAcademy 4 роки тому
Realm migration is a bit tricky. Basically it is needed because you have update the realm model. So Ill make a video on this since its easier to show than write out :)
@sonso7096
@sonso7096 2 роки тому
Hay nạ
@Andriybiguniak
@Andriybiguniak 2 роки тому
this screen scaling kills me ((((
@sonso7096
@sonso7096 2 роки тому
Nghe dọng buồn cười vãi :v
@jajanken8917
@jajanken8917 3 роки тому
lol this guy
Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)
20:43
CodeWithChris
Переглядів 69 тис.
How to Make an App in 8 Days (2024) - Full Walkthrough
3:00:49
CodeWithChris
Переглядів 440 тис.
Мама и дневник Зомби (часть 1)🧟 #shorts
00:47
Знакомство с Realm (Swift 4.2)
18:04
SwiftBook
Переглядів 16 тис.
CoreData в Swift. Разработка приложений
47:55
simpleDEV. Swift c нуля до бесконечности
Переглядів 7 тис.
Realm Database Tutorial for iOS
17:24
CodeWithChris
Переглядів 63 тис.
Swift Tutorial: Save & Get Data with User Defaults
19:42
iOS Academy
Переглядів 28 тис.
Realm with SwiftUI - Create, Read, Update, Delete and Relationships
1:29:57
Best database for mobile apps
45:51
Programming w/ Professor Sluiter
Переглядів 8 тис.
Big Tech AI Is A Lie
16:56
Tina Huang
Переглядів 46 тис.
SwiftUI Bootcamp | Learn How to Build Stunning iOS Apps
3:02:04
AppStuff
Переглядів 8 тис.