mirror of
https://bitbucket.org/vendoo/vendoo_v1.0.git
synced 2025-12-25 11:47:40 +00:00
Working on redoing listing and capturing multiple item pictures
This commit is contained in:
parent
6536330663
commit
775e41690c
Binary file not shown.
@ -76,15 +76,23 @@ class ListingPreviewViewController: UIViewController {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
// MARK: - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
|
||||
// Get the new view controller using segue.destinationViewController.
|
||||
// Pass the selected object to the new view controller.
|
||||
|
||||
if(segue.identifier == "EditListingSegue"){
|
||||
let vc = (segue.destinationViewController as? ItemImagePickerViewController)!
|
||||
vc.itemName.text? = self.itemTitle.text
|
||||
vc.itemPrice.text? = self.itemPrice.text
|
||||
vc.itemDescription.text? = self.itemDescription.text
|
||||
vc.possibleItemImageMain = self.itemPicture
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -169,10 +177,14 @@ extension ListingPreviewViewController {
|
||||
|
||||
//post to facebook
|
||||
if(self.networksDictionary["facebook"]!){
|
||||
|
||||
//need to reverse process and upload to firebase last so that all network listing id's can be saved to firebase for notification access.
|
||||
self.lastListingKey = newListingRef.key
|
||||
self.graphManager.makePOSTResquest("me/feed", params: parameters)
|
||||
|
||||
//let parameters: Dictionary<String, AnyObject> = ["":""]
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -195,6 +207,10 @@ extension ListingPreviewViewController {
|
||||
|
||||
}
|
||||
|
||||
@IBAction func editListing(sender: AnyObject) {
|
||||
|
||||
self.performSegueWithIdentifier("EditListingSegue", sender: self)
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -300,3 +316,4 @@ extension ListingPreviewViewController: UICollectionViewDataSource {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user