https://github.com/hyperoslo/asyncwall
https://github.com/hyperoslo/asyncwall
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyperoslo/asyncwall
- Owner: hyperoslo
- License: other
- Created: 2015-05-21T14:10:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-09T09:11:33.000Z (over 10 years ago)
- Last Synced: 2024-05-09T16:37:20.043Z (about 2 years ago)
- Language: Swift
- Homepage: hyper.no
- Size: 1.78 MB
- Stars: 10
- Watchers: 14
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README

[](https://travis-ci.org/hyperoslo/Wall)
[](http://cocoadocs.org/docsets/Wall)
[](http://cocoadocs.org/docsets/Wall)
[](http://cocoadocs.org/docsets/Wall)
## Usage
### View Models
#### Post
```swift
let post = Post(author: user, date: NSDate(), text: "Hello World!")
let postWithAttachments = Post(author: user, date: NSDate(), text: "Hello World!", [Attachment, Attachment])
```
#### Attachment
```swift
let url = "https://github.com/hyperoslo/Wall/blob/master/Images/logo-v2.png"
let attachment = Attachment(url, .Image)
```
#### User
```swift
let url = "https://avatars2.githubusercontent.com/u/1340892?v=3&s=200"
let user = User(name: "John Hyperseed", avatar: url)
```
## Installation
**Wall** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'Wall'
```
## Author
Hyper, ios@hyper.no
## License
**Wall** is available under the MIT license. See the LICENSE file for more info.