mirror of
https://bitbucket.org/vendoo/vendoo_v1.0.git
synced 2025-12-25 11:47:40 +00:00
Merged branch Upload-Listing-With-Images-To-FB into master
This commit is contained in:
commit
9271f74ee2
Binary file not shown.
@ -218,11 +218,11 @@
|
|||||||
ignoreCount = "0"
|
ignoreCount = "0"
|
||||||
continueAfterRunningActions = "No"
|
continueAfterRunningActions = "No"
|
||||||
filePath = "Vendoo/ListingPreviewViewController.swift"
|
filePath = "Vendoo/ListingPreviewViewController.swift"
|
||||||
timestampString = "491395746.298372"
|
timestampString = "491705640.842647"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "317"
|
startingLineNumber = "340"
|
||||||
endingLineNumber = "317"
|
endingLineNumber = "340"
|
||||||
landmarkName = "publishItem(_:)"
|
landmarkName = "publishItem(_:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
@ -234,11 +234,11 @@
|
|||||||
ignoreCount = "0"
|
ignoreCount = "0"
|
||||||
continueAfterRunningActions = "No"
|
continueAfterRunningActions = "No"
|
||||||
filePath = "Vendoo/ListingPreviewViewController.swift"
|
filePath = "Vendoo/ListingPreviewViewController.swift"
|
||||||
timestampString = "491395746.298372"
|
timestampString = "491705640.842647"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "342"
|
startingLineNumber = "366"
|
||||||
endingLineNumber = "342"
|
endingLineNumber = "366"
|
||||||
landmarkName = "publishItem(_:)"
|
landmarkName = "publishItem(_:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
@ -266,7 +266,7 @@
|
|||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
timestampString = "491530458.908998"
|
timestampString = "491705859.140832"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "216"
|
startingLineNumber = "216"
|
||||||
@ -281,7 +281,7 @@
|
|||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
timestampString = "491530458.909179"
|
timestampString = "491705859.141037"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "219"
|
startingLineNumber = "219"
|
||||||
@ -401,6 +401,38 @@
|
|||||||
endingLineNumber = "610"
|
endingLineNumber = "610"
|
||||||
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.144996"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "637"
|
||||||
|
endingLineNumber = "637"
|
||||||
|
offsetFromSymbolStart = "1052">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.(sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()).(closure #1)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.145161"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "639"
|
||||||
|
endingLineNumber = "639"
|
||||||
|
offsetFromSymbolStart = "51">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
@ -417,6 +449,38 @@
|
|||||||
endingLineNumber = "620"
|
endingLineNumber = "620"
|
||||||
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.146074"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "637"
|
||||||
|
endingLineNumber = "637"
|
||||||
|
offsetFromSymbolStart = "1052">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.(sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()).(closure #1)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.146223"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "639"
|
||||||
|
endingLineNumber = "639"
|
||||||
|
offsetFromSymbolStart = "51">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
@ -442,7 +506,7 @@
|
|||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
||||||
timestampString = "491530458.914535"
|
timestampString = "491705859.147976"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "272"
|
startingLineNumber = "272"
|
||||||
@ -457,7 +521,7 @@
|
|||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
||||||
timestampString = "491530458.91464"
|
timestampString = "491705859.148176"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "275"
|
startingLineNumber = "275"
|
||||||
@ -481,6 +545,38 @@
|
|||||||
endingLineNumber = "538"
|
endingLineNumber = "538"
|
||||||
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.149401"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "637"
|
||||||
|
endingLineNumber = "637"
|
||||||
|
offsetFromSymbolStart = "1052">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.(sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()).(closure #1)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.14957"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "639"
|
||||||
|
endingLineNumber = "639"
|
||||||
|
offsetFromSymbolStart = "51">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
@ -497,6 +593,38 @@
|
|||||||
endingLineNumber = "573"
|
endingLineNumber = "573"
|
||||||
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.151383"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "637"
|
||||||
|
endingLineNumber = "637"
|
||||||
|
offsetFromSymbolStart = "1052">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.(sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()).(closure #1)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.151719"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "639"
|
||||||
|
endingLineNumber = "639"
|
||||||
|
offsetFromSymbolStart = "51">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
@ -529,6 +657,38 @@
|
|||||||
endingLineNumber = "583"
|
endingLineNumber = "583"
|
||||||
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
landmarkName = "sendPOSTRequest(_:body:onCompletion:)"
|
||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.153852"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "637"
|
||||||
|
endingLineNumber = "637"
|
||||||
|
offsetFromSymbolStart = "1052">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.EtsyRESTAPIManager.(sendPOSTRequest (Swift.String, body : Swift.Dictionary<Swift.String, Swift.AnyObject>, onCompletion : Swift.Optional<(Swift.Optional<Swift.AnyObject>, Swift.Optional<__ObjC.NSError>) -> ()>) -> ()).(closure #1)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/EtsyRESTAPIManager.swift"
|
||||||
|
timestampString = "491705859.154091"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "639"
|
||||||
|
endingLineNumber = "639"
|
||||||
|
offsetFromSymbolStart = "51">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
@ -579,5 +739,133 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/ListingPreviewViewController.swift"
|
||||||
|
timestampString = "491663148.106172"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "319"
|
||||||
|
endingLineNumber = "319"
|
||||||
|
landmarkName = "publishItem(_:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
<Locations>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.ListingPreviewViewController.publishItem (Swift.AnyObject) -> ()"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
||||||
|
timestampString = "491705859.15903"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "319"
|
||||||
|
endingLineNumber = "319"
|
||||||
|
offsetFromSymbolStart = "63607">
|
||||||
|
</Location>
|
||||||
|
<Location
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
symbolName = "Vendoo.ListingPreviewViewController.(publishItem (Swift.AnyObject) -> ()).(closure #3)"
|
||||||
|
moduleName = "Vendoo"
|
||||||
|
usesParentBreakpointCondition = "Yes"
|
||||||
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
|
||||||
|
timestampString = "491705859.159181"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "322"
|
||||||
|
endingLineNumber = "322"
|
||||||
|
offsetFromSymbolStart = "27">
|
||||||
|
</Location>
|
||||||
|
</Locations>
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/FacebookGraphAPIManager.swift"
|
||||||
|
timestampString = "491663741.559167"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "101"
|
||||||
|
endingLineNumber = "101"
|
||||||
|
landmarkName = "authorizeApp(_:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/FacebookGraphAPIManager.swift"
|
||||||
|
timestampString = "491665315.599077"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "107"
|
||||||
|
endingLineNumber = "107"
|
||||||
|
landmarkName = "authorizeApp(_:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/FacebookGraphAPIManager.swift"
|
||||||
|
timestampString = "491666616.032419"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "179"
|
||||||
|
endingLineNumber = "179"
|
||||||
|
landmarkName = "makePOSTResquest(_:params:onComplete:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/ListingPreviewViewController.swift"
|
||||||
|
timestampString = "491705464.709697"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "326"
|
||||||
|
endingLineNumber = "326"
|
||||||
|
landmarkName = "publishItem(_:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/FacebookGraphAPIManager.swift"
|
||||||
|
timestampString = "491705591.378973"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "187"
|
||||||
|
endingLineNumber = "187"
|
||||||
|
landmarkName = "makePOSTResquest(_:params:onComplete:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
</Breakpoints>
|
</Breakpoints>
|
||||||
</Bucket>
|
</Bucket>
|
||||||
|
|||||||
@ -173,12 +173,13 @@ extension FacebookGraphAPIManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//used to post to users timeline, path must start with '/'
|
//used to post to users timeline, path must start with '/'
|
||||||
func makePOSTResquest(requestPath: String!, params: [NSObject: AnyObject]!){
|
func makePOSTResquest(requestPath: String!, var params: [NSObject: AnyObject]!, onComplete: ServiceResponse){
|
||||||
|
|
||||||
|
|
||||||
/*if(FBSDKAccessToken.currentAccessToken() != nil && FBSDKAccessToken.currentAccessToken().hasGranted("pubish_actions")){*/
|
if(FBSDKAccessToken.currentAccessToken() != nil && FBSDKAccessToken.currentAccessToken().hasGranted("publish_actions")){
|
||||||
|
params["access_token"] = self.apiKey + "|" + self.apiSecret
|
||||||
|
|
||||||
let graphRequest: FBSDKGraphRequest = FBSDKGraphRequest(graphPath: requestPath, parameters: params, HTTPMethod: "POST")
|
let graphRequest: FBSDKGraphRequest = FBSDKGraphRequest(graphPath: requestPath + "?access_token=" + FBSDKAccessToken.currentAccessToken().tokenString, parameters: params, HTTPMethod: "POST")
|
||||||
graphRequest.startWithCompletionHandler({
|
graphRequest.startWithCompletionHandler({
|
||||||
(id, result, error) -> Void in
|
(id, result, error) -> Void in
|
||||||
|
|
||||||
@ -186,22 +187,23 @@ extension FacebookGraphAPIManager {
|
|||||||
if(error == nil){
|
if(error == nil){
|
||||||
|
|
||||||
print(result["id"])
|
print(result["id"])
|
||||||
self.delegate?.listingUploadedFB((result["id"] as? String)!)
|
//self.delegate?.listingUploadedFB((result["id"] as? String)!)
|
||||||
print(result)
|
print(result)
|
||||||
|
onComplete((result["id"] as? String)!, nil)
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
print(error)
|
||||||
}
|
}
|
||||||
//save id in firebase so retrieval can be done later
|
//save id in firebase so retrieval can be done later
|
||||||
})
|
})
|
||||||
//}
|
}
|
||||||
/*else{
|
/*else{
|
||||||
print("must reauthenticate facebook")
|
print("must reauthenticate facebook")
|
||||||
}*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/}
|
||||||
|
|
||||||
//used to delete permissions and listings from users timeline, path must start with '/'
|
//used to delete permissions and listings from users timeline, path must start with '/'
|
||||||
func makeDELETIONResquest(requestPath: String!, params: [NSObject: AnyObject]!) -> Bool{
|
func makeDELETIONResquest(requestPath: String!, params: [NSObject: AnyObject]!) -> Bool{
|
||||||
|
|
||||||
|
|||||||
@ -47,7 +47,7 @@ class ListingPreviewViewController: UIViewController {
|
|||||||
self.networks.delegate = self
|
self.networks.delegate = self
|
||||||
self.networks.dataSource = self
|
self.networks.dataSource = self
|
||||||
self.networks.backgroundView?.backgroundColor = UIColor.whiteColor()
|
self.networks.backgroundView?.backgroundColor = UIColor.whiteColor()
|
||||||
self.graphManager.delegate = self
|
//self.graphManager.delegate = self
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewDidAppear(animated: Bool) {
|
override func viewDidAppear(animated: Bool) {
|
||||||
@ -110,7 +110,7 @@ extension Dictionary {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
//MARK: - FacebookGraphAPIManagerDelegate methods
|
//MARK: - FacebookGraphAPIManagerDelegate methods
|
||||||
extension ListingPreviewViewController: FacebookGraphAPIManagerDelegate {
|
extension ListingPreviewViewController: FacebookGraphAPIManagerDelegate {
|
||||||
func listingUploadedFB(fbID: String) {
|
func listingUploadedFB(fbID: String) {
|
||||||
@ -123,7 +123,7 @@ extension ListingPreviewViewController: FacebookGraphAPIManagerDelegate {
|
|||||||
self.presentViewController(self.alert, animated: true, completion: nil)
|
self.presentViewController(self.alert, animated: true, completion: nil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//MARK: - IBActions
|
//MARK: - IBActions
|
||||||
extension ListingPreviewViewController {
|
extension ListingPreviewViewController {
|
||||||
@ -300,15 +300,49 @@ extension ListingPreviewViewController {
|
|||||||
//post to facebook
|
//post to facebook
|
||||||
if(self.networksDictionary["facebook"]!){
|
if(self.networksDictionary["facebook"]!){
|
||||||
dispatch_group_enter(postingGroup)
|
dispatch_group_enter(postingGroup)
|
||||||
let parameters: Dictionary<String, AnyObject> = ["message":("**"+self.itemTitle.text!+"**\n\n"+"Price: "+self.itemPrice.text! + "\n\n"+self.itemDescription.text!)]
|
|
||||||
|
let tmpDirURL = NSURL.fileURLWithPath(NSTemporaryDirectory(), isDirectory: true)
|
||||||
|
let fileURL = tmpDirURL.URLByAppendingPathComponent("main").URLByAppendingPathExtension("jpg")
|
||||||
|
print("FilePath: \(fileURL.path!)")
|
||||||
|
do {
|
||||||
|
try UIImageJPEGRepresentation(self.itemPicture.image!, 0.45)!.writeToFile(fileURL.path!, options: NSDataWritingOptions.AtomicWrite)
|
||||||
|
}catch{
|
||||||
|
(error)
|
||||||
|
print(error)
|
||||||
|
}
|
||||||
|
|
||||||
|
//let parameters: Dictionary<String, AnyObject> = ["message":("**"+self.itemTitle.text!+"**\n\n"+"Price: "+self.itemPrice.text! + "\n\n"+self.itemDescription.text!)]
|
||||||
|
|
||||||
|
let parameters: Dictionary<String, AnyObject> = ["Source": UIImageJPEGRepresentation(self.itemPicture.image!, 0.45)!, "published":false]
|
||||||
|
|
||||||
self.lastListingKey = newListingRef.key
|
self.lastListingKey = newListingRef.key
|
||||||
self.graphManager.makePOSTResquest("me/feed", params: parameters)
|
self.graphManager.makePOSTResquest("me/photos", params: parameters, onComplete: {
|
||||||
|
(imageId, error) -> Void in
|
||||||
|
|
||||||
|
var listingParams: Dictionary<String, AnyObject> = ["message":("**"+self.itemTitle.text!+"**\n\n"+"Price: "+self.itemPrice.text! + "\n\n"+self.itemDescription.text!), "attached_media[0]":"{\"media_fbid\":\"\(imageId as! String)\"}"]
|
||||||
|
self.graphManager.makePOSTResquest("me/feed", params: listingParams, onComplete: {
|
||||||
|
(listingId, error) -> Void in
|
||||||
|
|
||||||
|
if((self.newInProgressListing["networkIDs"] == nil)){
|
||||||
|
self.newInProgressListing["networkIDs"] = Dictionary<String, AnyObject>()
|
||||||
|
}
|
||||||
|
var networkIDs = (self.newInProgressListing["networkIDs"] as! Dictionary<String, AnyObject>)
|
||||||
|
networkIDs["facebook"] = listingId as! String
|
||||||
|
self.newInProgressListing["networkIDs"] = networkIDs
|
||||||
|
dispatch_group_leave(postingGroup)
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
/*
|
||||||
|
|
||||||
|
*/
|
||||||
|
})
|
||||||
|
|
||||||
//let parameters: Dictionary<String, AnyObject> = ["":""]
|
//let parameters: Dictionary<String, AnyObject> = ["":""]
|
||||||
|
|
||||||
dispatch_group_leave(postingGroup)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch_group_notify(postingGroup, dispatch_get_main_queue(), {
|
dispatch_group_notify(postingGroup, dispatch_get_main_queue(), {
|
||||||
self.newInProgressListing.update(["listingID": newListingRef.key,
|
self.newInProgressListing.update(["listingID": newListingRef.key,
|
||||||
"seller email": (NSUserDefaults.standardUserDefaults().objectForKey("email") as? String)!,
|
"seller email": (NSUserDefaults.standardUserDefaults().objectForKey("email") as? String)!,
|
||||||
|
|||||||
@ -491,7 +491,7 @@ extension NetworksTableViewController: UITableViewDelegate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
/*
|
||||||
//case where class is being used to authorize a network for the app to post on
|
//case where class is being used to authorize a network for the app to post on
|
||||||
switch (indexPath.row){
|
switch (indexPath.row){
|
||||||
case 0:
|
case 0:
|
||||||
@ -632,7 +632,7 @@ extension NetworksTableViewController: UITableViewDelegate {
|
|||||||
break
|
break
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -755,6 +755,14 @@ extension NetworksTableViewController {
|
|||||||
})
|
})
|
||||||
break
|
break
|
||||||
case is FBTableViewCell.Type:
|
case is FBTableViewCell.Type:
|
||||||
|
let tabBar = self.tabBarController
|
||||||
|
((tabBar as? HomeViewController)?.fbGraphManager.authorizeApp(self))!
|
||||||
|
dispatch_async(dispatch_get_main_queue(), {
|
||||||
|
sender.setTitle("Logout", forState: UIControlState.Normal)
|
||||||
|
(sender.superview?.superview as! FBTableViewCell).settingsBtn.enabled = true
|
||||||
|
(sender.superview?.superview as! FBTableViewCell).settingsBtn.hidden = false
|
||||||
|
})
|
||||||
|
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
@ -785,6 +793,13 @@ extension NetworksTableViewController {
|
|||||||
})
|
})
|
||||||
break
|
break
|
||||||
case is FBTableViewCell.Type:
|
case is FBTableViewCell.Type:
|
||||||
|
let tabBar = self.tabBarController
|
||||||
|
((tabBar as? HomeViewController)?.fbGraphManager.deAuthorizeApp(self))!
|
||||||
|
dispatch_async(dispatch_get_main_queue(), {
|
||||||
|
sender.setTitle("Login", forState: UIControlState.Normal)
|
||||||
|
(sender.superview?.superview as! FBTableViewCell).settingsBtn.enabled = false
|
||||||
|
(sender.superview?.superview as! FBTableViewCell).settingsBtn.hidden = true
|
||||||
|
})
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user