Skip to content

jwssdwed/a-facebook-searching-application-SWIFT

Repository files navigation

Facebook swift App

Usage

Using the Json data given by FB graph APIs, this iOS app allows users to search for Facebook accounts. By using a variety of keywords or types, this application presents a set of informations from target accounts.

1. homepage

This is the homepage of this app, you can input any keyword you like.

The top-left hamburger button allows you slide this page left. In addition, the user-friendly design allows users to use fingure to slide out as well.

The slide-left function can be implemented in Navigation controller with one main page and one TableView controller.

2. Result page

This is the searching result page. Since the query of this API has several different types, I use "Tab Bar Controller” to give user different choices at the bottom.

The filled star means you have favorited this account already and empty refers to not. The favorites can be found in favorite page. If you click any row of the result page, you will get the detailed information of this certain account. However, due to privacy, you aren't able to access to any accounts if you don't have permit.

3. Detail page

The detail page shows details of a selected account. The Facebook APIs provide two different details: albums and posts. The bottom two buttons perform those two details respectively.

In terms of the top-right button, if you click it, a pop-up dialog box shows from bottom. If you haven't favorited it, you can favorite it here. On the other hand, if you have, you can remove it. I also used FB SDK to enable FB features in this app. The second "Share" button will redirect you to the facebook app (if you have installed) and let you share this information.

4. Favorite page

The layout of favorite page is the same as search. However, only the favorited objects are presented here. This function can be realized by using Global Variable feature in Swift, like CoreData. Obviously, you can unfavorite any account in this page by click the filled star button or see the detail information of an account by select one of rows.

Enjoy this app, and you can see a live demonstration via: Click me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published