Amazingly easy! And I lowed the search part. Calls on memories of dBase and Paradox Dos. Looking for to what is next. Seem to be a UA-cam problem. The "I don't like" button was black as if it had been selected. So I rectified and added a like.
Hi i have a problem with .searchable. When i click the search button this error appears in xcode: Publishing changes from within view updates is not allowed, this will cause undefined behavior. How can i solve this?
Fun stuff, Stewart. In the searchable function, how do I make that search case-insensitive? Also, do we simply add onCommit to the textfield to have it respond to keyboard return? (I'm not going to change anything in the project ... to stay consistent with your lesson project)
I struggled with that too, and at this point, I am not sure that it is possible. It is a relatively new feature. There are definitely some limitations to this approach using property wrappers as I will identify in the next project too. In the third project that I toggle, I move away from property wrappers to an MVVM approach with a Realm notifications. I have not created that last project yet, so let me see if I can address the searchable issue in that project
Thank you so much, I'm having an issue though, every time I type something in the search bar I get this purple warning: "Publishing changes from within view updates is not allowed, this will cause undefined behavior". Any idea why this is happening?
Great lesson, however I have an issue with my copy of this ToDo. The search field is insisting that the first letter is a capital and the search is case sensitive. On another note, please consider where you are typing in your code. If it is at the bottom of the screen it can be hidden by advertisements or the video control buttons. Other than that, very enjoyable and educational.
I sort out the search field in lesson 5 so keep watching.. Thanks for the note on where I am typing. I will try to scroll up and keep the typing in the middle of the screen.
+1 For reinforcing using snippets to make coding easier. 😘
I had been wondering how to access the local realm data via Realm Studio,. Thank you for this video!!
Glad I could help!
Thank you
Amazingly easy! And I lowed the search part.
Calls on memories of dBase and Paradox Dos.
Looking for to what is next.
Seem to be a UA-cam problem. The "I don't like" button was black as if it had been selected. So I rectified and added a like.
dBase and Paradox...now there's a flashback. Next you'll want to channel Visicalc. Sorry Stewart; couldn't rersist.
Hi i have a problem with .searchable.
When i click the search button this error appears in xcode: Publishing changes from within view updates is not allowed, this will cause undefined behavior.
How can i solve this?
Thank you…
Fun stuff, Stewart. In the searchable function, how do I make that search case-insensitive? Also, do we simply add onCommit to the textfield to have it respond to keyboard return?
(I'm not going to change anything in the project ... to stay consistent with your lesson project)
I struggled with that too, and at this point, I am not sure that it is possible. It is a relatively new feature. There are definitely some limitations to this approach using property wrappers as I will identify in the next project too. In the third project that I toggle, I move away from property wrappers to an MVVM approach with a Realm notifications. I have not created that last project yet, so let me see if I can address the searchable issue in that project
Thank you so much, I'm having an issue though, every time I type something in the search bar I get this purple warning: "Publishing changes from within view updates is not allowed, this will cause undefined behavior". Any idea why this is happening?
Does this happen when you run on a device?
@@StewartLynch Yes, I just tested, it happens on device as well. My device is running iOS 16.3.1 and my Xcode 14.2
This sounds like a question for Realm then.
any idea how to solve this?
Great lesson, however I have an issue with my copy of this ToDo. The search field is insisting that the first letter is a capital and the search is case sensitive.
On another note, please consider where you are typing in your code. If it is at the bottom of the screen it can be hidden by advertisements or the video control buttons.
Other than that, very enjoyable and educational.
I sort out the search field in lesson 5 so keep watching.. Thanks for the note on where I am typing. I will try to scroll up and keep the typing in the middle of the screen.
@@StewartLynch Thanks for the update, look forward to getting to lesson 5
And thanks