The Journal App Making Journal: Day 45

Implementing SearchBar and Querying with Core Data

Nicole Liu
2 min readAug 14, 2020

Continue to journal on three questions everyday in this Journal App Making Journal.

1. What have I learned about app design and development today?

Continue to acquire app design and programming skills through the iOS App Development course on Udemy by Angela Yu and the London App Brewery.

Learned about how to add a Search Bar and implement Querying with Core Data today.

Small bit of progress, and a giant step in the eyes of Atomic Habits.

The functionalities added today are:

  • CRUD of SQLite database operations (Create, Read, Update, Destroy) — somehow programming acronyms are often neither appealing nor appetising…
  • add a Search Bar UI element;
  • invoke the UISearchBar delegate method to load and sort results when text in search bar changes;
  • reload original list of items, dismiss keyboard, and remove active cursor away from search bar when all texts are cleared from the search bar’s text field;
  • refactor / streamline code so the data loading function can be efficiently reused at the start, and when any item is updated or deleted.

Amazing how every single step needs to be designed, thought through, and precisely instructed. And missing one command today ended up taking an hour to debug and find. You can bet your bottom dollar I will never forget that line again.

2. What have I learned about other journal users today?

To be continued.

3. What have I learned about journaling products / technologies today?

To be continued.

About The Journaling App Making Journal.

Connect with me.

Follow updates from this journal.

Read the last update. … Read the next update.

--

--

Nicole Liu

Dance . Learning . Technology . Design . Entrepreneurship