Use this pattern whenever you write a for loop. Learn about it and how to implement custom iterators.
- [Narrator] The open/closed principle says…that software entities should be open for extension…but closed for modification.…In other words, new features are implemented by adding…new code instead of modifying the existing code base.…That means that we should be able to add new behavior…without modifying the existing types.…We can achieve this through object orientation concepts…like inheritance, composition, and polymorphism.…Swift type extensions are a convenient way…to enhance the type…without modifying the implementation of that type.…
For example, if we wanna add a custom description to a type,…all we need to do is to create an extension…that conforms to the custom string convertible protocol.…Like in this case, the shape class…received a nice custom description by using an extension.…We can even enhance the type we do not own.…The following extension adds the deselect/selected row…animated method to the UI table view.…
- 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.