Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Opple-iOS
Commits
4ea4eaca
Commit
4ea4eaca
authored
May 02, 2016
by
zhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f72440f4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
346 additions
and
182 deletions
+346
-182
LoginViewController.m
Lighting/Class/Login/LoginViewController.m
+1
-19
MainSetViewController.h
Lighting/Class/MainSet/MainSetViewController.h
+13
-0
MainSetViewController.m
Lighting/Class/MainSet/MainSetViewController.m
+37
-0
RightViewController.m
Lighting/Class/RightViewController.m
+27
-2
LoginViewController.h
Lighting/Class/Tabbar/Login/LoginViewController.h
+13
-0
LoginViewController.m
Lighting/Class/Tabbar/Login/LoginViewController.m
+55
-0
Toolview.m
Lighting/Class/Tabbar/Toolview.m
+15
-8
project.pbxproj
Lighting/Lighting.xcodeproj/project.pbxproj
+61
-51
Main.storyboard
Lighting/Lighting/Base.lproj/Main.storyboard
+7
-7
Contents.json
.../Lighting/Images.xcassets/business.imageset/Contents.json
+22
-0
business.png
...g/Lighting/Images.xcassets/business.imageset/business.png
+0
-0
business@2x.png
...ighting/Images.xcassets/business.imageset/business@2x.png
+0
-0
Info.plist
Lighting/Lighting/Info.plist
+5
-5
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+88
-88
Podfile.lock
Lighting/Podfile.lock
+1
-1
podfile
Lighting/podfile
+1
-1
No files found.
Lighting/Class/Login/LoginViewController.m
View file @
4ea4eaca
...
...
@@ -9,8 +9,6 @@
#import "LoginViewController.h"
#import "CustomTabbarController.h"
#import "AppDelegate.h"
#import "MMDrawerVisualState.h"
#import "MMExampleDrawerVisualStateManager.h"
@interface
LoginViewController
()
@property
(
weak
,
nonatomic
)
IBOutlet
UIButton
*
loginButton
;
...
...
@@ -29,32 +27,16 @@
#pragma mark -登陆
-
(
IBAction
)
LoginButtonClick
:
(
UIButton
*
)
sender
{
[
self
MMDrawerController
];
}
#pragma mark -MMDrawerController
-
(
void
)
MMDrawerController
{
CustomTabbarController
*
customtabbar
=
[[
CustomTabbarController
alloc
]
init
];
RightViewController
*
rightVC
=
[[
RightViewController
alloc
]
init
];
self
.
drawerController
=
[[
MMDrawerController
alloc
]
initWithCenterViewController
:
customtabbar
rightDrawerViewController
:
rightVC
];
[
self
.
drawerController
setMaximumRightDrawerWidth
:
RightWidth
];
[
self
.
drawerController
setOpenDrawerGestureModeMask
:
MMOpenDrawerGestureModeAll
];
[
self
.
drawerController
setCloseDrawerGestureModeMask
:
MMCloseDrawerGestureModeAll
];
[
self
.
drawerController
setDrawerVisualStateBlock
:
^
(
MMDrawerController
*
drawerController
,
MMDrawerSide
drawerSide
,
CGFloat
percentVisible
)
{
MMDrawerControllerDrawerVisualStateBlock
block
;
block
=
[[
MMExampleDrawerVisualStateManager
sharedManager
]
drawerVisualStateBlockForDrawerSide
:
drawerSide
];
if
(
block
){
block
(
drawerController
,
drawerSide
,
percentVisible
);
}
}];
[[
MMExampleDrawerVisualStateManager
sharedManager
]
setRightDrawerAnimationType
:
MMDrawerAnimationTypeSwingingDoor
];
SHARED_APPDELEGATE
.
mmdrawer
=
self
.
drawerController
;
SHARED_APPDELEGATE
.
window
.
rootViewController
=
self
.
drawerController
;
}
-
(
void
)
didReceiveMemoryWarning
{
[
super
didReceiveMemoryWarning
];
// Dispose of any resources that can be recreated.
...
...
Lighting/Class/MainSet/MainSetViewController.h
0 → 100644
View file @
4ea4eaca
//
// MainSetViewController.h
// Lighting
//
// Created by mac on 16/5/3.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
@interface
MainSetViewController
:
BaseViewController
@end
Lighting/Class/MainSet/MainSetViewController.m
0 → 100644
View file @
4ea4eaca
//
// MainSetViewController.m
// Lighting
//
// Created by mac on 16/5/3.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "MainSetViewController.h"
@interface
MainSetViewController
()
@end
@implementation
MainSetViewController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// Do any additional setup after loading the view.
}
-
(
void
)
didReceiveMemoryWarning
{
[
super
didReceiveMemoryWarning
];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
Lighting/Class/RightViewController.m
View file @
4ea4eaca
...
...
@@ -26,7 +26,7 @@
{
if
(
_dataArray
==
nil
)
{
_dataArray
=
[
NSArray
arrayWithObjects
:
@"随心配"
,
@"
体验中心"
,
@"产品库
"
,
@"客户管理"
,
@"关于"
,
nil
];
_dataArray
=
[
NSArray
arrayWithObjects
:
@"随心配"
,
@"
场景库"
,
@"产品库"
,
@"体验中心
"
,
@"客户管理"
,
@"关于"
,
nil
];
}
return
_dataArray
;
}
...
...
@@ -76,7 +76,32 @@
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
switch
(
indexPath
.
row
)
{
case
0
:
//随心配
break
;
case
1
:
//场景库
break
;
case
2
:
//产品库
break
;
case
3
:
//体验中心
break
;
case
4
:
//客户管理
break
;
case
5
:
//关于
break
;
default
:
break
;
}
}
...
...
Lighting/Class/Tabbar/Login/LoginViewController.h
0 → 100644
View file @
4ea4eaca
//
// LoginViewController.h
// Lighting
//
// Created by 曹云霄 on 16/4/27.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
@interface
LoginViewController
:
BaseViewController
@end
Lighting/Class/Tabbar/Login/LoginViewController.m
0 → 100644
View file @
4ea4eaca
//
// LoginViewController.m
// Lighting
//
// Created by 曹云霄 on 16/4/27.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "LoginViewController.h"
#import "CustomTabbarController.h"
#import "AppDelegate.h"
@interface
LoginViewController
()
@property
(
weak
,
nonatomic
)
IBOutlet
UIButton
*
loginButton
;
@property
(
nonatomic
,
strong
)
MMDrawerController
*
drawerController
;
@end
@implementation
LoginViewController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// Do any additional setup after loading the view.
}
#pragma mark -登陆
-
(
IBAction
)
LoginButtonClick
:
(
UIButton
*
)
sender
{
CustomTabbarController
*
customtabbar
=
[[
CustomTabbarController
alloc
]
init
];
RightViewController
*
rightVC
=
[[
RightViewController
alloc
]
init
];
self
.
drawerController
=
[[
MMDrawerController
alloc
]
initWithCenterViewController
:
customtabbar
rightDrawerViewController
:
rightVC
];
[
self
.
drawerController
setMaximumRightDrawerWidth
:
RightWidth
];
[
self
.
drawerController
setOpenDrawerGestureModeMask
:
MMOpenDrawerGestureModeAll
];
[
self
.
drawerController
setCloseDrawerGestureModeMask
:
MMCloseDrawerGestureModeAll
];
SHARED_APPDELEGATE
.
window
.
rootViewController
=
self
.
drawerController
;
}
-
(
void
)
didReceiveMemoryWarning
{
[
super
didReceiveMemoryWarning
];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
Lighting/Class/Tabbar/Toolview.m
View file @
4ea4eaca
...
...
@@ -8,6 +8,12 @@
#import "Toolview.h"
#import "CustomButton.h"
#define ButtonWIDTH 100 //按钮宽度
#define Buttoninterval 20//按钮间隔
#define ButtonRIGHT 54//按钮高度
@implementation
Toolview
/*
...
...
@@ -29,11 +35,6 @@
return
self
;
}
#define ButtonWIDTH 100 //按钮宽度
#define Buttoninterval 20//按钮间隔
#define ButtonRIGHT 54//按钮高度
#pragma mark -布局
-
(
void
)
uiConfigAction
{
...
...
@@ -55,8 +56,8 @@
[
self
addSubview
:
inputField
];
//按钮
NSArray
*
titleArray
=
[
NSArray
arrayWithObjects
:
@"某某用户"
,
@"我的客户"
,
@"购物车"
,
nil
];
for
(
int
i
=
1
;
i
<
4
;
i
++
)
{
NSArray
*
titleArray
=
[
NSArray
arrayWithObjects
:
@"
右视图"
,
@"
某某用户"
,
@"我的客户"
,
@"购物车"
,
nil
];
for
(
int
i
=
1
;
i
<
5
;
i
++
)
{
CustomButton
*
button
=
[
CustomButton
buttonWithType
:
UIButtonTypeCustom
];
button
.
frame
=
CGRectMake
(
ScreenWidth
-
(
i
*
ButtonWIDTH
+
Buttoninterval
*
(
i
-
1
)),
10
,
ButtonWIDTH
,
ButtonRIGHT
);
...
...
@@ -65,7 +66,13 @@
button
.
tag
=
100
+
i
-
1
;
[
button
addTarget
:
self
action
:
@selector
(
ButtonClick
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
button
.
instructionsNumber
=
i
;
if
(
i
==
1
)
{
[
button
setImage
:
TCImage
(
@"business"
)
forState
:
UIControlStateNormal
];
}
else
{
[
button
setImage
:
TCImage
(
@"qq"
)
forState
:
UIControlStateNormal
];
}
[
self
addSubview
:
button
];
//创建下划线
if
(
i
==
2
)
{
...
...
Lighting/Lighting.xcodeproj/project.pbxproj
View file @
4ea4eaca
...
...
@@ -7,8 +7,9 @@
objects
=
{
/* Begin PBXBuildFile section */
0447085E1CD7C06B00555827
/* LoginViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0447085D1CD7C06B00555827
/* LoginViewController.m */
;
};
044708611CD7C1E800555827
/* MainSetViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044708601CD7C1E800555827
/* MainSetViewController.m */
;
};
2928F7E71CD087FE0036D761
/* BaseViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2928F7E61CD087FE0036D761
/* BaseViewController.m */
;
};
2928F8241CD09B2C0036D761
/* LoginViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2928F8231CD09B2C0036D761
/* LoginViewController.m */
;
};
2928F8321CD09E320036D761
/* Toolview.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2928F8311CD09E320036D761
/* Toolview.m */
;
};
2928F8381CD09E730036D761
/* CustomButton.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2928F8371CD09E730036D761
/* CustomButton.m */
;
};
2928F83B1CD0A0CE0036D761
/* CustomTabbarController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2928F83A1CD0A0CE0036D761
/* CustomTabbarController.m */
;
};
...
...
@@ -43,11 +44,13 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
0447085C1CD7C06B00555827
/* LoginViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
LoginViewController.h
;
sourceTree
=
"<group>"
;
};
0447085D1CD7C06B00555827
/* LoginViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
LoginViewController.m
;
sourceTree
=
"<group>"
;
};
0447085F1CD7C1E800555827
/* MainSetViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
MainSetViewController.h
;
sourceTree
=
"<group>"
;
};
044708601CD7C1E800555827
/* MainSetViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
MainSetViewController.m
;
sourceTree
=
"<group>"
;
};
2928F7E21CD085F40036D761
/* PrefixHeader.pch */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PrefixHeader.pch
;
sourceTree
=
"<group>"
;
};
2928F7E51CD087FE0036D761
/* BaseViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BaseViewController.h
;
sourceTree
=
"<group>"
;
};
2928F7E61CD087FE0036D761
/* BaseViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
BaseViewController.m
;
sourceTree
=
"<group>"
;
};
2928F8221CD09B2C0036D761
/* LoginViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
LoginViewController.h
;
sourceTree
=
"<group>"
;
};
2928F8231CD09B2C0036D761
/* LoginViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
LoginViewController.m
;
sourceTree
=
"<group>"
;
};
2928F8301CD09E320036D761
/* Toolview.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
Toolview.h
;
sourceTree
=
"<group>"
;
};
2928F8311CD09E320036D761
/* Toolview.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
Toolview.m
;
sourceTree
=
"<group>"
;
};
2928F8361CD09E730036D761
/* CustomButton.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
CustomButton.h
;
sourceTree
=
"<group>"
;
};
...
...
@@ -112,6 +115,48 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
044708571CD7C06B00555827
/* MainSet */
=
{
isa
=
PBXGroup
;
children
=
(
0447085F1CD7C1E800555827
/* MainSetViewController.h */
,
044708601CD7C1E800555827
/* MainSetViewController.m */
,
044708581CD7C06B00555827
/* Followheart */
,
044708591CD7C06B00555827
/* Productlibrary */
,
0447085A1CD7C06B00555827
/* SceneLibrary */
,
);
path
=
MainSet
;
sourceTree
=
"<group>"
;
};
044708581CD7C06B00555827
/* Followheart */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
Followheart
;
sourceTree
=
"<group>"
;
};
044708591CD7C06B00555827
/* Productlibrary */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
Productlibrary
;
sourceTree
=
"<group>"
;
};
0447085A1CD7C06B00555827
/* SceneLibrary */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
SceneLibrary
;
sourceTree
=
"<group>"
;
};
0447085B1CD7C06B00555827
/* Login */
=
{
isa
=
PBXGroup
;
children
=
(
0447085C1CD7C06B00555827
/* LoginViewController.h */
,
0447085D1CD7C06B00555827
/* LoginViewController.m */
,
);
path
=
Login
;
sourceTree
=
"<group>"
;
};
2928F7DD1CD085430036D761
/* Class */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -120,10 +165,8 @@
2962D06A1CD1A3FE0058829D
/* MyClient */
,
2928F83F1CD0AB830036D761
/* Shoppingcart */
,
2928F8251CD09BC10036D761
/* Tabbar */
,
2928F8211CD09B1D0036D761
/* Login */
,
2928F7DF1CD085BA0036D761
/* Followheart */
,
2928F7E01CD085BA0036D761
/* ProductLibrary */
,
2928F7E11CD085BA0036D761
/* SceneLibrary */
,
0447085B1CD7C06B00555827
/* Login */
,
044708571CD7C06B00555827
/* MainSet */
,
);
path
=
Class
;
sourceTree
=
"<group>"
;
...
...
@@ -149,27 +192,6 @@
path
=
Tools
;
sourceTree
=
"<group>"
;
};
2928F7DF1CD085BA0036D761
/* Followheart */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
Followheart
;
sourceTree
=
"<group>"
;
};
2928F7E01CD085BA0036D761
/* ProductLibrary */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
ProductLibrary
;
sourceTree
=
"<group>"
;
};
2928F7E11CD085BA0036D761
/* SceneLibrary */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
SceneLibrary
;
sourceTree
=
"<group>"
;
};
2928F7E31CD087B60036D761
/* pch */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -187,15 +209,6 @@
name
=
parentclass
;
sourceTree
=
"<group>"
;
};
2928F8211CD09B1D0036D761
/* Login */
=
{
isa
=
PBXGroup
;
children
=
(
2928F8221CD09B2C0036D761
/* LoginViewController.h */
,
2928F8231CD09B2C0036D761
/* LoginViewController.m */
,
);
path
=
Login
;
sourceTree
=
"<group>"
;
};
2928F8251CD09BC10036D761
/* Tabbar */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -439,7 +452,7 @@
TargetAttributes
=
{
29706DA01CD082980003C412
=
{
CreatedOnToolsVersion
=
7.3
;
DevelopmentTeam
=
3
9XYE6VSP8
;
DevelopmentTeam
=
3
AM4Q5VACM
;
};
};
};
...
...
@@ -552,9 +565,10 @@
2949BABD1CD2EFA00049385A
/* InformationTableViewCell.m in Sources */
,
29706DB21CD082990003C412
/* Lighting.xcdatamodeld in Sources */
,
2962D0811CD1E6010058829D
/* UIView+Frame.m in Sources */
,
0447085E1CD7C06B00555827
/* LoginViewController.m in Sources */
,
2928F83B1CD0A0CE0036D761
/* CustomTabbarController.m in Sources */
,
293393591CD3563C000D997B
/* CustomerdetailsController.m in Sources */
,
2928F8241CD09B2C0036D761
/* Login
ViewController.m in Sources */
,
044708611CD7C1E800555827
/* MainSet
ViewController.m in Sources */
,
2962D06D1CD1A43A0058829D
/* ClientViewController.m in Sources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -599,8 +613,8 @@
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_UNREACHABLE_CODE
=
YES
;
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: Minglong Hu (TR9LJDJBFT)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: Minglong Hu (TR9LJDJBFT)
"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
COPY_PHASE_STRIP
=
NO
;
DEBUG_INFORMATION_FORMAT
=
dwarf
;
ENABLE_STRICT_OBJC_MSGSEND
=
YES
;
...
...
@@ -622,7 +636,7 @@
IPHONEOS_DEPLOYMENT_TARGET
=
9.3
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
""
;
SDKROOT
=
iphoneos
;
TARGETED_DEVICE_FAMILY
=
2
;
};
...
...
@@ -646,8 +660,8 @@
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_UNREACHABLE_CODE
=
YES
;
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: Minglong Hu (TR9LJDJBFT)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: Minglong Hu (TR9LJDJBFT)
"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
COPY_PHASE_STRIP
=
NO
;
DEBUG_INFORMATION_FORMAT
=
"dwarf-with-dsym"
;
ENABLE_NS_ASSERTIONS
=
NO
;
...
...
@@ -662,7 +676,7 @@
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.3
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
""
;
SDKROOT
=
iphoneos
;
TARGETED_DEVICE_FAMILY
=
2
;
VALIDATE_PRODUCT
=
YES
;
...
...
@@ -711,9 +725,8 @@
"-framework"
,
"\"UIKit\""
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.
Lighting.cn
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
cntaiping.life.text
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
};
...
...
@@ -725,10 +738,8 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME
=
"Brand Assets"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
GCC_PRECOMPILE_PREFIX_HEADER
=
YES
;
GCC_PREFIX_HEADER
=
"$(SRCROOT)/Tools/PrefixHeader.pch"
;
INFOPLIST_FILE
=
Lighting/Info.plist
;
...
...
@@ -763,9 +774,8 @@
"-framework"
,
"\"UIKit\""
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.
Lighting.cn
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
cntaiping.life.text
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
USER_HEADER_SEARCH_PATHS
=
"$(PODS_ROOT)/**"
;
};
...
...
Lighting/Lighting/Base.lproj/Main.storyboard
View file @
4ea4eaca
...
...
@@ -12,10 +12,6 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"507"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"CQr-RC-S14"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"507"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
</imageView>
<view
contentMode=
"scaleToFill"
id=
"4F7-r1-Ukj"
>
<rect
key=
"frame"
x=
"79"
y=
"228"
width=
"350"
height=
"311"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
...
...
@@ -35,13 +31,13 @@
<color
key=
"backgroundColor"
red=
"0.93725490196078431"
green=
"0.93725490196078431"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"请输入用户名"
textAlignment=
"natural"
minimumFontSize=
"17"
id=
"3P4-Yx-LJL"
>
<rect
key=
"frame"
x=
"15"
y=
"6
7.5
"
width=
"320"
height=
"40"
/>
<rect
key=
"frame"
x=
"15"
y=
"6
8
"
width=
"320"
height=
"40"
/>
<color
key=
"backgroundColor"
red=
"0.93725490196078431"
green=
"0.93725490196078431"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"请输入密码"
textAlignment=
"natural"
minimumFontSize=
"17"
id=
"2FB-xf-XVJ"
>
<rect
key=
"frame"
x=
"15"
y=
"11
4.
5"
width=
"320"
height=
"40"
/>
<rect
key=
"frame"
x=
"15"
y=
"115"
width=
"320"
height=
"40"
/>
<color
key=
"backgroundColor"
red=
"0.93725490196078431"
green=
"0.93725490196078431"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
/>
...
...
@@ -53,7 +49,7 @@
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"gRP-i4-Dn9"
>
<rect
key=
"frame"
x=
"15"
y=
"21
8.5
"
width=
"320"
height=
"40"
/>
<rect
key=
"frame"
x=
"15"
y=
"21
9
"
width=
"320"
height=
"40"
/>
<color
key=
"backgroundColor"
red=
"0.56470588235294117"
green=
"0.75686274509803919"
blue=
"0.19607843137254902"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<state
key=
"normal"
title=
"登陆"
/>
<connections>
...
...
@@ -63,6 +59,10 @@
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</view>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"CQr-RC-S14"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"507"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
</imageView>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
</view>
...
...
Lighting/Lighting/Images.xcassets/business.imageset/Contents.json
0 → 100644
View file @
4ea4eaca
{
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"business.png"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"business@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
Lighting/Lighting/Images.xcassets/business.imageset/business.png
0 → 100644
View file @
4ea4eaca
1.04 KB
Lighting/Lighting/Images.xcassets/business.imageset/business@2x.png
0 → 100644
View file @
4ea4eaca
1.13 KB
Lighting/Lighting/Info.plist
View file @
4ea4eaca
...
...
@@ -2,16 +2,12 @@
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
d
i
c
t/
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
$
(
PRODUCT_BUNDLE_IDENTIFIER
)
<
/string
>
<
string
>
com.cntaiping.life.text
<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
...
...
@@ -26,6 +22,10 @@
<
string
>
1
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
d
i
c
t/
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
string
>
LaunchScreen
<
/string
>
<
k
e
y
>
UIMainStoryboardFile
<
/k
e
y
>
...
...
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
4ea4eaca
This diff is collapsed.
Click to expand it.
Lighting/Podfile.lock
View file @
4ea4eaca
...
...
@@ -40,7 +40,7 @@ DEPENDENCIES:
- AFNetworking (~> 3.1.0)
- IQKeyboardManager (~> 4.0.0)
- Masonry (~> 0.6.4)
- MBProgressHUD (~> 0.9.
1
)
- MBProgressHUD (~> 0.9.
2
)
- MJExtension (~> 3.0.10)
- MJRefresh (~> 3.1.0)
- MMDrawerController (~> 0.6.0)
...
...
Lighting/podfile
View file @
4ea4eaca
platform
:ios
,
'9.0'
pod
'MBProgressHUD'
,
'~> 0.9.
1
’
pod
'MBProgressHUD'
,
'~> 0.9.
2
’
pod '
SVProgressHUD
', '
~>
2.0
.
3
'
pod '
IQKeyboardManager
', '
~>
4.0
.
0
'
pod '
MMDrawerController
', '
~>
0.6
.
0
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment