2021-10-11
2919
#swift
Mohd Hafiz
70941
Oct 11, 2021 â‹… 10 min read

Getting started with RealmSwift

Mohd Hafiz I've been working in iOS development since 2012 and have been involved in numerous projects with different implementations in terms of UI, Architecture, backend API Integration, and so on. I enjoy exploring new technologies, libraries, and iOS development stuff.

Recent posts:

Integrating Django Templates With React For Dynamic Webpages

Integrating Django templates with React for dynamic webpages

Create a dynamic demo blog site using Django and React to demonstrate Django’s server-side functionalities and React’s interactive UI.

Kayode Adeniyi
Apr 18, 2024 â‹… 7 min read
Using Aoi Js To Build A Bot For Discord

Using aoi.js to build a bot on Discord

Explore how the aoi.js library makes it easy to create Discord bots with useful functionalities for frontend applications.

Rahul Padalkar
Apr 17, 2024 â‹… 9 min read
Web Components Adoption Guide: Overview, Examples, And Alternatives

Web Components adoption guide: Overview, examples, and alternatives

Evaluate Web Components, a set of standards that allow you to create custom HTML tags for more reusable, manageable code.

Elijah Asaolu
Apr 16, 2024 â‹… 11 min read
Using Aws Lambda And Aws Cloudfront To Optimize Image Handling

Using AWS Lambda and CloudFront to optimize image handling

Leverage services like AWS Lambda, CloudFront, and S3 to handle images more effectively, optimizing performance and providing a better UX.

Nitish Sharma
Apr 12, 2024 â‹… 12 min read
View all posts

2 Replies to "Getting started with RealmSwift"

  1. This article is full of potential, but it is also full of errors. I am not through the exercise yet, but this is what I have discovered so far.
    1. no need to import Combine for your ViewModel, importing of SwiftUI is fine.
    2. You incorrectly use updatedAt instead of complertedAt when you set up your observer
    3. You fail to ever code the button action in TaskRowView or pass in the EnvironmentObject
    This is really not great so I would recommend that you proof read our article before posting or ask someone else to review as there is a lot of interest in Realm for SwiftUI and your exercise has a lot of potential but I fear that it will turn a lot of people off because it is impossible to complete the project given what you have presented

    1. Hi Stewart,

      Thank you for the great feedbacks. I have made corrections as per you suggestion. However, for #1 I think it is better to use Combine since the component of SwiftUI not using in the view model.

      Again Thanks!

Leave a Reply