Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-ios
Commits
32f02bde
Unverified
Commit
32f02bde
authored
Oct 07, 2018
by
Zach Knox
Browse files
haptic feedback
parent
b09c04df
Changes
4
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/ShortcutsExtension/Info.plist
View file @
32f02bde
...
...
@@ -19,7 +19,7 @@
<key>
CFBundleShortVersionString
</key>
<string>
1.2
</string>
<key>
CFBundleVersion
</key>
<string>
4
4
</string>
<string>
4
9
</string>
<key>
NSExtension
</key>
<dict>
<key>
NSExtensionAttributes
</key>
...
...
WhatsOpen/ShortcutsExtensionUI/Info.plist
View file @
32f02bde
...
...
@@ -19,7 +19,7 @@
<key>
CFBundleShortVersionString
</key>
<string>
1.2
</string>
<key>
CFBundleVersion
</key>
<string>
4
4
</string>
<string>
4
9
</string>
<key>
NSExtension
</key>
<dict>
<key>
NSExtensionAttributes
</key>
...
...
WhatsOpen/TodayWidget/Info.plist
View file @
32f02bde
...
...
@@ -19,7 +19,7 @@
<key>
CFBundleShortVersionString
</key>
<string>
1.2
</string>
<key>
CFBundleVersion
</key>
<string>
4
4
</string>
<string>
4
9
</string>
<key>
NSExtension
</key>
<dict>
<key>
NSExtensionMainStoryboard
</key>
...
...
WhatsOpen/WhatsOpen/Views/PullingViewController.swift
View file @
32f02bde
...
...
@@ -19,6 +19,20 @@ class PullingViewController: UIViewController {
return
.
lightContent
}
override
func
viewDidAppear
(
_
animated
:
Bool
)
{
if
animated
{
let
haptics
=
UIImpactFeedbackGenerator
(
style
:
.
heavy
)
haptics
.
impactOccurred
()
}
}
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
if
animated
{
let
haptics
=
UIImpactFeedbackGenerator
(
style
:
.
medium
)
haptics
.
impactOccurred
()
}
}
override
func
viewDidLoad
()
{
modalPresentationCapturesStatusBarAppearance
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment