file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
Example/Pods/WebP/WebP.framework/Headers/decode.h | C/C++ Header | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/demux.h | C/C++ Header | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/encode.h | C/C++ Header | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/format_constants.h | C/C++ Header | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/mux.h | C/C++ Header | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/mux_types.h | C/C++ Header | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/WebP/WebP.framework/Headers/types.h | C/C++ Header | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Tests/Tests.m | Objective-C | //
// DXPhotoBrowserTests.m
// DXPhotoBrowserTests
//
// Created by kaiwei.xkw on 09/16/2015.
// Copyright (c) 2015 kaiwei.xkw. All rights reserved.
//
@import XCTest;
@interface Tests : XCTestCase
@end
@implementation Tests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called b... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXErrorIndicator.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DXErrorIndicator : UIButton
@end
| xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXErrorIndicator.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXErrorIndicator.h"
#import "DXShapeImageLayer.h"
@implementation DXErrorIndicator
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
DX... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXPhoto.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol DXPhoto <NSObject>
typedef void (^DXPhotoProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);
typedef void (^DXPhotoCompleti... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXPhotoBrowser.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DXPhoto.h"
@protocol DXPhotoBrowserDelegate;
@class DXPullToDetailView;
@interface DXPhotoBrowser : NSObject
/**
* Desigated intializer
*
* @param photosAr... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXPhotoBrowser.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXPhotoBrowser.h"
#import "UIView+DXScreenShot.h"
#import "UIImage+DXAppleBlur.h"
#import "DXPullToDetailView.h"
#import "DXZoomingScrollView.h"
#import "DXTapDetectingImageView.h"
#import "DXTapDe... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXPullToDetailView.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DXPullToDetailView : UIView
@property (nonatomic, assign) BOOL pulling;
@property (nonatomic, strong) NSString *pullingText;
@property (nonatomic, strong) NSString *rele... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXPullToDetailView.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXPullToDetailView.h"
#import "DXShapeImageLayer.h"
@implementation DXPullToDetailView {
UIImageView *_arrow;
UILabel *_textLabel;
}
- (instancetype)initWithFrame:(CGRect)frame
{
fram... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXShapeImageLayer.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
@interface DXShapeImageLayer : CALayer
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *highlightedColor;
/**
* This shape wh... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXShapeImageLayer.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#define dx_ChangeLayerAnchorPointAndAjustPositionToStayFrame(layer, nowAnchorPoint) \
CGPoint dx_lastAnchor = layer.anchorPoint;\
layer.anchorPoint = nowAnchorPoint;\
layer.position \
= CGPointMake(laye... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXTapDetectingImageView.h | C/C++ Header | //
// UIImageViewTap.h
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol DXTapDetectingImageViewDelegate;
@interface DXTapDetectingImageView : UIImageView {}
@property (nonatomic, weak) id <DXTapDetectingImageV... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXTapDetectingImageView.m | Objective-C | //
// UIImageViewTap.m
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import "DXTapDetectingImageView.h"
@implementation DXTapDetectingImageView
- (id)initWithFrame:(CGRect)frame {
if ((self = [super initWithFrame:frame])) {
self.userInteractionEna... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXTapDetectingView.h | C/C++ Header | //
// UIViewTap.h
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol DXTapDetectingViewDelegate;
@interface DXTapDetectingView : UIView
@property (nonatomic, weak) id <DXTapDetectingViewDelegate> tapDelegate;
@... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXTapDetectingView.m | Objective-C | //
// UIViewTap.m
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import "DXTapDetectingView.h"
@implementation DXTapDetectingView
- (id)init {
if ((self = [super init])) {
self.userInteractionEnabled = YES;
}
return self;
}
- (id)initWithFrame:(... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXZoomingScrollView.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DXZoomingScrollView, DXTapDetectingImageView;
@protocol DXPhoto;
@protocol DXZoomingScrollViewDelegate <NSObject>
- (void)zoomingScrollViewSingleTapped:(DXZoomingScrollView... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXZoomingScrollView.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXZoomingScrollView.h"
#import "DXErrorIndicator.h"
#import "DXTapDetectingImageView.h"
#import "DXTapDetectingView.h"
#import "DXPhoto.h"
@interface DXZoomingScrollView ()<DXTapDetectingImageVie... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/UIImage+DXAppleBlur.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (dx_AppleBlur)
// apple wwdc session code for the blur
- (UIImage *)dx_applyLightEffect;
- (UIImage *)dx_applyExtraLightEffect;
- (UIImage *)dx_applyDarkEffect;
... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/UIImage+DXAppleBlur.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "UIImage+DXAppleBlur.h"
#import <Accelerate/Accelerate.h>
@implementation UIImage (dx_AppleBlur)
- (UIImage *)dx_applyLightEffect
{
UIColor *tintColor = [UIColor colorWithWhite:1.0 alpha:0.3];... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/UIView+DXScreenShot.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (DXScreenShot)
- (UIImage *)dx_screenShotImage;
- (UIImage *)dx_screenShotImageAfterScreenUpdates:(BOOL)update;
- (UIImage *)dx_screenShotImageWithBounds:(CGRect)... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/UIView+DXScreenShot.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "UIView+DXScreenShot.h"
@implementation UIView (DXScreenShot)
- (UIImage *)dx_screenShotImageWithBounds:(CGRect)selfBounds afterScreenUpdates:(BOOL)update {
UIGraphicsBeginImageContextWithOpti... | xiekw2010/DXPhotoBrowser | 2 | A photo browser for displaying a bunch of images one by one | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXErrorIndicator.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DXErrorIndicator : UIButton
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXErrorIndicator.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXErrorIndicator.h"
#import "DXShapeImageLayer.h"
@implementation DXErrorIndicator
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
DX... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXPhoto.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol DXPhoto <NSObject>
typedef void (^DXPhotoProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);
typedef void (^DXPhotoCompleti... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXPhotoBrowser.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DXPhoto.h"
@protocol DXPhotoBrowserDelegate;
@class DXPullToDetailView;
@interface DXPhotoBrowser : NSObject
/**
* Desigated intializer
*
* @param photosAr... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXPhotoBrowser.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXPhotoBrowser.h"
#import "UIView+DXScreenShot.h"
#import "UIImage+DXAppleBlur.h"
#import "DXPullToDetailView.h"
#import "DXZoomingScrollView.h"
#import "DXTapDetectingImageView.h"
#import "DXTapDe... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXPullToDetailView.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DXPullToDetailView : UIView
@property (nonatomic, assign) BOOL pulling;
@property (nonatomic, strong) NSString *pullingText;
@property (nonatomic, strong) NSString *rele... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXPullToDetailView.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXPullToDetailView.h"
#import "DXShapeImageLayer.h"
@implementation DXPullToDetailView {
UIImageView *_arrow;
UILabel *_textLabel;
}
- (instancetype)initWithFrame:(CGRect)frame
{
fram... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXShapeImageLayer.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
@interface DXShapeImageLayer : CALayer
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *highlightedColor;
/**
* This shape wh... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXShapeImageLayer.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#define dx_ChangeLayerAnchorPointAndAjustPositionToStayFrame(layer, nowAnchorPoint) \
CGPoint dx_lastAnchor = layer.anchorPoint;\
layer.anchorPoint = nowAnchorPoint;\
layer.position \
= CGPointMake(laye... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXTapDetectingImageView.h | C/C++ Header | //
// UIImageViewTap.h
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol DXTapDetectingImageViewDelegate;
@interface DXTapDetectingImageView : UIImageView {}
@property (nonatomic, weak) id <DXTapDetectingImageV... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXTapDetectingImageView.m | Objective-C | //
// UIImageViewTap.m
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import "DXTapDetectingImageView.h"
@implementation DXTapDetectingImageView
- (id)initWithFrame:(CGRect)frame {
if ((self = [super initWithFrame:frame])) {
self.userInteractionEna... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXTapDetectingView.h | C/C++ Header | //
// UIViewTap.h
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol DXTapDetectingViewDelegate;
@interface DXTapDetectingView : UIView
@property (nonatomic, weak) id <DXTapDetectingViewDelegate> tapDelegate;
@... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXTapDetectingView.m | Objective-C | //
// UIViewTap.m
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import "DXTapDetectingView.h"
@implementation DXTapDetectingView
- (id)init {
if ((self = [super init])) {
self.userInteractionEnabled = YES;
}
return self;
}
- (id)initWithFrame:(... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXZoomingScrollView.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DXZoomingScrollView, DXTapDetectingImageView;
@protocol DXPhoto;
@protocol DXZoomingScrollViewDelegate <NSObject>
- (void)zoomingScrollViewSingleTapped:(DXZoomingScrollView... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/DXZoomingScrollView.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "DXZoomingScrollView.h"
#import "DXErrorIndicator.h"
#import "DXTapDetectingImageView.h"
#import "DXTapDetectingView.h"
#import "DXPhoto.h"
@interface DXZoomingScrollView ()<DXTapDetectingImageVie... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/UIImage+DXAppleBlur.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (dx_AppleBlur)
// apple wwdc session code for the blur
- (UIImage *)dx_applyLightEffect;
- (UIImage *)dx_applyExtraLightEffect;
- (UIImage *)dx_applyDarkEffect;
... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/UIImage+DXAppleBlur.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "UIImage+DXAppleBlur.h"
#import <Accelerate/Accelerate.h>
@implementation UIImage (dx_AppleBlur)
- (UIImage *)dx_applyLightEffect
{
UIColor *tintColor = [UIColor colorWithWhite:1.0 alpha:0.3];... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/UIView+DXScreenShot.h | C/C++ Header | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (DXScreenShot)
- (UIImage *)dx_screenShotImage;
- (UIImage *)dx_screenShotImageAfterScreenUpdates:(BOOL)update;
- (UIImage *)dx_screenShotImageWithBounds:(CGRect)... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/DXPhotoBrowser/Pod/Classes/UIView+DXScreenShot.m | Objective-C | //
// DXPhotoBrowser
//
// Created by xiekw on 15/5/30.
// Copyright (c) 2015年 xiekw. All rights reserved.
//
#import "UIView+DXScreenShot.h"
@implementation UIView (DXScreenShot)
- (UIImage *)dx_screenShotImageWithBounds:(CGRect)selfBounds afterScreenUpdates:(BOOL)update {
UIGraphicsBeginImageContextWithOpti... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h | C/C++ Header | //
// Created by Fabrice Aneche on 06/01/14.
// Copyright (c) 2014 Dailymotion. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSData (ImageContentType)
/**
* Compute the content type for an image data
*
* @param data the input data
*
* @return the content type as string (i.e. image/jpe... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m | Objective-C | //
// Created by Fabrice Aneche on 06/01/14.
// Copyright (c) 2014 Dailymotion. All rights reserved.
//
#import "NSData+ImageContentType.h"
@implementation NSData (ImageContentType)
+ (NSString *)sd_contentTypeForImageData:(NSData *)data {
uint8_t c;
[data getBytes:&c length:1];
switch (c) {
cas... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDImageCache.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDWebImageCompat.h"
typedef NS_ENUM(NSInteger,... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDImageCache.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDImageCache.h"
#import "SDWebImageDecoder.h"
#import "UIImage+MultiFormat.h"
#im... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
* (c) Jamie Pinkham
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <TargetConditionals.h>
#ifdef __OBJC_GC__
#error SDWebImage ... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m | Objective-C | //
// SDWebImageCompat.m
// SDWebImage
//
// Created by Olivier Poitrey on 11/12/12.
// Copyright (c) 2012 Dailymotion. All rights reserved.
//
#import "SDWebImageCompat.h"
#if !__has_feature(objc_arc)
#error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag
#endif
inline UIImage ... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* Created by james <https://github.com/mystcolor> on 9/28/11.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foun... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* Created by james <https://github.com/mystcolor> on 9/28/11.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageDecod... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDWebImageCompat.h"
#import "SDWebImageOperatio... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageDownloader.h"
#import "SDWebImageDownloaderOperation.h"
#import <ImageI... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDWebImageDownloader.h"
#import "SDWebImageOper... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageDownloaderOperation.h"
#import "SDWebImageDecoder.h"
#import "UIImage+M... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageCompat.h"
#import "SDWebImageOperation.h"
#import "SDWebImageDownloader... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageManager.h"
#import <objc/message.h>
@interface SDWebImageCombinedOpera... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
@protocol SDWebImageOperation <NSObject>
- (void)cance... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDWebImageManager.h"
@class SDWebImagePrefetch... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImagePrefetcher.h"
#if (!defined(DEBUG) && !defined (SD_VERBOSE)) || define... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageCompat.h"
#import "SDWebImageManager.h"
/**
* Integrates SDWebImage a... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "UIButton+WebCache.h"
#import "objc/runtime.h"
#import "UIView+WebCacheOperation.h... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.h | C/C++ Header | //
// UIImage+GIF.h
// LBGIFImage
//
// Created by Laurin Brandner on 06.01.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (GIF)
+ (UIImage *)sd_animatedGIFNamed:(NSString *)name;
+ (UIImage *)sd_animatedGIFWithData:(NSData *)data;
- (UIImage *)s... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.m | Objective-C | //
// UIImage+GIF.m
// LBGIFImage
//
// Created by Laurin Brandner on 06.01.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "UIImage+GIF.h"
#import <ImageIO/ImageIO.h>
@implementation UIImage (GIF)
+ (UIImage *)sd_animatedGIFWithData:(NSData *)data {
if (!data) {
return n... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h | C/C++ Header | //
// UIImage+MultiFormat.h
// SDWebImage
//
// Created by Olivier Poitrey on 07/06/13.
// Copyright (c) 2013 Dailymotion. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (MultiFormat)
+ (UIImage *)sd_imageWithData:(NSData *)data;
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m | Objective-C | //
// UIImage+MultiFormat.m
// SDWebImage
//
// Created by Olivier Poitrey on 07/06/13.
// Copyright (c) 2013 Dailymotion. All rights reserved.
//
#import "UIImage+MultiFormat.h"
#import "UIImage+GIF.h"
#import "NSData+ImageContentType.h"
#import <ImageIO/ImageIO.h>
#ifdef SD_WEBP
#import "UIImage+WebP.h"
#endif
... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <UIKit/UIKit.h>
#import "SDWebImageCompat.h"
#import "SDWebImageManager.h"
/**
*... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "UIImageView+HighlightedWebCache.h"
#import "UIView+WebCacheOperation.h"
#define ... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "SDWebImageCompat.h"
#import "SDWebImageManager.h"
/**
* Integrates SDWebImage a... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "UIImageView+WebCache.h"
#import "objc/runtime.h"
#import "UIView+WebCacheOperatio... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h | C/C++ Header | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <UIKit/UIKit.h>
#import "SDWebImageManager.h"
@interface UIView (WebCacheOperatio... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m | Objective-C | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import "UIView+WebCacheOperation.h"
#import "objc/runtime.h"
static char loadOperationKe... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods-DXPhotoBrowser-DXSimplePhoto/Pods-DXPhotoBrowser-DXSimplePhoto-dummy.m | Objective-C | #import <Foundation/Foundation.h>
@interface PodsDummy_Pods_DXPhotoBrowser_DXSimplePhoto : NSObject
@end
@implementation PodsDummy_Pods_DXPhotoBrowser_DXSimplePhoto
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods-DXPhotoBrowser/Pods-DXPhotoBrowser-dummy.m | Objective-C | #import <Foundation/Foundation.h>
@interface PodsDummy_Pods_DXPhotoBrowser : NSObject
@end
@implementation PodsDummy_Pods_DXPhotoBrowser
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods-SDWebImage/Pods-SDWebImage-dummy.m | Objective-C | #import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SDWebImage : NSObject
@end
@implementation PodsDummy_Pods_SDWebImage
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods/Pods-dummy.m | Objective-C | #import <Foundation/Foundation.h>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
| xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods/Pods-environment.h | C/C++ Header |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// DXPhotoBrowser
#define COCOAPODS_POD_AVAILABLE_DXPhotoBrowser
#define COCOAPODS_VERSION_MA... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Pods/Target Support Files/Pods/Pods-resources.sh | Shell | #!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices ... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Example/Tests/Tests.m | Objective-C | //
// DXPhotoBrowser-DXSimplePhotoTests.m
// DXPhotoBrowser-DXSimplePhotoTests
//
// Created by kaiwei.xkw on 09/16/2015.
// Copyright (c) 2015 kaiwei.xkw. All rights reserved.
//
@import XCTest;
#import <DXPhotoBrowser.h>
#import <DXSimplePhoto.h>
@interface Tests : XCTestCase
@end
@implementation Tests {
... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXSimplePhoto.h | C/C++ Header | //
// DXSimplePhoto.h
// Pods
//
// Created by xiekw on 15/9/16.
//
//
#import <Foundation/Foundation.h>
#import "DXPhoto.h"
@interface DXSimplePhoto : NSObject<DXPhoto>
@property (nonatomic, strong, readonly) NSString *imageURL;
+ (instancetype)photoWithImageURL:(NSString *)imageURL;
+ (NSArray *)photosWithIma... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
Pod/Classes/DXSimplePhoto.m | Objective-C | //
// DXSimplePhoto.m
// Pods
//
// Created by xiekw on 15/9/16.
//
//
#import "DXSimplePhoto.h"
#import "SDWebImageManager.h"
@interface DXSimplePhoto ()
@property (nonatomic, strong) UIImage *placeholder;
@end
@implementation DXSimplePhoto {
NSString *_imageURL;
id<SDWebImageOperation> _operation;
}
... | xiekw2010/DXPhotoBrowser-DXSimplePhoto | 1 | A photo instance using SDWebImage working on DXPhotoBrowser | Objective-C | xiekw2010 | David Tse | Alipay |
index.js | JavaScript | import minimatch from 'minimatch'
export default minimatch | xiekw2010/browser-minimatch | 0 | minimatch running in browser | JavaScript | xiekw2010 | David Tse | Alipay |
rollup.config.js | JavaScript | import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import uglify from 'rollup-plugin-uglify'
import node from 'rollup-plugin-node-builtins'
export default [
{
input: 'index.js',
output: [
{
file: 'dist/minimatch.js',
format: 'umd',
nam... | xiekw2010/browser-minimatch | 0 | minimatch running in browser | JavaScript | xiekw2010 | David Tse | Alipay |
.eleventy.cjs | JavaScript | const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPassthroughCopy('docs-src/docs.css');
eleventyConfig.addPassthroughCopy('docs-src/.nojekyll');
eleventyConfig.addPassthroughCopy(
... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
dev/index.html | HTML | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><my-element> Demo</title>
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="../node_modules/lit/polyfill-support.js"></script>
<script type="module" src="../my-element.js"></... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_data/api.11tydata.js | JavaScript | /**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const fs = require('fs');
module.exports = () => {
const customElements = JSON.parse(
fs.readFileSync('custom-elements.json', 'utf-8')
);
return {
customElements,
};
};
| xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/example.11ty.cjs | JavaScript | const page = require('./page.11ty.cjs');
const relative = require('./relative-path.cjs');
/**
* This template extends the page template and adds an examples list.
*/
module.exports = function (data) {
return page({
...data,
content: renderExample(data),
});
};
const renderExample = ({name, content, coll... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/footer.11ty.cjs | JavaScript | module.exports = function (data) {
return `
<footer>
<p>
Made with
<a href="https://github.com/PolymerLabs/lit-starter-ts">lit-starter-ts</a>
</p>
</footer>`;
};
| xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/header.11ty.cjs | JavaScript | module.exports = function (data) {
return `
<header>
<h1><my-element></h1>
<h2>A web component just for me.</h2>
</header>`;
};
| xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/nav.11ty.cjs | JavaScript | const relative = require('./relative-path.cjs');
module.exports = function ({page}) {
return `
<nav>
<a href="${relative(page.url, '/')}">Home</a>
<a href="${relative(page.url, '/examples/')}">Examples</a>
<a href="${relative(page.url, '/api/')}">API</a>
<a href="${relative(page.url, '/install/')}">Install</... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/page.11ty.cjs | JavaScript | const header = require('./header.11ty.cjs');
const footer = require('./footer.11ty.cjs');
const nav = require('./nav.11ty.cjs');
const relative = require('./relative-path.cjs');
module.exports = function (data) {
const {title, page, content} = data;
return `
<!doctype html>
<html lang="en">
<head>
<meta cha... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/_includes/relative-path.cjs | JavaScript | const path = require('path').posix;
module.exports = (base, p) => {
const relativePath = path.relative(base, p);
if (p.endsWith('/') && !relativePath.endsWith('/') && relativePath !== '') {
return relativePath + '/';
}
return relativePath;
};
| xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/api.11ty.cjs | JavaScript | /**
* This page generates its content from the custom-element.json file as read by
* the _data/api.11tydata.js script.
*/
module.exports = class Docs {
data() {
return {
layout: 'page.11ty.cjs',
title: '<my-element> ⌲ Docs',
};
}
render(data) {
const customElements = data.api['11tydata... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs-src/docs.css | CSS | * {
box-sizing: border-box;
}
body {
margin: 0;
color: #333;
font-family: 'Open Sans', arial, sans-serif;
min-width: min-content;
min-height: 100vh;
font-size: 18px;
display: flex;
flex-direction: column;
align-items: stretch;
}
#main-wrapper {
flex-grow: 1;
}
main {
max-width: 1024px;
marg... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs/api/index.html | HTML |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><my-element> ⌲ Docs</title>
<link rel="stylesheet" href="../docs.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,4... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs/docs.css | CSS | * {
box-sizing: border-box;
}
body {
margin: 0;
color: #333;
font-family: 'Open Sans', arial, sans-serif;
min-width: min-content;
min-height: 100vh;
font-size: 18px;
display: flex;
flex-direction: column;
align-items: stretch;
}
#main-wrapper {
flex-grow: 1;
}
main {
max-width: 1024px;
marg... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
docs/examples/index.html | HTML |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><my-element> ⌲ Examples ⌲ Basic</title>
<link rel="stylesheet" href="../docs.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ope... | xiekw2010/lit-component-play | 0 | lit component play | JavaScript | xiekw2010 | David Tse | Alipay |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.