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
c302cfb9
Commit
c302cfb9
authored
May 03, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caoyunxiao
parent
9265a439
Expand all
Show 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 @
c302cfb9
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
[
self
.
drawerController
setMaximumRightDrawerWidth
:
RightWidth
];
[
self
.
drawerController
setMaximumRightDrawerWidth
:
RightWidth
];
[
self
.
drawerController
setOpenDrawerGestureModeMask
:
MMOpenDrawerGestureModeAll
];
[
self
.
drawerController
setOpenDrawerGestureModeMask
:
MMOpenDrawerGestureModeAll
];
[
self
.
drawerController
setCloseDrawerGestureModeMask
:
MMCloseDrawerGestureModeAll
];
[
self
.
drawerController
setCloseDrawerGestureModeMask
:
MMCloseDrawerGestureModeAll
];
SHARED_APPDELEGATE
.
mmdrawer
=
self
.
drawerController
;
SHARED_APPDELEGATE
.
window
.
rootViewController
=
self
.
drawerController
;
SHARED_APPDELEGATE
.
window
.
rootViewController
=
self
.
drawerController
;
}
}
...
...
Lighting/Class/Tabbar/CustomTabbarController.m
View file @
c302cfb9
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#import "CustomTabbarController.h"
#import "CustomTabbarController.h"
#import "Toolview.h"
#import "Toolview.h"
#import "AppDelegate.h"
@interface
CustomTabbarController
()
<
TabbarButtonClickdelegate
>
@interface
CustomTabbarController
()
<
TabbarButtonClickdelegate
>
...
@@ -78,13 +79,31 @@
...
@@ -78,13 +79,31 @@
#pragma amrk -TabbarButtonClickdelegate代理
#pragma amrk -TabbarButtonClickdelegate代理
-
(
void
)
ButtonClickAction
:
(
NSInteger
)
Buttontag
-
(
void
)
ButtonClickAction
:
(
NSInteger
)
Buttontag
{
{
if
(
Buttontag
==
101
)
{
switch
(
Buttontag
)
{
//
case
100
:
[
SHARED_APPDELEGATE
.
mmdrawer
toggleDrawerSide
:
MMDrawerSideRight
animated
:
YES
completion
:
nil
];
break
;
case
101
:
break
;
case
102
:
self
.
selectedIndex
=
0
;
self
.
selectedIndex
=
0
;
}
else
if
(
Buttontag
==
102
){
break
;
case
103
:
self
.
selectedIndex
=
1
;
self
.
selectedIndex
=
1
;
break
;
default
:
break
;
}
}
}
}
...
...
Lighting/Class/Tabbar/Toolview.m
View file @
c302cfb9
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
[
self
addSubview
:
button
];
[
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
)];
self
.
underlineView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
button
.
frame
.
origin
.
x
+
(
ButtonWIDTH
-
50
)
/
2
,
ButtonRIGHT
+
9
,
50
,
1
)];
_underlineView
.
backgroundColor
=
[
UIColor
redColor
];
_underlineView
.
backgroundColor
=
[
UIColor
redColor
];
...
...
Lighting/Lighting.xcodeproj/project.pbxproj
View file @
c302cfb9
...
@@ -452,7 +452,6 @@
...
@@ -452,7 +452,6 @@
TargetAttributes
=
{
TargetAttributes
=
{
29706DA01CD082980003C412
=
{
29706DA01CD082980003C412
=
{
CreatedOnToolsVersion
=
7.3
;
CreatedOnToolsVersion
=
7.3
;
DevelopmentTeam
=
3AM4Q5VACM
;
};
};
};
};
};
};
...
...
Lighting/Lighting/Base.lproj/Main.storyboard
View file @
c302cfb9
...
@@ -12,6 +12,10 @@
...
@@ -12,6 +12,10 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"507"
height=
"768"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"507"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<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"
>
<view
contentMode=
"scaleToFill"
id=
"4F7-r1-Ukj"
>
<rect
key=
"frame"
x=
"79"
y=
"228"
width=
"350"
height=
"311"
/>
<rect
key=
"frame"
x=
"79"
y=
"228"
width=
"350"
height=
"311"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
...
@@ -59,10 +63,6 @@
...
@@ -59,10 +63,6 @@
</subviews>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</view>
</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>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
</view>
</view>
...
...
Lighting/Lighting/Info.plist
View file @
c302cfb9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
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
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
...
...
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
c302cfb9
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