This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is now possible to use MSSlidingPanelController with Storyboard.
A new example using Storyboard has been added.
- Loading branch information
Sébastien MICHOY
committed
Feb 28, 2014
1 parent
c67a2a2
commit 8fd388a
Showing
67 changed files
with
1,033 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
Example/SlidingPanelController.xcodeproj/xcuserdata | ||
Example/SlidingPanelController.xcodeproj/project.xcworkspace/xcuserdata | ||
Examples/SlidingPanelController.xcodeproj/project.xcworkspace/xcuserdata | ||
Examples/SlidingPanelController.xcodeproj/xcuserdata | ||
Examples/SlidingPanelControllerStoryboard.xcodeproj/project.xcworkspace | ||
Examples/SlidingPanelControllerStoryboard.xcodeproj/xcuserdata |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# MSSlidingPanelController Changelog | ||
## 1.1.2 (Friday, February 28th, 2014) | ||
- It is now possible to use **MSSlidingPanelController** with *Storyboard*. | ||
- A new example using *Storyboard* has been added. | ||
## 1.1.1 (Wednesday, January 29th, 2014) | ||
- Hide a false positive warning reported by clang analyzer. | ||
- Add a script to update the build number. | ||
- Add a script to update the build number of the exemple. | ||
## 1.1.0 (Thursday, January 16th, 2014) | ||
- It's now possible to add a completion block when we change the maximum width of panels. | ||
- It now possible to add a completion block when we change the maximum width of panels. | ||
## 1.0.0 (Wednesday, January 8th, 2014) | ||
- Initial release. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Examples | ||
*SlidingPanelController* and *SlidingPanelControllerStoryboard* allow you to understand how works **MSSlidingPanelController**. | ||
## SlidingPanelController | ||
*SlidingPanelController* shows most functionalities of **MSSlidingPanelController**. All this project is developed programmatically. | ||
## SlidingPanelControllerStoryboard | ||
*SlidingPanelControllerStoryboard* shows how use **MSSlidingPanelController** with the *Storyboard*. |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
354 changes: 354 additions & 0 deletions
354
Examples/SlidingPanelControllerStoryboard.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...s/SlidingPanelControllerStoryboard.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
104 changes: 104 additions & 0 deletions
104
...llerStoryboard.xcodeproj/xcshareddata/xcschemes/SlidingPanelControllerStoryboard.xcscheme
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0500" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<PreActions> | ||
<ExecutionAction | ||
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction"> | ||
<ActionContent | ||
title = "Run Script" | ||
scriptText = "plistFile="$SRCROOT/$INFOPLIST_FILE" version=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$plistFile"` build=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$plistFile"` build="0x$build" build=$(($build + 1)) build=`printf "%X" $build` /usr/libexec/PlistBuddy -c "Set CFBundleVersion $build" "$plistFile""> | ||
<EnvironmentBuildable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "01C133A418C0B698004E7405" | ||
BuildableName = "SlidingPanelControllerStoryboard.app" | ||
BlueprintName = "SlidingPanelControllerStoryboard" | ||
ReferencedContainer = "container:SlidingPanelControllerStoryboard.xcodeproj"> | ||
</BuildableReference> | ||
</EnvironmentBuildable> | ||
</ActionContent> | ||
</ExecutionAction> | ||
</PreActions> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "01C133A418C0B698004E7405" | ||
BuildableName = "SlidingPanelControllerStoryboard.app" | ||
BlueprintName = "SlidingPanelControllerStoryboard" | ||
ReferencedContainer = "container:SlidingPanelControllerStoryboard.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "01C133A418C0B698004E7405" | ||
BuildableName = "SlidingPanelControllerStoryboard.app" | ||
BlueprintName = "SlidingPanelControllerStoryboard" | ||
ReferencedContainer = "container:SlidingPanelControllerStoryboard.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "01C133A418C0B698004E7405" | ||
BuildableName = "SlidingPanelControllerStoryboard.app" | ||
BlueprintName = "SlidingPanelControllerStoryboard" | ||
ReferencedContainer = "container:SlidingPanelControllerStoryboard.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "01C133A418C0B698004E7405" | ||
BuildableName = "SlidingPanelControllerStoryboard.app" | ||
BlueprintName = "SlidingPanelControllerStoryboard" | ||
ReferencedContainer = "container:SlidingPanelControllerStoryboard.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// AppDelegate.h | ||
// SlidingPanelControllerStoryboard | ||
// | ||
// Created by Sébastien MICHOY on 2/28/14. | ||
// Copyright (c) 2014 Sébastien MICHOY. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface AppDelegate : UIResponder <UIApplicationDelegate> | ||
|
||
@property (strong, nonatomic) UIWindow *window; | ||
|
||
@end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// AppDelegate.m | ||
// SlidingPanelControllerStoryboard | ||
// | ||
// Created by Sébastien MICHOY on 2/28/14. | ||
// Copyright (c) 2014 Sébastien MICHOY. All rights reserved. | ||
// | ||
|
||
#import "AppDelegate.h" | ||
|
||
@implementation AppDelegate | ||
|
||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | ||
{ | ||
return YES; | ||
} | ||
|
||
@end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// EmptySegue.h | ||
// SlidingPanelControllerStoryboard | ||
// | ||
// Created by Sébastien MICHOY on 2/28/14. | ||
// Copyright (c) 2014 Sébastien MICHOY. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface EmptySegue : UIStoryboardSegue | ||
|
||
@end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// EmptySegue.m | ||
// SlidingPanelControllerStoryboard | ||
// | ||
// Created by Sébastien MICHOY on 2/28/14. | ||
// Copyright (c) 2014 Sébastien MICHOY. All rights reserved. | ||
// | ||
|
||
#import "EmptySegue.h" | ||
|
||
@implementation EmptySegue | ||
|
||
- (void)perform | ||
{ | ||
|
||
} | ||
|
||
@end |
26 changes: 26 additions & 0 deletions
26
Examples/SlidingPanelControllerStoryboard/Images.xcassets/AppIcon.appiconset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"size" : "29x29", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "40x40", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "60x60", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+5.97 KB
...gPanelControllerStoryboard/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.46 KB
...gPanelControllerStoryboard/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.1 KB
...gPanelControllerStoryboard/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
...es/SlidingPanelControllerStoryboard/Images.xcassets/LaunchImage.launchimage/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"orientation" : "portrait", | ||
"idiom" : "iphone", | ||
"extent" : "full-screen", | ||
"minimum-system-version" : "7.0", | ||
"filename" : "b.png", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"extent" : "full-screen", | ||
"idiom" : "iphone", | ||
"subtype" : "retina4", | ||
"filename" : "a-1.png", | ||
"minimum-system-version" : "7.0", | ||
"orientation" : "portrait", | ||
"scale" : "2x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Binary file added
BIN
+37.1 KB
...lidingPanelControllerStoryboard/Images.xcassets/LaunchImage.launchimage/a-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.8 KB
.../SlidingPanelControllerStoryboard/Images.xcassets/LaunchImage.launchimage/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.