In this 5:30 minute video, you will learn that a category is used to define additional methods of an existing class without subclassing. And blocks are simply a block of executable code that have access to local variables and can be stored or passed around.
This video is the first video in the iOS Blocks and Categories badge from Treehouse, a high-quality video training site with hundreds of short videos. The entire Blocks and Categories badge consists of the following videos:
- Blocks – Part 1
- Blocks – Part 2
Other topics on Treehouse include topics like …
- Website Basics
- Aesthetic Foundations
- iOS Development
- Responsive Web Design
New videos are added regularly, so it’s a great way to stay up-to-date on all the latest technology and methods. Browse the entire library of videos.