Skip to content

Commit

Permalink
添加工程
Browse files Browse the repository at this point in the history
  • Loading branch information
锦超 committed Aug 24, 2015
1 parent af79113 commit 50b2ff3
Show file tree
Hide file tree
Showing 274 changed files with 35,975 additions and 0 deletions.
1,224 changes: 1,224 additions & 0 deletions YHB_Prj/YHB_Prj.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,41 @@
<?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>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>C1828BDD-CDD8-43D9-8080-66E39763FEEE</string>
<key>IDESourceControlProjectName</key>
<string>YHB_Prj</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</key>
<string>https://github.com/liuchaogenius/YiHaoBu.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>YHB_Prj/YHB_Prj.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/liuchaogenius/YiHaoBu.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</string>
<key>IDESourceControlWCCName</key>
<string>YiHaoBu</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "YHB_Prj/KucunyujingVC/KCYJManager.m"
timestampString = "462100410.913952"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "28"
endingLineNumber = "28"
landmarkName = "-getStockWarningDetailPageApp:storeId:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FF2A6BD91A0F3780001607AC"
BuildableName = "YHB_Prj.app"
BlueprintName = "YHB_Prj"
ReferencedContainer = "container:YHB_Prj.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FF2A6BEC1A0F3780001607AC"
BuildableName = "YHB_PrjTests.xctest"
BlueprintName = "YHB_PrjTests"
ReferencedContainer = "container:YHB_Prj.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FF2A6BEC1A0F3780001607AC"
BuildableName = "YHB_PrjTests.xctest"
BlueprintName = "YHB_PrjTests"
ReferencedContainer = "container:YHB_Prj.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FF2A6BD91A0F3780001607AC"
BuildableName = "YHB_Prj.app"
BlueprintName = "YHB_Prj"
ReferencedContainer = "container:YHB_Prj.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 = "FF2A6BD91A0F3780001607AC"
BuildableName = "YHB_Prj.app"
BlueprintName = "YHB_Prj"
ReferencedContainer = "container:YHB_Prj.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FF2A6BD91A0F3780001607AC"
BuildableName = "YHB_Prj.app"
BlueprintName = "YHB_Prj"
ReferencedContainer = "container:YHB_Prj.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
@@ -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>YHB_Prj.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>FF2A6BD91A0F3780001607AC</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>FF2A6BEC1A0F3780001607AC</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
18 changes: 18 additions & 0 deletions YHB_Prj/YHB_Prj/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// AppDelegate.h
// yihaobu
//
// Created by striveliu on 14-10-9.
// Copyright (c) 2014年 striveliu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class RootTabBarController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) RootTabBarController *rootvc;
- (void)changeWindowRootviewcontroller;
+ (AppDelegate *)shareAppdelegate;
@end

88 changes: 88 additions & 0 deletions YHB_Prj/YHB_Prj/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
//
// AppDelegate.m
// YHB_Prj
//
// Created by striveliu on 14-11-9.
// Copyright (c) 2014年 striveliu. All rights reserved.
//

#import "AppDelegate.h"
#import "RootTabBarController.h"
#import "FactoryModel.h"
#import "LoginManager.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

@synthesize rootvc;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
[LoginManager shareLoginManager];
NSString *strUid = [[LoginManager shareLoginManager] getUserId];
if(strUid){
rootvc = [[RootTabBarController alloc] init];
rootvc.view.frame = self.window.bounds;
self.window.rootViewController = rootvc;
}
else{
[self setLoginViewController];

}
[self.window makeKeyAndVisible];
return YES;
}

+ (AppDelegate *)shareAppdelegate
{
AppDelegate *de = (AppDelegate*)[UIApplication sharedApplication].delegate;
return de;
}

- (void)changeWindowRootviewcontroller
{
rootvc = [[RootTabBarController alloc] init];
rootvc.view.frame = self.window.bounds;
self.window.rootViewController = rootvc;
}

- (void)setLoginViewController
{
self.window.rootViewController = [[FactoryModel shareFactoryModel] getloginViewController];

}

- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
// [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^(){
// //程序在10分钟内未被系统关闭或者强制关闭,则程序会调用此代码块,可以在这里做一些保存或者清理工作
// if ([HbhUser sharedHbhUser].isLogin) {
// [[HbhUser sharedHbhUser] writeUserInfoToFile];
// }
// }];
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
13 changes: 13 additions & 0 deletions YHB_Prj/YHB_Prj/DatePickVC/DateSelectVC.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// DateSelectVC.h
// YHB_Prj
//
// Created by striveliu on 15/8/20.
// Copyright (c) 2015年 striveliu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DateSelectVC : BaseViewController
- (void)getUserSetTimer:(void(^)(NSString *sTimer, NSString *eTimer,NSString *ssTimer,NSString *seTimer, int btid))aBlock;
@end
Loading

0 comments on commit 50b2ff3

Please sign in to comment.