Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>侧滑菜单.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>DA8894061B53E3FF00B47DE7</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>DA88941F1B53E3FF00B47DE7</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DA8894061B53E3FF00B47DE7"
BuildableName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.app"
BlueprintName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;"
ReferencedContainer = "container:&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DA88941F1B53E3FF00B47DE7"
BuildableName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;Tests.xctest"
BlueprintName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;Tests"
ReferencedContainer = "container:&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DA8894061B53E3FF00B47DE7"
BuildableName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.app"
BlueprintName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;"
ReferencedContainer = "container:&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DA8894061B53E3FF00B47DE7"
BuildableName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.app"
BlueprintName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;"
ReferencedContainer = "container:&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DA8894061B53E3FF00B47DE7"
BuildableName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.app"
BlueprintName = "&#x4fa7;&#x6ed1;&#x83dc;&#x5355;"
ReferencedContainer = "container:&#x4fa7;&#x6ed1;&#x83dc;&#x5355;.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ -(void)initView{
_demoView = [[UIView alloc] initWithFrame:CGRectMake(SCREEN_WIDTH/2-50, SCREEN_HEIGHT/2-100,100 ,100 )];
_demoView.backgroundColor = [UIColor redColor];
[self.view addSubview:_demoView];


UIButton *btn = [UIButton buttonWithType:UIButtonTypeContactAdd];
[self.view addSubview:btn];
}


Expand Down
5 changes: 5 additions & 0 deletions 侧滑菜单/侧滑菜单/LeftPage/LeftViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ -(void)viewDidLoad{
[self initView];
}

- (void)test
{

}

-(void)initData{
_menuArray = [NSArray arrayWithObjects:@"基础动画",@"关键帧动画",@"组动画",@"过渡动画",@"仿射变换",@"综合案例", nil];
}
Expand Down
2 changes: 1 addition & 1 deletion 侧滑菜单/侧滑菜单/RightPage/RightViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
#import <UIKit/UIKit.h>

@interface RightViewController : UIViewController

@property (nonatomic, strong) UIView *headView;
@end
4 changes: 4 additions & 0 deletions 侧滑菜单/侧滑菜单/RightPage/RightViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

@implementation RightViewController


// view即将显示调用
-(void)viewDidLoad{
[super viewDidLoad];
self.view.backgroundColor = [UIColor orangeColor];
Expand All @@ -19,6 +21,8 @@ -(void)viewDidLoad{
label.font = [UIFont systemFontOfSize:22];
label.textAlignment = NSTextAlignmentCenter;
[self.view addSubview:label];

self.view.backgroundColor = [UIColor redColor];
}

@end