onKeyboardWillHide(e) {
Animated.timing(this.state.height, {
toValue: this.listViewMaxHeight,
duration: e.duration,
easing: Easing.bezier(0.1, 0.76, 0.55, 0.9)
}).start();
},
onKeyboardWillShow(e) {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TEMPORARY FUNCTION | |
today() AS ( ( | |
SELECT | |
CURRENT_DATE('Asia/Tokyo')) ); | |
CREATE TEMPORARY FUNCTION | |
formatDate(d DATE) AS ( ( | |
SELECT | |
FORMAT_DATE('%Y%m%d',d)) ); | |
SELECT | |
user_id as userId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp -R /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A345\) \ | |
/Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Notify elapsed seconds when command is finished | |
# (Mac OS X only) | |
# How to setup: | |
# 1. `brew install terminal-notifier` | |
# 2. Put this file in your /bin dir | |
# How to use: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func executeRethrows(f:() throws ->()) rethrows { | |
do{try f()}catch{print(error)} | |
} | |
func execute(f:() throws ->()) { | |
do{try f()}catch{print(error)} | |
} | |
enum MyError:ErrorType { | |
case A, B | |
} | |
execute{ |
Here's my own list of the interesting stuff announced during this year's WWDC, collected from the keynotes, various Apple docs, blog posts and tweets.
If you're planning to watch the videos, I really recommend this Mac app that helps you download and watch them: https://github.com/insidegui/WWDC.
http://www.apple.com/osx/elcapitan-preview/
- split view - two apps side by side on full screen
全体的に簡略化し、必要と思われる部分を抜粋しました。
-
Not running
アプリは起動されていないか、実行されていたけれどもシステムによって終了されています。
-
Inactive