Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Start a free Basic trial
to watch this video
Introduction to the Giphy API and the app we will be building
Resources
-
0:00
[MUSIC]
-
0:04
Hi, my name is Amit, an iOS developer and teacher.
-
0:08
In today's course, we'll look at one of the most powerful and
-
0:11
versatile views in iOS called Collection Views.
-
0:15
We'll take the Giphy or Giphy API to build a GIF viewer or GIF viewer.
-
0:21
Well, tomato, tomato, doesn't matter how you say it.
-
0:26
I'm sure you know about Giphy.
-
0:28
It's the website you use to search for those appropriate GIF reactions and
-
0:32
send them off to your family, friends or coworkers.
-
0:35
We'll use the API for this website to show the latest trending GIFs.
-
0:40
And as an exercise, you can enhance the app to search for GIFs using a keyword.
-
0:46
As you'll see in a minute when I demonstrate the app,
-
0:48
everything is quite seamless.
-
0:50
Live data, clean layouts, lots of nice interactivity and an intuitive flow.
-
0:56
So this is the app that we will be building throughout the course.
-
0:59
It's a GIF viewer that displays you all the trending GIFs within the Giphy API.
-
1:05
So we'll access the Giphy API to get us the list of all the trending GIFs, and
-
1:10
we'll display it in the Collection View.
-
1:13
And then when you click on a GIF,
-
1:15
it's going to go to the detailed view to show us the animated GIF.
-
1:18
And you can simply tap on it to make it disappear or you can click on it and
-
1:23
then swipe left to right to make it disappear.
-
1:26
So we'll look at gestures, animation,
-
1:30
Collection Views, data download, parsing JSON and so much more.
-
1:36
All right, I hope that little test drive whet your appetite.
-
1:39
Coming up, we get familiar with the multi-faceted yet
-
1:42
friendly beast that is the Collection View.
You need to sign up for Treehouse in order to download course files.
Sign up