Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Add haptic for lock/unlock, close/reopen, bookmarking #724

Merged
merged 1 commit into from Oct 25, 2017

Conversation

BasThomas
Copy link
Collaborator

Closes #721.

static func triggerNotification(_ type: UINotificationFeedbackType) {
notificationGenerator.notificationOccurred(type)
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never understood why you have to make objects to do this stuff. I guess its for the prepare() method or something, but idk I don't get it.

Copy link
Collaborator Author

@BasThomas BasThomas Oct 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think so. Quirky APIs if you ask me. 🤷‍♂️

@rnystrom rnystrom merged commit ca9b4e4 into master Oct 25, 2017
@rnystrom rnystrom deleted the trigger-more-haptics branch October 25, 2017 01:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants