Skip to content

加上 youtube 的功能 #581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,471 changes: 704 additions & 1,767 deletions Example/MWPhotoBrowser.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
4 changes: 2 additions & 2 deletions Example/MWPhotoBrowser/Menu.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder {
self.title = @"MWPhotoBrowser";

// Clear cache for testing
[[SDImageCache sharedImageCache] clearDisk];
[[SDImageCache sharedImageCache] clearDiskOnCompletion:nil];
[[SDImageCache sharedImageCache] clearMemory];

_segmentedControl = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"Push", @"Modal", nil]];
Expand Down Expand Up @@ -1118,7 +1118,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
browser.displayNavArrows = displayNavArrows;
browser.displaySelectionButtons = displaySelectionButtons;
browser.alwaysShowControls = displaySelectionButtons;
browser.zoomPhotosToFill = YES;
browser.zoomPhotosToFill = NO;
browser.enableGrid = enableGrid;
browser.startOnGrid = startOnGrid;
browser.enableSwipeToDismiss = NO;
Expand Down
10 changes: 4 additions & 6 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'

target 'MWPhotoBrowser_Example', :exclusive => true do
target 'MWPhotoBrowser_Example' do
pod "MWPhotoBrowser", :path => "../"
end

target 'MWPhotoBrowser_Tests', :exclusive => true do
target 'MWPhotoBrowser_Tests' do
pod "MWPhotoBrowser", :path => "../"

pod 'Specta'
pod 'Expecta'
pod 'FBSnapshotTestCase'
pod 'Expecta+Snapshots'
pod 'XCDYouTubeKit'
end
40 changes: 16 additions & 24 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,39 +1,31 @@
PODS:
- DACircularProgress (2.3.1)
- Expecta (1.0.0)
- Expecta+Snapshots (1.3.4):
- Expecta (~> 1.0)
- FBSnapshotTestCase (~> 1.8)
- FBSnapshotTestCase (1.8.1)
- MBProgressHUD (0.9.2)
- MBProgressHUD (1.0.0)
- MWPhotoBrowser (2.1.2):
- DACircularProgress (~> 2.3)
- MBProgressHUD (~> 0.9)
- SDWebImage (!= 3.7.2, ~> 3.7)
- SDWebImage (3.7.5):
- SDWebImage/Core (= 3.7.5)
- SDWebImage/Core (3.7.5)
- Specta (1.0.2)
- MBProgressHUD
- SDWebImage
- XCDYouTubeKit
- SDWebImage (4.0.0):
- SDWebImage/Core (= 4.0.0)
- SDWebImage/Core (4.0.0)
- XCDYouTubeKit (2.5.5)

DEPENDENCIES:
- Expecta
- Expecta+Snapshots
- FBSnapshotTestCase
- MWPhotoBrowser (from `../`)
- Specta
- XCDYouTubeKit

EXTERNAL SOURCES:
MWPhotoBrowser:
:path: ../

SPEC CHECKSUMS:
DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71
Expecta: 32604574add2c46a36f8d2f716b6c5736eb75024
Expecta+Snapshots: ca15bfb57e7a0f78f86c7699c2c54ffacfa4ad2a
FBSnapshotTestCase: 3dc3899168747a0319c5278f5b3445c13a6532dd
MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1
MWPhotoBrowser: 5836d7aa041dc05a13de380c246826578adc5ea5
SDWebImage: 69c6303e3348fba97e03f65d65d4fbc26740f461
Specta: 9cec98310dca411f7c7ffd6943552b501622abfe
MBProgressHUD: 4890f671c94e8a0f3cf959aa731e9de2f036d71a
MWPhotoBrowser: ff1338bbaa18628f4c0ddb1cda2400e4eb76f3f2
SDWebImage: 76a6348bdc74eb5a55dd08a091ef298e56b55e41
XCDYouTubeKit: 86f4e7a9c2baa7b7adf6abfc28ac3ab34927be2d

COCOAPODS: 0.39.0
PODFILE CHECKSUM: 8d80a550b39a400bc48ef7231048ba8671fc89d2

COCOAPODS: 1.0.1
21 changes: 0 additions & 21 deletions Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h

This file was deleted.

Loading