open func addPullUpController(_ pullUpController: PullUpController,
initialStickyPointOffset: CGFloat,
animated: Bool,
completion: ((Bool) -> Void)? = nil) {
assert(!(self is UITableViewController), "It's not possible to attach a PullUpController to a UITableViewController. Check this issue for more information: #14")
addChild(pullUpController)
pullUpController.setup(superview: view, initialStickyPointOffset: initialStickyPointOffset)
if animated {
pullUpController.pullUpControllerAnimate(
action: .add,
withDuration: 0.3,
animations: { [weak self] in
self?.view.layoutIfNeeded() // Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
},
completion: { didComplete in
pullUpController.didMove(toParent: self)
completion?(didComplete)
}
)
} else {...
please help)
open func addPullUpController(_ pullUpController: PullUpController,
initialStickyPointOffset: CGFloat,
animated: Bool,
completion: ((Bool) -> Void)? = nil) {
assert(!(self is UITableViewController), "It's not possible to attach a PullUpController to a UITableViewController. Check this issue for more information: #14")
addChild(pullUpController)
pullUpController.setup(superview: view, initialStickyPointOffset: initialStickyPointOffset)
if animated {
pullUpController.pullUpControllerAnimate(
action: .add,
withDuration: 0.3,
animations: { [weak self] in
self?.view.layoutIfNeeded() // Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
},
completion: { didComplete in
pullUpController.didMove(toParent: self)
completion?(didComplete)
}
)
} else {...
please help)