Join Károly Nyisztor for an in-depth discussion in this video Display the message, part 1, part of iOS Development: Architecture.
- [Instructor] Now, I'll make some changes…in the delegate method.…First, I create a dictionary…for the parameter keys and values.…Both the key and the value is a string.…If there is a queryString, I extract the key/value pairs…by using the string's components(separatedBy:) method.…
And the separator is the ampersand sign.…Next, we iterate through the items…and extract the key and the item using a similar approach.…Again, I'll be using the components(separatedBy:) method,…but in this case, the separator is the equals sign.…If there is a key and a value items would have two elements,…so I'm going to check it…and we'll insert the key and the value…in our parameters dictionary.…
Finally, we'll have a dictionary…that contains all the keys and the values…from the queryString.…I'll extract the value for the message key…and, if found, we fire a notification…with the name "MessageReceived"…and the message as the object parameter.…And I fire the notification…using NotificationCenter.default.post().…
And the object is the message.…
- Unified Modeling Language (UML)
- Use case, class, and sequence diagrams
- App state preservation and restoration
- Fundamental architectural design patterns
- Model-view-controller (MVC) and model-view-presenter (MVP)
- Implementing one-way binding
- App stage changes
- Building responsive apps
- SOLID principles
- Exchanging information between apps
- Optimizing your apps to avoid excessive CPU usage
Skill Level Intermediate
What you should know1m 5s
1. UML Basics
2. The iOS App Life Cycle
3. Fundamental Architectural Design Patterns
4. App State Transitions
5. Building Responsive Apps
6. The SOLID Principles
7. Communication between Apps
8. Efficiency and Performance
Optimizing for performance3m 19s
Next steps1m 14s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.