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
c9ba2e79
Commit
c9ba2e79
authored
May 03, 2016
by
zhu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.oschina.net/gomore/Opple-iOS
parents
07d5f2e6
c302cfb9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
30 deletions
+49
-30
LoginViewController.m
Lighting/Class/Login/LoginViewController.m
+1
-0
CustomTabbarController.m
Lighting/Class/Tabbar/CustomTabbarController.m
+26
-7
Toolview.m
Lighting/Class/Tabbar/Toolview.m
+1
-1
project.pbxproj
Lighting/Lighting.xcodeproj/project.pbxproj
+0
-1
Main.storyboard
Lighting/Lighting/Base.lproj/Main.storyboard
+4
-4
Info.plist
Lighting/Lighting/Info.plist
+1
-1
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+16
-16
No files found.
Lighting/Class/Login/LoginViewController.m
View file @
c9ba2e79
...
...
@@ -33,6 +33,7 @@
[
self
.
drawerController
setMaximumRightDrawerWidth
:
RightWidth
];
[
self
.
drawerController
setOpenDrawerGestureModeMask
:
MMOpenDrawerGestureModeAll
];
[
self
.
drawerController
setCloseDrawerGestureModeMask
:
MMCloseDrawerGestureModeAll
];
SHARED_APPDELEGATE
.
mmdrawer
=
self
.
drawerController
;
SHARED_APPDELEGATE
.
window
.
rootViewController
=
self
.
drawerController
;
}
...
...
Lighting/Class/Tabbar/CustomTabbarController.m
View file @
c9ba2e79
...
...
@@ -9,6 +9,7 @@
#import "CustomTabbarController.h"
#import "Toolview.h"
#import "AppDelegate.h"
@interface
CustomTabbarController
()
<
TabbarButtonClickdelegate
>
...
...
@@ -78,13 +79,31 @@
#pragma amrk -TabbarButtonClickdelegate代理
-
(
void
)
ButtonClickAction
:
(
NSInteger
)
Buttontag
{
if
(
Buttontag
==
101
)
{
self
.
selectedIndex
=
0
;
}
else
if
(
Buttontag
==
102
){
self
.
selectedIndex
=
1
;
switch
(
Buttontag
)
{
//
case
100
:
[
SHARED_APPDELEGATE
.
mmdrawer
toggleDrawerSide
:
MMDrawerSideRight
animated
:
YES
completion
:
nil
];
break
;
case
101
:
break
;
case
102
:
self
.
selectedIndex
=
0
;
break
;
case
103
:
self
.
selectedIndex
=
1
;
break
;
default
:
break
;
}
}
...
...
Lighting/Class/Tabbar/Toolview.m
View file @
c9ba2e79
...
...
@@ -75,7 +75,7 @@
[
self
addSubview
:
button
];
//创建下划线
if
(
i
==
2
)
{
if
(
i
==
3
)
{
self
.
underlineView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
button
.
frame
.
origin
.
x
+
(
ButtonWIDTH
-
50
)
/
2
,
ButtonRIGHT
+
9
,
50
,
1
)];
_underlineView
.
backgroundColor
=
[
UIColor
redColor
];
...
...
Lighting/Lighting.xcodeproj/project.pbxproj
View file @
c9ba2e79
...
...
@@ -452,7 +452,6 @@
TargetAttributes
=
{
29706DA01CD082980003C412
=
{
CreatedOnToolsVersion
=
7.3
;
DevelopmentTeam
=
3AM4Q5VACM
;
};
};
};
...
...
Lighting/Lighting/Base.lproj/Main.storyboard
View file @
c9ba2e79
...
...
@@ -12,6 +12,10 @@
<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"
/>
...
...
@@ -59,10 +63,6 @@
</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/Info.plist
View file @
c9ba2e79
...
...
@@ -7,7 +7,7 @@
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
com.cntaiping.life.text
<
/string
>
<
string
>
$
(
PRODUCT_BUNDLE_IDENTIFIER
)
<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
...
...
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
c9ba2e79
This diff is collapsed.
Click to expand it.
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