Swift Tutorial: Filter, Map, Reduce - How It Works (higher order functions in iOS)

preview_player
Показать описание
Filter, Map, & Reduce are higher order functions in the swift programming language that let you apply powerful operations to collections. We'll go over the ins and outs of each of these functions, as well as see how to use them in a real world iOS application (xcode project)!

iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!

Рекомендации по теме
Комментарии
Автор

Best higher order function video out there! Clear explanation, great examples, and straight to the point. Please keep these videos coming! I'm learning something new with every video whether I'm familiar with the subject or not.

Shermyyy
Автор

Best explanation. I needed to check if my understanding was correct because I usually see this.

I wish he explained the concept behind writing the .map in a different way, like for example

.map({e in e.name})
wherein it is just the same as .map({$0.name})

josejaimefelixgarciagarcia
Автор

Absolutely loved the tutorial. Brilliant example using tableview with segments for filtering out list of objects!

Soh
Автор

nice one ! .. but what if I have a string value like category name instead of bool . how can we categorise array objects without using string comparison in our code with just higher order functions ? can you please explain this ?

ProductsHub
Автор

Thanks. A comment, you are playing too much with zooming.

benceylan