Skip to content

Commit

Permalink
remove support for deprecated objectWithoutCategorySelectable configu…
Browse files Browse the repository at this point in the history
…ration option (#25)
  • Loading branch information
bverbeken authored Jun 26, 2024
1 parent 16ebf55 commit 899a376
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions seatsio-ios/SeatingChartConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public class SeatingChartConfig: Encodable {
var priceFormatter: Optional<(Float) -> String>
var numberOfPlacesToSelect: Int?
var objectWithoutPricingSelectable: Bool?
var objectWithoutCategorySelectable: Bool?
var selectedObjects: [SelectedObject]?
var selectableObjects: [String]?
var language: String?
Expand Down Expand Up @@ -120,11 +119,6 @@ public class SeatingChartConfig: Encodable {
return self
}

public func objectWithoutCategorySelectable(_ objectWithoutCategorySelectable: Bool) -> Self {
self.objectWithoutCategorySelectable = objectWithoutCategorySelectable
return self
}

public func selectedObjects(_ selectedObjects: [SelectedObject]) -> Self {
self.selectedObjects = selectedObjects
return self
Expand Down Expand Up @@ -448,7 +442,6 @@ public class SeatingChartConfig: Encodable {
case pricing
case numberOfPlacesToSelect
case objectWithoutPricingSelectable
case objectWithoutCategorySelectable
case selectedObjects
case selectableObjects
case language
Expand Down

0 comments on commit 899a376

Please sign in to comment.