/vkphotos

Source code for iOS app "Photos for VK" — albums and photos manager for social network VKontakte

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

Logo

VK Photos (formally Photos for VK)

Swift 4.2 Release Version GPL 3.0

VK Photos is an iOS app for manage albums and photos in social network VKontakte (vk.com)

Screenshots

Screenshot1 Screenshot2 Screenshot3

Disclaimer

  • ⚠️ The repository contains tons of comments and todos in Russian language
  • 🖼 I deleted all assets except App logo because the license agreements requires it
  • 🔬 This source code is not for production and not for distribution. I shared it just for educational purposes

Requirements

  • Xcode 9 and later
  • iOS 11 and later
  • Swift 4 and later
  • Carthage

Try App

You can try VK Photos by downloading the app to your iPhone from App Store. It's free (iOS 11+ required)

UPD 09/2019: The application was removed from the App Store because I did not renew my developer license 🤷‍♀️ Stay tuned.

Installation

  • Create VK application: vk.com
  • Obtain your VK app ID and insert it into AppDelegate.swift
  • Run Carthage: $ carthage update --platform ios
  • You should add the compiled frameworks to your project manually
  • Install Firebase SDK: documentation (or just mute all Analytics calls, you probably dont need it)
  • Copy your GoogleService-Info.plist file to VKPhotos/ source directory
  • ...
  • and unfortunately no matter how perfect you are done you will not be able to run the application properly in the simulator

Why app doesn't display anything when running in simulator? (or just crash)

Because VK Photos app use many custom API calls.

To simplify the logic of the app in some places I wrote a lot of custom API methods using greate execute method. These methods are stored on the VK API servers and accessible only to my VK application. For obvious reasons, these methods I can not disclose.

TODO

  • Describe the structure of the repository
  • Add build scripts to installation instruction

Credits

Author

Developed by Yury Smidovich.

License

VK Photos is available under the GNU General Public License v3.0. See the LICENSE file for more info.