This file contains 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
# "NOT /albums/*/*" とした場合、"/albums/*" がヒットしない。 | |
{ | |
"applinks": { | |
"apps": [], | |
"details": [ | |
{ | |
"appID": "D3KQX62K1A.com.example.photoapp", | |
"paths": [ | |
"NOT /albums/*/?*" | |
"/albums/*" |
This file contains 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
#import "FlickGestureRecognizer.h" | |
#import <UIKit/UIGestureRecognizerSubclass.h> | |
@implementation FlickGestureRecognizer | |
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event | |
{ | |
[super touchesBegan:touches withEvent:event]; | |
_direction = FlickGestureRecognizerDirectionNone; |
This file contains 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
@interface FlexibleContainerView () | |
@property (nonatomic, weak) NSLayoutConstraint *heightConstraint; | |
@property (nonatomic, unsafe_unretained) CGFloat defaultHeight; | |
@end | |
@implementation FlexibleContainerView | |
- (void)awakeFromNib | |
{ | |
[super awakeFromNib]; |
This file contains 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
// https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW12 | |
var MyExtensionJavaScriptClass = function() {}; | |
MyExtensionJavaScriptClass.prototype = { | |
run: function(arguments) { | |
// selection string | |
var selectionString = window.getSelection().toString(); | |
// open graph |