Swift: How to create Facebook News Feed (Part 1) – UICollectionView, NSLayoutConstraint



Part 2:

In this tutorial, we’ll learn how to create from scratch the Facebook News Feed using a UICollectionView. We then go over exactly how to layout every cell’s subview by using NSLayoutConstraint. Next we go over Extensions to make adding constraints much much easier. By the time you complete the project, you’ll have the perfect understanding of how to construct your views for the perfect layout.

Completed project:
https://www.letsbuildthatapp.com/course/Facebook-News-Feed

Helpful tutorials:
Build UICollectionViews programmatically: https://youtu.be/up-YD3rZeJA
Building a to-do list with UICollectionView: https://youtu.be/hexuJ6qL06I

How to Build Facebook Newsfeed – iOS Development Tutorial with Swift – How to Make an App



DOWNLOAD STARTER CODE: https://www.ductran.co/p/cm5

In this episode, we are using to build Facebook Newsfeed using UITableView and UITableViewController in iOS with Swift.

You’ll learn:
+ How to create UITableViewController and UITableView
+ How to design beautiful world-class apps
+ How to use Auto Layout in iOS
+ Subclass UITableViewCell to create custom Table View Cell
+ Apply Auto Layout on UITableViewCell to have dynamic Table View Cell Height
+ and much more…

DOWNLOAD STARTER CODE: https://www.ductran.co/p/cm5

********************************
*** ABOUT CODE MASTERY ***
********************************
Code Mastery is hosted by Duc Tran, founder of Developers Academy.

This is his free-style no notes, no teleprompter presentation and live coding broadcast with you guys everyday.

To join Duc’s free courses, register for free at http://ductran.co/

*************************
*** MEET DUC TRAN ***
*************************

Duc Tran is founder of Developers Academy, one of the world’s leading iOS, Android and Web development trainers.

More than 2,000,000 developers have studied his video trainings; 100,000 developers see his posts each month. Each year, Duc has helped 20,000 plus developers gratudate from his online courses or video series.

*************************************************
*** FREE TRAININGS IN IOS DEVELOPMENT ***
*************************************************
To subscribe and get free tutorials, courses and weekly content, visit me at: http://ductran.co/
Connect with Duc on facebook: http://facebook.com/ductranfan
Tweet him: https://twitter.com/ductrongtran
Get daily inspiration: http://instagram.com/ductran.co/

How to Build Instagram Newsfeed – UITableView and UICollectionView Tutorial – How to Make An App



DOWNLOAD STARTER CODE: https://www.ductran.co/p/cm6

In this episode, we are using to build Facebook Newsfeed using UITableView and UITableViewController in iOS with Swift.

You’ll learn:
+ How to create UITableViewController and UITableView
+ How to design beautiful world-class apps
+ How to use Auto Layout in iOS
+ Subclass UITableViewCell to create custom Table View Cell
+ Apply Auto Layout on UITableViewCell to have dynamic Table View Cell Height
+ and much more…

DOWNLOAD STARTER CODE: https://www.ductran.co/p/cm6

Another solution to implement Instagram or Facebook Newsfeed:
(1) Drag out a UICollectionViewController from your storyboard
(2) Create a custom UICollectionViewCell and apply Auto Layout on it
(3) Create a sub class of UICollectionViewCell for your cell
(4) Implement UICollectionViewDataSource methods for your UICollectionViewController subclass
(5) Populate data into the UICollectionView’s cells

********************************
*** ABOUT CODE MASTERY ***
********************************
Code Mastery is hosted by Duc Tran, founder of Developers Academy.

This is his free-style no notes, no teleprompter presentation and live coding broadcast with you guys everyday.

To join Duc’s free courses, register for free at http://ductran.co/

*************************
*** MEET DUC TRAN ***
*************************

Duc Tran is founder of Developers Academy, one of the world’s leading iOS, Android and Web development trainers.

More than 2,000,000 developers have studied his video trainings; 100,000 developers see his posts each month. Each year, Duc has helped 20,000 plus developers gratudate from his online courses or video series.

*************************************************
*** FREE TRAININGS IN IOS DEVELOPMENT ***
*************************************************
To subscribe and get free tutorials, courses and weekly content, visit me at: http://ductran.co/
Connect with Duc on facebook: http://facebook.com/ductranfan
Tweet him: https://twitter.com/ductrongtran
Get daily inspiration: http://instagram.com/ductran.co/

iOS Swift: Build a Twitter Client App that integrates with CocoaPods



In today’s tutorial, we’ll learn how to build a simple Twitter Client that retrieves your home status updates that you see on http://www.twitter.com. Along the way, we will quickly learn how to integrate STTwitter using Cocoapods. Lastly, we learn how to grab the necessary properties out of NSDictionaries to populate our UICollectionView. And after all that is completed, we load images asynchronously for user profile images.

Starter project:
https://github.com/purelyswift/twitterclient_starter

Completed project:
https://github.com/purelyswift/twitterclient_completed

Twitter app creation:
https://apps.twitter.com

Cocoapods:
https://cocoapods.org/

iOS Swift: Build a To-Do List App using UICollectionView Tutorial



Here’s a quick tutorial on how to Build a To-Do list App programmatically using UICollectionViewController. We’ll create the app from scratch and break down the development cycle in 4 easy steps. Follow along and you’ll be able to build your own to-do list immediately after you’re done watching!

Completed project:
https://github.com/purelyswift/todolist

Watch this for a more detailed video on creating an app programmatically: https://youtu.be/up-YD3rZeJA