Skip to content

Commit

Permalink
Merge pull request #7 from hryk224/v1.4.0
Browse files Browse the repository at this point in the history
Refactor & Support #6
  • Loading branch information
hryk224 authored Feb 22, 2017
2 parents 3109a3e + 816864e commit 41e2e54
Show file tree
Hide file tree
Showing 109 changed files with 1,225 additions and 392 deletions.
2 changes: 1 addition & 1 deletion Bottomsheet.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Bottomsheet"
s.version = "1.3.0"
s.version = "1.4.0"
s.summary = "Component which presents a dismissible view from the bottom of the screen."
s.homepage = "https://github.com/hryk224/Bottomsheet"
s.screenshots = "https://github.com/hryk224/Bottomsheet/wiki/images/sample3.gif"
Expand Down
122 changes: 77 additions & 45 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
objects = {

/* Begin PBXBuildFile section */
935BD6881CE2670F00E5FDF7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 935BD6871CE2670F00E5FDF7 /* AppDelegate.swift */; };
935BD68A1CE2670F00E5FDF7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 935BD6891CE2670F00E5FDF7 /* ViewController.swift */; };
935BD68D1CE2670F00E5FDF7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 935BD68B1CE2670F00E5FDF7 /* Main.storyboard */; };
935BD68F1CE2670F00E5FDF7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 935BD68E1CE2670F00E5FDF7 /* Assets.xcassets */; };
935BD6921CE2670F00E5FDF7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 935BD6901CE2670F00E5FDF7 /* LaunchScreen.storyboard */; };
ED7B75C31D90EE4C007D6FD8 /* Bottomsheet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED7B75C21D90EE46007D6FD8 /* Bottomsheet.framework */; };
ED7B75C41D90EE4C007D6FD8 /* Bottomsheet.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = ED7B75C21D90EE46007D6FD8 /* Bottomsheet.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
ED99E7E21E5D8773001A71E8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ED99E7E01E5D8773001A71E8 /* Assets.xcassets */; };
ED99E7E71E5D8782001A71E8 /* CollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7E51E5D8782001A71E8 /* CollectionViewCell.swift */; };
ED99E7E81E5D8782001A71E8 /* TableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7E61E5D8782001A71E8 /* TableViewCell.swift */; };
ED99E7ED1E5D878E001A71E8 /* DelegateManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7EA1E5D878E001A71E8 /* DelegateManager.swift */; };
ED99E7EE1E5D878E001A71E8 /* MainViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = ED99E7EB1E5D878E001A71E8 /* MainViewController.storyboard */; };
ED99E7EF1E5D878E001A71E8 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7EC1E5D878E001A71E8 /* MainViewController.swift */; };
ED99E7F31E5D8796001A71E8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7F01E5D8796001A71E8 /* AppDelegate.swift */; };
ED99E7F41E5D8796001A71E8 /* Assets.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED99E7F11E5D8796001A71E8 /* Assets.swift */; };
ED99E7F51E5D8796001A71E8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = ED99E7F21E5D8796001A71E8 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -28,7 +32,7 @@
isa = PBXContainerItemProxy;
containerPortal = ED7B75BD1D90EE46007D6FD8 /* Bottomsheet.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 935BD5BE1CE25F7500E5FDF7;
remoteGlobalIDString = OBJ_17;
remoteInfo = Bottomsheet;
};
/* End PBXContainerItemProxy section */
Expand All @@ -49,13 +53,17 @@

/* Begin PBXFileReference section */
935BD6841CE2670F00E5FDF7 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
935BD6871CE2670F00E5FDF7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
935BD6891CE2670F00E5FDF7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
935BD68C1CE2670F00E5FDF7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
935BD68E1CE2670F00E5FDF7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
935BD6911CE2670F00E5FDF7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
935BD6931CE2670F00E5FDF7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
ED7B75BD1D90EE46007D6FD8 /* Bottomsheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Bottomsheet.xcodeproj; path = ../Bottomsheet.xcodeproj; sourceTree = "<group>"; };
ED99E7E01E5D8773001A71E8 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Resources/Assets.xcassets; sourceTree = "<group>"; };
ED99E7E11E5D8773001A71E8 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Resources/Info.plist; sourceTree = "<group>"; };
ED99E7E51E5D8782001A71E8 /* CollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CollectionViewCell.swift; path = Sources/Cells/CollectionViewCell.swift; sourceTree = "<group>"; };
ED99E7E61E5D8782001A71E8 /* TableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TableViewCell.swift; path = Sources/Cells/TableViewCell.swift; sourceTree = "<group>"; };
ED99E7EA1E5D878E001A71E8 /* DelegateManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DelegateManager.swift; path = Sources/ViewController/DelegateManager.swift; sourceTree = "<group>"; };
ED99E7EB1E5D878E001A71E8 /* MainViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = MainViewController.storyboard; path = Sources/ViewController/MainViewController.storyboard; sourceTree = "<group>"; };
ED99E7EC1E5D878E001A71E8 /* MainViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MainViewController.swift; path = Sources/ViewController/MainViewController.swift; sourceTree = "<group>"; };
ED99E7F01E5D8796001A71E8 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Sources/AppDelegate.swift; sourceTree = "<group>"; };
ED99E7F11E5D8796001A71E8 /* Assets.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Assets.swift; path = Sources/Assets.swift; sourceTree = "<group>"; };
ED99E7F21E5D8796001A71E8 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Sources/LaunchScreen.storyboard; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -90,12 +98,8 @@
935BD6861CE2670F00E5FDF7 /* Example */ = {
isa = PBXGroup;
children = (
935BD6871CE2670F00E5FDF7 /* AppDelegate.swift */,
935BD68E1CE2670F00E5FDF7 /* Assets.xcassets */,
935BD6931CE2670F00E5FDF7 /* Info.plist */,
935BD6901CE2670F00E5FDF7 /* LaunchScreen.storyboard */,
935BD68B1CE2670F00E5FDF7 /* Main.storyboard */,
935BD6891CE2670F00E5FDF7 /* ViewController.swift */,
ED99E7DF1E5D875B001A71E8 /* Resources */,
ED99E7DE1E5D8754001A71E8 /* Sources */,
);
path = Example;
sourceTree = "<group>";
Expand All @@ -116,6 +120,46 @@
name = Products;
sourceTree = "<group>";
};
ED99E7DE1E5D8754001A71E8 /* Sources */ = {
isa = PBXGroup;
children = (
ED99E7E41E5D8779001A71E8 /* Cells */,
ED99E7E91E5D8787001A71E8 /* ViewController */,
ED99E7F01E5D8796001A71E8 /* AppDelegate.swift */,
ED99E7F11E5D8796001A71E8 /* Assets.swift */,
ED99E7F21E5D8796001A71E8 /* LaunchScreen.storyboard */,
);
name = Sources;
sourceTree = "<group>";
};
ED99E7DF1E5D875B001A71E8 /* Resources */ = {
isa = PBXGroup;
children = (
ED99E7E01E5D8773001A71E8 /* Assets.xcassets */,
ED99E7E11E5D8773001A71E8 /* Info.plist */,
);
name = Resources;
sourceTree = "<group>";
};
ED99E7E41E5D8779001A71E8 /* Cells */ = {
isa = PBXGroup;
children = (
ED99E7E51E5D8782001A71E8 /* CollectionViewCell.swift */,
ED99E7E61E5D8782001A71E8 /* TableViewCell.swift */,
);
name = Cells;
sourceTree = "<group>";
};
ED99E7E91E5D8787001A71E8 /* ViewController */ = {
isa = PBXGroup;
children = (
ED99E7EA1E5D878E001A71E8 /* DelegateManager.swift */,
ED99E7EB1E5D878E001A71E8 /* MainViewController.storyboard */,
ED99E7EC1E5D878E001A71E8 /* MainViewController.swift */,
);
name = ViewController;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -150,7 +194,7 @@
TargetAttributes = {
935BD6831CE2670F00E5FDF7 = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 0820;
};
};
};
Expand Down Expand Up @@ -193,9 +237,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
935BD68F1CE2670F00E5FDF7 /* Assets.xcassets in Resources */,
935BD6921CE2670F00E5FDF7 /* LaunchScreen.storyboard in Resources */,
935BD68D1CE2670F00E5FDF7 /* Main.storyboard in Resources */,
ED99E7E21E5D8773001A71E8 /* Assets.xcassets in Resources */,
ED99E7F51E5D8796001A71E8 /* LaunchScreen.storyboard in Resources */,
ED99E7EE1E5D878E001A71E8 /* MainViewController.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -206,8 +250,12 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
935BD6881CE2670F00E5FDF7 /* AppDelegate.swift in Sources */,
935BD68A1CE2670F00E5FDF7 /* ViewController.swift in Sources */,
ED99E7F31E5D8796001A71E8 /* AppDelegate.swift in Sources */,
ED99E7F41E5D8796001A71E8 /* Assets.swift in Sources */,
ED99E7E71E5D8782001A71E8 /* CollectionViewCell.swift in Sources */,
ED99E7ED1E5D878E001A71E8 /* DelegateManager.swift in Sources */,
ED99E7EF1E5D878E001A71E8 /* MainViewController.swift in Sources */,
ED99E7E81E5D8782001A71E8 /* TableViewCell.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -221,25 +269,6 @@
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
935BD68B1CE2670F00E5FDF7 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
935BD68C1CE2670F00E5FDF7 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
935BD6901CE2670F00E5FDF7 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
935BD6911CE2670F00E5FDF7 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
935BD6941CE2670F00E5FDF7 /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -334,10 +363,12 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Example/Info.plist;
CLANG_ENABLE_MODULES = YES;
INFOPLIST_FILE = "$(SRCROOT)/Example/Resources/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.github.hryk224.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Debug;
Expand All @@ -347,7 +378,8 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Example/Info.plist;
CLANG_ENABLE_MODULES = YES;
INFOPLIST_FILE = "$(SRCROOT)/Example/Resources/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.github.hryk224.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/2.imageset/2-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/2.imageset/2-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/3.imageset/3-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/3.imageset/3-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/4.imageset/4-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/4.imageset/4-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/5.imageset/5-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/5.imageset/5-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/6.imageset/6-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/6.imageset/6-3.jpg
Binary file not shown.
23 changes: 0 additions & 23 deletions Example/Example/Assets.xcassets/6.imageset/Contents.json

This file was deleted.

Binary file removed Example/Example/Assets.xcassets/7.imageset/7-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/7.imageset/7-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/8.imageset/8-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/8.imageset/8-2.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/9.imageset/9-1.jpg
Binary file not shown.
Binary file removed Example/Example/Assets.xcassets/9.imageset/9-2.jpg
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"images" : [
{
"idiom" : "universal",
"filename" : "0.jpg",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "0@2x.jpg",
"filename" : "0.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"images" : [
{
"idiom" : "universal",
"filename" : "1.jpg",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "1@2x-1.jpg",
"filename" : "1.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "161117113309VV_T9V9A7548_TP_V.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ametobijyo0I9A8051_TP_V.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "CN0I9A0363_1_TP_V.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "DAIKONPAKU0883_TP_V.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "elhiraneco523_TP_V.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading

0 comments on commit 41e2e54

Please sign in to comment.