Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions DropDown/src/DropDown.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public final class DropDown: UIView {


/// The view to which the drop down will displayed onto.
public weak var anchorView: AnchorView? {
@objc public weak var anchorView: AnchorView? {
didSet { setNeedsUpdateConstraints() }
}

Expand All @@ -120,7 +120,7 @@ public final class DropDown: UIView {
left corner for its origin, so an offset equal to (0, 0).
You can change here the default drop down origin.
*/
public var topOffset: CGPoint = .zero {
@objc public var topOffset: CGPoint = .zero {
didSet { setNeedsUpdateConstraints() }
}

Expand All @@ -131,7 +131,7 @@ public final class DropDown: UIView {
left corner for its origin, so an offset equal to (0, 0).
You can change here the default drop down origin.
*/
public var bottomOffset: CGPoint = .zero {
@objc public var bottomOffset: CGPoint = .zero {
didSet { setNeedsUpdateConstraints() }
}

Expand Down Expand Up @@ -370,7 +370,7 @@ public final class DropDown: UIView {

Changing the data source automatically reloads the drop down.
*/
public var dataSource = [String]() {
@objc public var dataSource = [String]() {
didSet {
deselectRows(at: selectedRowIndices)
reloadAllComponents()
Expand Down Expand Up @@ -412,7 +412,7 @@ public final class DropDown: UIView {
}

/// The action to execute when the user selects a cell.
public var selectionAction: SelectionClosure?
@objc public var selectionAction: SelectionClosure?

/**
The action to execute when the user selects multiple cells.
Expand Down