Skip to content

This application is created with Clean Swift pattern to wotk with VK SDK dor iOS. 📰📱

License

Notifications You must be signed in to change notification settings

thefiltitoff/VKNewsFeed_App

Repository files navigation

VKNewsFeed_App

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.

iOS Swift UIKit VKSDK

Table of Contents

Demo

Open and scrolling

output 7

output 8

Refresh

output 3

output 4

Refresh

output 5

output 6

iPadOS

ipad

Tech Stack

  • Swift
  • UIKit
  • VKSDK
  • UICollectionView

Installation

  1. Install project from GitHub
  git clone https://github.com/filtitov2001/VKNewsFeed_App/
  1. Go to app folder
  cd VKNewsFeed_App
  1. Install dependency
  pod install
  1. Created project on VK Dev

  2. Input App ID from project on VK Dev in Info.plist in AppID field.

  3. Open project

  open VKNewsFeed_App.xcworkspace

License

MIT

Copyright

Copyright © 2022 by Felix Titov

About

This application is created with Clean Swift pattern to wotk with VK SDK dor iOS. 📰📱

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published