mirror of
https://bitbucket.org/vendoo/vendoo_v1.0.git
synced 2025-12-25 03:37:39 +00:00
Edit Listing and Empty Sections bug fixed
This commit is contained in:
parent
2d8a0d2774
commit
ba56169bf3
Binary file not shown.
@ -279,8 +279,8 @@
|
|||||||
symbolName = "Vendoo.ExternalWebViewController.contentStringUrlType.getter : Swift.Optional<Swift.String>"
|
symbolName = "Vendoo.ExternalWebViewController.contentStringUrlType.getter : Swift.Optional<Swift.String>"
|
||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Kroleo/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
||||||
timestampString = "505232756.284131"
|
timestampString = "506359937.526087"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "32"
|
startingLineNumber = "32"
|
||||||
@ -294,8 +294,8 @@
|
|||||||
symbolName = "Vendoo.ExternalWebViewController.contentStringUrlType.setter : Swift.Optional<Swift.String>"
|
symbolName = "Vendoo.ExternalWebViewController.contentStringUrlType.setter : Swift.Optional<Swift.String>"
|
||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Kroleo/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
||||||
timestampString = "505232756.284321"
|
timestampString = "506359937.526342"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "32"
|
startingLineNumber = "32"
|
||||||
@ -309,8 +309,8 @@
|
|||||||
symbolName = "Vendoo.ExternalWebViewController.init (nibName : Swift.Optional<Swift.String>, bundle : Swift.Optional<__ObjC.NSBundle>) -> Vendoo.ExternalWebViewController"
|
symbolName = "Vendoo.ExternalWebViewController.init (nibName : Swift.Optional<Swift.String>, bundle : Swift.Optional<__ObjC.NSBundle>) -> Vendoo.ExternalWebViewController"
|
||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Kroleo/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
||||||
timestampString = "505232756.284478"
|
timestampString = "506359937.526555"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "32"
|
startingLineNumber = "32"
|
||||||
@ -324,8 +324,8 @@
|
|||||||
symbolName = "Vendoo.ExternalWebViewController.init (coder : __ObjC.NSCoder) -> Swift.Optional<Vendoo.ExternalWebViewController>"
|
symbolName = "Vendoo.ExternalWebViewController.init (coder : __ObjC.NSCoder) -> Swift.Optional<Vendoo.ExternalWebViewController>"
|
||||||
moduleName = "Vendoo"
|
moduleName = "Vendoo"
|
||||||
usesParentBreakpointCondition = "Yes"
|
usesParentBreakpointCondition = "Yes"
|
||||||
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Kroleo/Vendoo/Vendoo_bb/Vendoo/Vendoo/ExternalWebViewController.swift"
|
||||||
timestampString = "505232756.284637"
|
timestampString = "506359937.526814"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "32"
|
startingLineNumber = "32"
|
||||||
@ -591,5 +591,37 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/ItemTableViewController.swift"
|
||||||
|
timestampString = "506355695.058673"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "548"
|
||||||
|
endingLineNumber = "548"
|
||||||
|
landmarkName = "tableView(_:titleForHeaderInSection:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Vendoo/EbayWebServiceManager.swift"
|
||||||
|
timestampString = "506359165.328679"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "438"
|
||||||
|
endingLineNumber = "438"
|
||||||
|
landmarkName = "parser(_:foundCharacters:)"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
</Breakpoints>
|
</Breakpoints>
|
||||||
</Bucket>
|
</Bucket>
|
||||||
|
|||||||
@ -104,7 +104,9 @@ class ItemImagePickerViewController: UIViewController {
|
|||||||
|
|
||||||
override func viewWillAppear(animated: Bool) {
|
override func viewWillAppear(animated: Bool) {
|
||||||
super.viewWillAppear(animated)
|
super.viewWillAppear(animated)
|
||||||
self.firManager = (self.tabBarController as! HomeViewController).firebaseManager
|
if (!self.isEditing) {
|
||||||
|
self.firManager = (self.tabBarController as! HomeViewController).firebaseManager
|
||||||
|
}
|
||||||
self.tabBarController?.tabBar.hidden = true
|
self.tabBarController?.tabBar.hidden = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -547,15 +547,19 @@ extension ItemTableViewController: UITableViewDataSource{
|
|||||||
func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||||
if(self.tableSegmentController.selectedSegmentIndex == 1){
|
if(self.tableSegmentController.selectedSegmentIndex == 1){
|
||||||
if(section == 1){
|
if(section == 1){
|
||||||
return "Unsold"
|
return (self.tabBarController as? HomeViewController)!.userListings.count > 0 ? "Unsold" : ""
|
||||||
}else{
|
}else{
|
||||||
return "Sold"
|
return (self.tabBarController as? HomeViewController)!.userListings.count > 0 ? "Sold" : ""
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(section == 1){
|
if (self.tabBarController as? HomeViewController)!.userListings.count > 0 {
|
||||||
return "Draft"
|
if(section == 1){
|
||||||
|
return "Draft"
|
||||||
|
}else{
|
||||||
|
return "Active"
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
return "Active"
|
return ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user