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
1b9b7f5d
Commit
1b9b7f5d
authored
Apr 24, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.oschina.net/gomore/Opple-iOS
parents
ec2096e4
6f380d3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
145 additions
and
141 deletions
+145
-141
DiscussModuleViewController.m
...nsiveDiscussion/Controllers/DiscussModuleViewController.m
+1
-0
ForumItemDetailViewController.m
...iveDiscussion/Controllers/ForumItemDetailViewController.m
+3
-0
LearningCenter.storyboard
Lighting/LearningCenter.storyboard
+141
-141
No files found.
Class/LearningCenter/ComprehensiveDiscussion/Controllers/DiscussModuleViewController.m
View file @
1b9b7f5d
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
TOForumCategoryEntity
*
category
=
self
.
result
.
list
[
indexPath
.
row
];
TOForumCategoryEntity
*
category
=
self
.
result
.
list
[
indexPath
.
row
];
category
.
typeId
=
self
.
result
.
forumType
.
fid
;
category
.
typeId
=
self
.
result
.
forumType
.
fid
;
itemListVc
.
category
=
category
;
itemListVc
.
category
=
category
;
itemListVc
.
isPosting
=
[
category
.
name
isEqualToString
:
@"欧普问问"
]?
2
:
1
;
itemListVc
.
isPosting
=
[
category
.
name
isEqualToString
:
@"欧普问问"
]?
2
:
1
;
[
self
.
navigationController
pushViewController
:
itemListVc
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
itemListVc
animated
:
YES
];
}
}
...
...
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m
View file @
1b9b7f5d
...
@@ -201,6 +201,9 @@
...
@@ -201,6 +201,9 @@
[
self
.
issuerImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:
self
.
topicDetail
.
posterPicture
]
placeholderImage
:
CoustomerReplaceImage
];
[
self
.
issuerImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:
self
.
topicDetail
.
posterPicture
]
placeholderImage
:
CoustomerReplaceImage
];
self
.
issuerNameAndDateLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@: %@ %@"
,
self
.
topicDetail
.
posterPosition
,
self
.
topicDetail
.
posterRealName
,[
BaseViewController
formateDate
:
self
.
topicDetail
.
postTime
]];
self
.
issuerNameAndDateLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@: %@ %@"
,
self
.
topicDetail
.
posterPosition
,
self
.
topicDetail
.
posterRealName
,[
BaseViewController
formateDate
:
self
.
topicDetail
.
postTime
]];
}
}
}
-
(
void
)
viewDidLayoutSubviews
{
self
.
tableViewHeaderView
.
height
=
80
;
self
.
tableViewHeaderView
.
height
=
80
;
self
.
forumDetailTableView
.
tableHeaderView
=
self
.
tableViewHeaderView
;
self
.
forumDetailTableView
.
tableHeaderView
=
self
.
tableViewHeaderView
;
}
}
...
...
Lighting/LearningCenter.storyboard
View file @
1b9b7f5d
...
@@ -3035,11 +3035,146 @@
...
@@ -3035,11 +3035,146 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"768"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VVI-3L-WRk"
customClass=
"ForumDetailBottomView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"654"
width=
"1024"
height=
"114"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yrS-Rd-y6d"
>
<rect
key=
"frame"
x=
"0.0"
y=
"64"
width=
"1024"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yAy-gW-uWW"
>
<rect
key=
"frame"
x=
"30"
y=
"5"
width=
"894"
height=
"40"
/>
<subviews>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"发表评论"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1kQ-zq-QUc"
>
<rect
key=
"frame"
x=
"12"
y=
"5"
width=
"783"
height=
"30"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"KJP-Oc-QZ2"
/>
</constraints>
<nil
key=
"textColor"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
returnKeyType=
"send"
/>
<connections>
<outlet
property=
"delegate"
destination=
"VmI-Ft-Fno"
id=
"flh-Ah-DiF"
/>
</connections>
</textField>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"已有2条评论"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JpS-Ui-lUS"
>
<rect
key=
"frame"
x=
"815"
y=
"10"
width=
"69"
height=
"20"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"Bh6-tN-ekw"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"JpS-Ui-lUS"
secondAttribute=
"trailing"
constant=
"10"
id=
"bVq-lZ-Iip"
/>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"dty-v3-hTq"
/>
<constraint
firstItem=
"JpS-Ui-lUS"
firstAttribute=
"centerY"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"centerY"
id=
"k6x-T0-Hou"
/>
<constraint
firstItem=
"JpS-Ui-lUS"
firstAttribute=
"leading"
secondItem=
"1kQ-zq-QUc"
secondAttribute=
"trailing"
constant=
"20"
id=
"mzj-zX-n9L"
/>
<constraint
firstItem=
"1kQ-zq-QUc"
firstAttribute=
"centerY"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"centerY"
id=
"pq0-Bj-MAM"
/>
<constraint
firstItem=
"1kQ-zq-QUc"
firstAttribute=
"leading"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"leading"
constant=
"12"
id=
"ubp-EQ-glx"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hBK-cP-6nE"
>
<rect
key=
"frame"
x=
"954"
y=
"10"
width=
"30"
height=
"30"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"30"
id=
"NxS-I1-2qD"
/>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"ajY-I2-Qjn"
/>
</constraints>
<state
key=
"normal"
backgroundImage=
"praise"
/>
<state
key=
"selected"
backgroundImage=
"praised"
/>
<connections>
<action
selector=
"praiseButtonClickAction:"
destination=
"VmI-Ft-Fno"
eventType=
"touchUpInside"
id=
"dUj-uu-O5t"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
fixedFrame=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3Aj-de-1WD"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"1"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.92941176470588238"
green=
"0.93333333333333335"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"hBK-cP-6nE"
firstAttribute=
"centerY"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"centerY"
id=
"Bga-dJ-3M8"
/>
<constraint
firstItem=
"hBK-cP-6nE"
firstAttribute=
"leading"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"trailing"
constant=
"30"
id=
"Euk-I2-3uk"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"hBK-cP-6nE"
secondAttribute=
"trailing"
constant=
"40"
id=
"OTT-8h-nBv"
/>
<constraint
firstItem=
"yAy-gW-uWW"
firstAttribute=
"centerY"
secondItem=
"hBK-cP-6nE"
secondAttribute=
"centerY"
id=
"bVB-Eo-o1W"
/>
<constraint
firstItem=
"yAy-gW-uWW"
firstAttribute=
"leading"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"leading"
constant=
"30"
id=
"qrb-hT-6jN"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"zF6-Rn-nHd"
/>
</constraints>
</view>
<collectionView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
dataMode=
"prototypes"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aA9-3s-jqC"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"64"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<collectionViewFlowLayout
key=
"collectionViewLayout"
minimumLineSpacing=
"10"
minimumInteritemSpacing=
"10"
id=
"inV-cH-QhI"
>
<size
key=
"itemSize"
width=
"71"
height=
"65"
/>
<size
key=
"headerReferenceSize"
width=
"0.0"
height=
"0.0"
/>
<size
key=
"footerReferenceSize"
width=
"0.0"
height=
"0.0"
/>
<inset
key=
"sectionInset"
minX=
"0.0"
minY=
"0.0"
maxX=
"0.0"
maxY=
"0.0"
/>
</collectionViewFlowLayout>
<cells>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"ForumDetailBottomPictureCell"
id=
"9bN-6m-mlo"
customClass=
"ForumDetailBottomPictureCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"71"
height=
"65"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"71"
height=
"65"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"StudyGuides"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"w3s-83-cgV"
>
<rect
key=
"frame"
x=
"8"
y=
"8"
width=
"55"
height=
"49"
/>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"J04-qa-jL1"
>
<rect
key=
"frame"
x=
"54"
y=
"1"
width=
"16"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"0zb-kX-HKh"
/>
<constraint
firstAttribute=
"width"
constant=
"16"
id=
"LGw-yz-E7y"
/>
</constraints>
<state
key=
"normal"
image=
"img_delete_icon"
/>
<connections>
<action
selector=
"actionDelete:"
destination=
"9bN-6m-mlo"
eventType=
"touchUpInside"
id=
"BSU-EN-Zr7"
/>
</connections>
</button>
</subviews>
</view>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"w3s-83-cgV"
secondAttribute=
"bottom"
constant=
"8"
id=
"0JU-Qz-P5e"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"w3s-83-cgV"
secondAttribute=
"trailing"
constant=
"8"
id=
"34K-eZ-JWk"
/>
<constraint
firstItem=
"J04-qa-jL1"
firstAttribute=
"leading"
secondItem=
"w3s-83-cgV"
secondAttribute=
"trailing"
constant=
"-9"
id=
"L2y-AS-pCN"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"top"
secondItem=
"9bN-6m-mlo"
secondAttribute=
"top"
constant=
"8"
id=
"kZQ-fv-lbn"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"leading"
secondItem=
"9bN-6m-mlo"
secondAttribute=
"leading"
constant=
"8"
id=
"oz8-IF-H5O"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"top"
secondItem=
"J04-qa-jL1"
secondAttribute=
"bottom"
constant=
"-9"
id=
"tDE-3x-PYB"
/>
</constraints>
<connections>
<outlet
property=
"imageView"
destination=
"w3s-83-cgV"
id=
"qgl-CS-IoV"
/>
</connections>
</collectionViewCell>
</cells>
</collectionView>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"4xB-Ow-yNR"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"bottom"
id=
"587-FP-JCM"
/>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"7xJ-jJ-TC6"
/>
<constraint
firstItem=
"aA9-3s-jqC"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"Nrg-kz-MFP"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"trailing"
id=
"ZEK-Ox-XKk"
/>
<constraint
firstAttribute=
"height"
constant=
"114"
id=
"iEu-K9-MY2"
/>
<constraint
firstItem=
"aA9-3s-jqC"
firstAttribute=
"top"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"top"
id=
"kFY-33-FZf"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"trailing"
id=
"mIs-4N-005"
/>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"top"
secondItem=
"aA9-3s-jqC"
secondAttribute=
"bottom"
id=
"xnj-9V-b5X"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"aA9-3s-jqC"
secondAttribute=
"trailing"
id=
"yrj-6w-zA2"
/>
</constraints>
<connections>
<outlet
property=
"collectionView"
destination=
"aA9-3s-jqC"
id=
"Vc0-wS-4Cb"
/>
<outlet
property=
"layout"
destination=
"inV-cH-QhI"
id=
"NUO-tb-bhG"
/>
<outlet
property=
"layoutHeight"
destination=
"iEu-K9-MY2"
id=
"o8C-RA-YeR"
/>
</connections>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
dataMode=
"prototypes"
style=
"plain"
separatorStyle=
"none"
rowHeight=
"304"
sectionHeaderHeight=
"1"
sectionFooterHeight=
"1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"TVZ-eo-sh6"
>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
dataMode=
"prototypes"
style=
"plain"
separatorStyle=
"none"
rowHeight=
"304"
sectionHeaderHeight=
"1"
sectionFooterHeight=
"1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"TVZ-eo-sh6"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"1024"
height=
"610"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"1024"
height=
"610"
/>
<color
key=
"backgroundColor"
red=
"0.96078431372549022"
green=
"0.97647058823529409"
blue=
"0.98039215686274506"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.96078431372549022"
green=
"0.97647058823529409"
blue=
"0.98039215686274506"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<view
key=
"tableHeaderView"
contentMode=
"scaleToFill"
id=
"sYW-Jc-Fde"
>
<view
key=
"tableHeaderView"
contentMode=
"scaleToFill"
id=
"sYW-Jc-Fde"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"6"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"
20
6"
/>
<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=
"00登录-谭"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"v3R-bc-vx5"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"00登录-谭"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"v3R-bc-vx5"
>
...
@@ -3049,14 +3184,14 @@
...
@@ -3049,14 +3184,14 @@
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"lGg-wt-ncu"
/>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"lGg-wt-ncu"
/>
</constraints>
</constraints>
</imageView>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gWN-DJ-u26"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gWN-DJ-u26"
>
<rect
key=
"frame"
x=
"75"
y=
"12"
width=
"
0.0"
height=
"0.0
"
/>
<rect
key=
"frame"
x=
"75"
y=
"12"
width=
"
18"
height=
"20.5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Se9-GU-LNv"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Se9-GU-LNv"
>
<rect
key=
"frame"
x=
"75"
y=
"
52"
width=
"0.0"
height=
"0.0
"
/>
<rect
key=
"frame"
x=
"75"
y=
"
37.5"
width=
"14"
height=
"14.5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -3112,7 +3247,7 @@
...
@@ -3112,7 +3247,7 @@
</view>
</view>
<prototypes>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"CommentListTableViewCell"
rowHeight=
"304"
id=
"sX2-jy-tQ2"
customClass=
"CommentListTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"CommentListTableViewCell"
rowHeight=
"304"
id=
"sX2-jy-tQ2"
customClass=
"CommentListTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"7"
width=
"1024"
height=
"304"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
20
7"
width=
"1024"
height=
"304"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"sX2-jy-tQ2"
id=
"iVT-bi-RKr"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"sX2-jy-tQ2"
id=
"iVT-bi-RKr"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"304"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"304"
/>
...
@@ -3240,141 +3375,6 @@
...
@@ -3240,141 +3375,6 @@
<outlet
property=
"delegate"
destination=
"VmI-Ft-Fno"
id=
"akQ-Rt-C43"
/>
<outlet
property=
"delegate"
destination=
"VmI-Ft-Fno"
id=
"akQ-Rt-C43"
/>
</connections>
</connections>
</tableView>
</tableView>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VVI-3L-WRk"
customClass=
"ForumDetailBottomView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"654"
width=
"1024"
height=
"114"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yrS-Rd-y6d"
>
<rect
key=
"frame"
x=
"0.0"
y=
"64"
width=
"1024"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yAy-gW-uWW"
>
<rect
key=
"frame"
x=
"30"
y=
"5"
width=
"894"
height=
"40"
/>
<subviews>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"发表评论"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1kQ-zq-QUc"
>
<rect
key=
"frame"
x=
"12"
y=
"5"
width=
"783"
height=
"30"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"KJP-Oc-QZ2"
/>
</constraints>
<nil
key=
"textColor"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
returnKeyType=
"send"
/>
<connections>
<outlet
property=
"delegate"
destination=
"VmI-Ft-Fno"
id=
"flh-Ah-DiF"
/>
</connections>
</textField>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"已有2条评论"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JpS-Ui-lUS"
>
<rect
key=
"frame"
x=
"815"
y=
"10"
width=
"69"
height=
"20"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"Bh6-tN-ekw"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"JpS-Ui-lUS"
secondAttribute=
"trailing"
constant=
"10"
id=
"bVq-lZ-Iip"
/>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"dty-v3-hTq"
/>
<constraint
firstItem=
"JpS-Ui-lUS"
firstAttribute=
"centerY"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"centerY"
id=
"k6x-T0-Hou"
/>
<constraint
firstItem=
"JpS-Ui-lUS"
firstAttribute=
"leading"
secondItem=
"1kQ-zq-QUc"
secondAttribute=
"trailing"
constant=
"20"
id=
"mzj-zX-n9L"
/>
<constraint
firstItem=
"1kQ-zq-QUc"
firstAttribute=
"centerY"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"centerY"
id=
"pq0-Bj-MAM"
/>
<constraint
firstItem=
"1kQ-zq-QUc"
firstAttribute=
"leading"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"leading"
constant=
"12"
id=
"ubp-EQ-glx"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hBK-cP-6nE"
>
<rect
key=
"frame"
x=
"954"
y=
"10"
width=
"30"
height=
"30"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"30"
id=
"NxS-I1-2qD"
/>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"ajY-I2-Qjn"
/>
</constraints>
<state
key=
"normal"
backgroundImage=
"praise"
/>
<state
key=
"selected"
backgroundImage=
"praised"
/>
<connections>
<action
selector=
"praiseButtonClickAction:"
destination=
"VmI-Ft-Fno"
eventType=
"touchUpInside"
id=
"dUj-uu-O5t"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
fixedFrame=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3Aj-de-1WD"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"1"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.92941176470588238"
green=
"0.93333333333333335"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"hBK-cP-6nE"
firstAttribute=
"centerY"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"centerY"
id=
"Bga-dJ-3M8"
/>
<constraint
firstItem=
"hBK-cP-6nE"
firstAttribute=
"leading"
secondItem=
"yAy-gW-uWW"
secondAttribute=
"trailing"
constant=
"30"
id=
"Euk-I2-3uk"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"hBK-cP-6nE"
secondAttribute=
"trailing"
constant=
"40"
id=
"OTT-8h-nBv"
/>
<constraint
firstItem=
"yAy-gW-uWW"
firstAttribute=
"centerY"
secondItem=
"hBK-cP-6nE"
secondAttribute=
"centerY"
id=
"bVB-Eo-o1W"
/>
<constraint
firstItem=
"yAy-gW-uWW"
firstAttribute=
"leading"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"leading"
constant=
"30"
id=
"qrb-hT-6jN"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"zF6-Rn-nHd"
/>
</constraints>
</view>
<collectionView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
dataMode=
"prototypes"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aA9-3s-jqC"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"64"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<collectionViewFlowLayout
key=
"collectionViewLayout"
minimumLineSpacing=
"10"
minimumInteritemSpacing=
"10"
id=
"inV-cH-QhI"
>
<size
key=
"itemSize"
width=
"71"
height=
"65"
/>
<size
key=
"headerReferenceSize"
width=
"0.0"
height=
"0.0"
/>
<size
key=
"footerReferenceSize"
width=
"0.0"
height=
"0.0"
/>
<inset
key=
"sectionInset"
minX=
"0.0"
minY=
"0.0"
maxX=
"0.0"
maxY=
"0.0"
/>
</collectionViewFlowLayout>
<cells>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"ForumDetailBottomPictureCell"
id=
"9bN-6m-mlo"
customClass=
"ForumDetailBottomPictureCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"71"
height=
"65"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"71"
height=
"65"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"StudyGuides"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"w3s-83-cgV"
>
<rect
key=
"frame"
x=
"8"
y=
"8"
width=
"55"
height=
"49"
/>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"J04-qa-jL1"
>
<rect
key=
"frame"
x=
"54"
y=
"1"
width=
"16"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"0zb-kX-HKh"
/>
<constraint
firstAttribute=
"width"
constant=
"16"
id=
"LGw-yz-E7y"
/>
</constraints>
<state
key=
"normal"
image=
"img_delete_icon"
/>
<connections>
<action
selector=
"actionDelete:"
destination=
"9bN-6m-mlo"
eventType=
"touchUpInside"
id=
"BSU-EN-Zr7"
/>
</connections>
</button>
</subviews>
</view>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"w3s-83-cgV"
secondAttribute=
"bottom"
constant=
"8"
id=
"0JU-Qz-P5e"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"w3s-83-cgV"
secondAttribute=
"trailing"
constant=
"8"
id=
"34K-eZ-JWk"
/>
<constraint
firstItem=
"J04-qa-jL1"
firstAttribute=
"leading"
secondItem=
"w3s-83-cgV"
secondAttribute=
"trailing"
constant=
"-9"
id=
"L2y-AS-pCN"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"top"
secondItem=
"9bN-6m-mlo"
secondAttribute=
"top"
constant=
"8"
id=
"kZQ-fv-lbn"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"leading"
secondItem=
"9bN-6m-mlo"
secondAttribute=
"leading"
constant=
"8"
id=
"oz8-IF-H5O"
/>
<constraint
firstItem=
"w3s-83-cgV"
firstAttribute=
"top"
secondItem=
"J04-qa-jL1"
secondAttribute=
"bottom"
constant=
"-9"
id=
"tDE-3x-PYB"
/>
</constraints>
<connections>
<outlet
property=
"imageView"
destination=
"w3s-83-cgV"
id=
"qgl-CS-IoV"
/>
</connections>
</collectionViewCell>
</cells>
</collectionView>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"4xB-Ow-yNR"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"bottom"
id=
"587-FP-JCM"
/>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"7xJ-jJ-TC6"
/>
<constraint
firstItem=
"aA9-3s-jqC"
firstAttribute=
"leading"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"leading"
id=
"Nrg-kz-MFP"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"trailing"
id=
"ZEK-Ox-XKk"
/>
<constraint
firstAttribute=
"height"
constant=
"114"
id=
"iEu-K9-MY2"
/>
<constraint
firstItem=
"aA9-3s-jqC"
firstAttribute=
"top"
secondItem=
"VVI-3L-WRk"
secondAttribute=
"top"
id=
"kFY-33-FZf"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yrS-Rd-y6d"
secondAttribute=
"trailing"
id=
"mIs-4N-005"
/>
<constraint
firstItem=
"yrS-Rd-y6d"
firstAttribute=
"top"
secondItem=
"aA9-3s-jqC"
secondAttribute=
"bottom"
id=
"xnj-9V-b5X"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"aA9-3s-jqC"
secondAttribute=
"trailing"
id=
"yrj-6w-zA2"
/>
</constraints>
<connections>
<outlet
property=
"collectionView"
destination=
"aA9-3s-jqC"
id=
"Vc0-wS-4Cb"
/>
<outlet
property=
"layout"
destination=
"inV-cH-QhI"
id=
"NUO-tb-bhG"
/>
<outlet
property=
"layoutHeight"
destination=
"iEu-K9-MY2"
id=
"o8C-RA-YeR"
/>
</connections>
</view>
</subviews>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<constraints>
<constraints>
...
...
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