vendoo_v1.0/Vendoo/ListingObject.swift

25 lines
558 B
Swift

//
// ListingObject.swift
// Vendoo
//
// Created by Okechi Onyeje on 5/25/16.
// Copyright © 2016 Okechi Onyeje. All rights reserved.
//
import Foundation
import SwiftyJSON
class ListingObject {
/* example usage to make reading JSON in swift even easier
will make this type of object for every object from api needed
var pictureURL: String!
var username: String!
required init(json: JSON) {
pictureURL = json["picture"]["medium"].stringValue
username = json["username"].stringValue
}
*/
}