Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
It is now possible to use MSSlidingPanelController with Storyboard.
Browse files Browse the repository at this point in the history
A new example using Storyboard has been added.
  • Loading branch information
Sébastien MICHOY committed Feb 28, 2014
1 parent c67a2a2 commit 8fd388a
Show file tree
Hide file tree
Showing 67 changed files with 1,033 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitignore
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
7 changes: 5 additions & 2 deletions CHANGELOG.md
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.
6 changes: 6 additions & 0 deletions Examples/EXAMPLES.md
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.
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,18 @@
isa = PBXGroup;
children = (
01C4F2741879D0F100CA9A41 /* Sources */,
01C4F24B1879CF9D00CA9A41 /* Ressources */,
01C4F24B1879CF9D00CA9A41 /* Resources */,
);
path = SlidingPanelController;
sourceTree = "<group>";
};
01C4F24B1879CF9D00CA9A41 /* Ressources */ = {
01C4F24B1879CF9D00CA9A41 /* Resources */ = {
isa = PBXGroup;
children = (
01C4F2561879CF9D00CA9A41 /* Images.xcassets */,
01C4F2731879CFFB00CA9A41 /* Others */,
);
name = Ressources;
name = Resources;
sourceTree = "<group>";
};
01C4F2731879CFFB00CA9A41 /* Others */ = {
Expand Down
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.1</string>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
Expand Down
354 changes: 354 additions & 0 deletions Examples/SlidingPanelControllerStoryboard.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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=&quot;$SRCROOT/$INFOPLIST_FILE&quot;&#10;&#10;version=`/usr/libexec/PlistBuddy -c &quot;Print CFBundleShortVersionString&quot; &quot;$plistFile&quot;`&#10;build=`/usr/libexec/PlistBuddy -c &quot;Print CFBundleVersion&quot; &quot;$plistFile&quot;`&#10;&#10;build=&quot;0x$build&quot;&#10;build=$(($build + 1))&#10;build=`printf &quot;%X&quot; $build`&#10;&#10;/usr/libexec/PlistBuddy -c &quot;Set CFBundleVersion $build&quot; &quot;$plistFile&quot;">
<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>
15 changes: 15 additions & 0 deletions Examples/SlidingPanelControllerStoryboard/AppDelegate.h
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
18 changes: 18 additions & 0 deletions Examples/SlidingPanelControllerStoryboard/AppDelegate.m
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
13 changes: 13 additions & 0 deletions Examples/SlidingPanelControllerStoryboard/EmptySegue.h
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
18 changes: 18 additions & 0 deletions Examples/SlidingPanelControllerStoryboard/EmptySegue.m
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
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"
}
}
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.
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,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"
}
}
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.
Loading

0 comments on commit 8fd388a

Please sign in to comment.