This application is created with Clean Swift pattern to work with VK SDK for iOS. 📰📱
VK is the most popular social network in Russia. I used it's SDK for parsing News Feed in my app.
For posts with a lot of photos I used UICollectionView with custom layout and auto sizing cells in tableview. Also I created button for show more text in posts.
I added refresh control to update feed, and label in bottom refresh controll, to show post's count in feed.
Application supports light and dark mode. Also I created gradient view in background.
If you want turn gradient on, change Hidden prooperty in NewsFeedViewController.storyboard
on false.
All layouts created programmatically. Localized only in Russian.
- Swift
- UIKit
- VKSDK
- UICollectionView
- Install project from GitHub
git clone https://github.com/filtitov2001/VKNewsFeed_App/
- Go to app folder
cd VKNewsFeed_App
- Install dependency
pod install
-
Created project on VK Dev
-
Input App ID from project on VK Dev in
Info.plist
in AppID field. -
Open project
open VKNewsFeed_App.xcworkspace
Copyright © 2022 by Felix Titov