dannys42 / SampleFeediOS

An iOS application demonstrating use of SampleFeedServer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SampleFeediOS

Swift

SampleFeed is a sample app that allows you to create "walls" and read and write to "posts" on those walls.

It relies on the SampleFeedServer and shares code in SampleFeedUtilities.

Features

  • Basic authentication for login
  • Bearer tokens for API access

Basic Architecture

The system relies on HTTP Basic Authentication for login and Bearer tokens for API access. Once logged in, it will cache information from the server into a CoreData store allowing for offline use.

Wall syncing is currently triggered whenever the user is logged in. And posts are synced when a wall is viewed.

In addition, when a wall or post is added, those trigger an additional sync event.

Getting Started

Before building, edit Constants.swift and set the URL of your production server.

TODO

  • Delete walls/posts
  • Images/Videos
  • Push notification

License

This project is released under the MIT license. See LICENSE for details.

About

An iOS application demonstrating use of SampleFeedServer

License:MIT License


Languages

Language:Swift 100.0%