Commit 945455e2282d3e3fe0923231c7ec6072476ce688
1 parent
de03fc31
Exists in
newLive
no message
Showing
6 changed files
with
80 additions
and
1044 deletions
Show diff stats
YouerLiveVideo/YouerLiveVideo.xcodeproj/project.pbxproj
| ... | ... | @@ -164,7 +164,6 @@ |
| 164 | 164 | BFBB83D71ECC4446008B404B /* PassWordView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BFBB83D51ECC4446008B404B /* PassWordView.xib */; }; |
| 165 | 165 | BFBB83E31ECC445D008B404B /* User.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BFBB83D91ECC445D008B404B /* User.storyboard */; }; |
| 166 | 166 | BFBB83E61ECC445D008B404B /* LoginViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBB83DD1ECC445D008B404B /* LoginViewController.swift */; }; |
| 167 | - BFBB83E81ECC445D008B404B /* PersonalSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBB83DF1ECC445D008B404B /* PersonalSettingViewController.swift */; }; | |
| 168 | 167 | BFBB83E91ECC445D008B404B /* RegisterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBB83E01ECC445D008B404B /* RegisterViewController.swift */; }; |
| 169 | 168 | BFBB83EA1ECC445D008B404B /* User.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BFBB83E11ECC445D008B404B /* User.storyboard */; }; |
| 170 | 169 | BFBB83EB1ECC445D008B404B /* UserViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBB83E21ECC445D008B404B /* UserViewController.swift */; }; |
| ... | ... | @@ -502,7 +501,6 @@ |
| 502 | 501 | BFBB83D51ECC4446008B404B /* PassWordView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PassWordView.xib; sourceTree = "<group>"; }; |
| 503 | 502 | BFBB83D91ECC445D008B404B /* User.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = User.storyboard; sourceTree = "<group>"; }; |
| 504 | 503 | BFBB83DD1ECC445D008B404B /* LoginViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoginViewController.swift; sourceTree = "<group>"; }; |
| 505 | - BFBB83DF1ECC445D008B404B /* PersonalSettingViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersonalSettingViewController.swift; sourceTree = "<group>"; }; | |
| 506 | 504 | BFBB83E01ECC445D008B404B /* RegisterViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RegisterViewController.swift; sourceTree = "<group>"; }; |
| 507 | 505 | BFBB83E11ECC445D008B404B /* User.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = User.storyboard; sourceTree = "<group>"; }; |
| 508 | 506 | BFBB83E21ECC445D008B404B /* UserViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserViewController.swift; sourceTree = "<group>"; }; |
| ... | ... | @@ -1165,7 +1163,6 @@ |
| 1165 | 1163 | isa = PBXGroup; |
| 1166 | 1164 | children = ( |
| 1167 | 1165 | BFBB83DD1ECC445D008B404B /* LoginViewController.swift */, |
| 1168 | - BFBB83DF1ECC445D008B404B /* PersonalSettingViewController.swift */, | |
| 1169 | 1166 | BFBB83E01ECC445D008B404B /* RegisterViewController.swift */, |
| 1170 | 1167 | BFBB83E11ECC445D008B404B /* User.storyboard */, |
| 1171 | 1168 | ); |
| ... | ... | @@ -1478,7 +1475,6 @@ |
| 1478 | 1475 | 59C25B491ECAD643009FF276 /* MoreTVStationViewController.swift in Sources */, |
| 1479 | 1476 | 5904FC511ECA8B8C00E631FF /* TVStationViewController.swift in Sources */, |
| 1480 | 1477 | BFBB83D31ECBEB4E008B404B /* JYScrollView.m in Sources */, |
| 1481 | - BFBB83E81ECC445D008B404B /* PersonalSettingViewController.swift in Sources */, | |
| 1482 | 1478 | BF25E0081DDAA36A003EC0C1 /* UIView+WebCache.m in Sources */, |
| 1483 | 1479 | 5904FC5D1ECA8ED400E631FF /* HomePageViewController.swift in Sources */, |
| 1484 | 1480 | BFBB83A91ECAE35E008B404B /* LeadViewController.swift in Sources */, | ... | ... |
YouerLiveVideo/YouerLiveVideo.xcodeproj/xcuserdata/jun.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
| ... | ... | @@ -2,4 +2,22 @@ |
| 2 | 2 | <Bucket |
| 3 | 3 | type = "1" |
| 4 | 4 | version = "2.0"> |
| 5 | + <Breakpoints> | |
| 6 | + <BreakpointProxy | |
| 7 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
| 8 | + <BreakpointContent | |
| 9 | + shouldBeEnabled = "Yes" | |
| 10 | + ignoreCount = "0" | |
| 11 | + continueAfterRunningActions = "No" | |
| 12 | + filePath = "YouerLiveVideo/controllers/User/UserCenter/LoginViewController.swift" | |
| 13 | + timestampString = "516765107.692769" | |
| 14 | + startingColumnNumber = "9223372036854775807" | |
| 15 | + endingColumnNumber = "9223372036854775807" | |
| 16 | + startingLineNumber = "127" | |
| 17 | + endingLineNumber = "127" | |
| 18 | + landmarkName = "registerBtnClickAction(_:)" | |
| 19 | + landmarkType = "7"> | |
| 20 | + </BreakpointContent> | |
| 21 | + </BreakpointProxy> | |
| 22 | + </Breakpoints> | |
| 5 | 23 | </Bucket> | ... | ... |
YouerLiveVideo/YouerLiveVideo/controllers/User/UserCenter/PersonalSettingViewController.swift
| ... | ... | @@ -1,238 +0,0 @@ |
| 1 | -// | |
| 2 | -// PersonalSettingViewController.swift | |
| 3 | -// YouerLiveVideo | |
| 4 | -// | |
| 5 | -// Created by 左丞 on 16/11/12. | |
| 6 | -// Copyright © 2016年 左丞. All rights reserved. | |
| 7 | -// | |
| 8 | - | |
| 9 | -import UIKit | |
| 10 | - | |
| 11 | -class PersonalSettingViewController: UIViewController ,UITableViewDelegate,UITableViewDataSource,UINavigationControllerDelegate,UIImagePickerControllerDelegate{ | |
| 12 | - @IBOutlet weak var userSettingTableView: UITableView! | |
| 13 | - @IBOutlet var rightBarBtn: UIBarButtonItem! | |
| 14 | - @IBOutlet var loginoutBtn: UIButton! | |
| 15 | - var titleArr:[String] = ["头像","昵称","手机号(账号)"]//["头像","账号","昵称","性别"] | |
| 16 | - var user:Contact! | |
| 17 | - var isUserActivity:Bool=false | |
| 18 | - override func viewDidLoad() { | |
| 19 | - super.viewDidLoad() | |
| 20 | - user = Contact() | |
| 21 | - } | |
| 22 | - | |
| 23 | - override func didReceiveMemoryWarning() { | |
| 24 | - super.didReceiveMemoryWarning() | |
| 25 | - } | |
| 26 | - | |
| 27 | - func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | |
| 28 | - switch indexPath.row { | |
| 29 | - case 0: | |
| 30 | - let sheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) | |
| 31 | - sheet.addAction(UIAlertAction(title: "取消", style: .cancel, handler: nil)) | |
| 32 | - sheet.addAction(UIAlertAction(title: "拍照", style: .default, handler: { (action) in | |
| 33 | - if cameraOrPhotPermissions(1, view: self.view){ | |
| 34 | - let vc = UIImagePickerController() | |
| 35 | - vc.delegate = self | |
| 36 | - vc.sourceType = .camera | |
| 37 | - self.present(vc, animated: true, completion: nil) | |
| 38 | - }else{ | |
| 39 | - | |
| 40 | - } | |
| 41 | - self.userSettingTableView.reloadData() | |
| 42 | - })) | |
| 43 | - sheet.addAction(UIAlertAction(title: "从相册选择", style: .default, handler: { (action) in | |
| 44 | - if cameraOrPhotPermissions(1, view: self.view){ | |
| 45 | - let vc = UIImagePickerController() | |
| 46 | - vc.delegate = self | |
| 47 | - vc.sourceType = .photoLibrary | |
| 48 | - self.present(vc, animated: true, completion: nil) | |
| 49 | - }else{ | |
| 50 | - | |
| 51 | - } | |
| 52 | - self.userSettingTableView.reloadData() | |
| 53 | - })) | |
| 54 | - self.present(sheet, animated: true, completion: nil) | |
| 55 | - break | |
| 56 | - case 1: | |
| 57 | - let alert = UIAlertController(title: "修改昵称", message: "", preferredStyle: .alert) | |
| 58 | - alert.addAction(UIAlertAction(title: "确定", style: .default, handler: { (action) in | |
| 59 | - if alert.textFields![0].text == ""{ | |
| 60 | - return | |
| 61 | - } | |
| 62 | - if (alert.textFields![0].text?.characters.count)!>15{ | |
| 63 | - self.user.nickName = (alert.textFields![0].text! as NSString).substring(to: 15) | |
| 64 | - }else{ | |
| 65 | - self.user.nickName = alert.textFields![0].text | |
| 66 | - } | |
| 67 | - self.userSettingTableView.reloadData() | |
| 68 | - })) | |
| 69 | - alert.addAction(UIAlertAction(title: "取消", style: .default, handler: nil)) | |
| 70 | - alert.addTextField { (text) in | |
| 71 | - text.placeholder = "请输入昵称,且不能超过15个字符" | |
| 72 | - } | |
| 73 | - self.present(alert, animated: true, completion: nil) | |
| 74 | - break | |
| 75 | - case 3: | |
| 76 | - let sheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) | |
| 77 | - sheet.addAction(UIAlertAction(title: "取消", style: .cancel, handler: nil)) | |
| 78 | - sheet.addAction(UIAlertAction(title: "男", style: .default, handler: { (action) in | |
| 79 | - self.user.userSex = "男" | |
| 80 | - self.userSettingTableView.reloadData() | |
| 81 | - })) | |
| 82 | - sheet.addAction(UIAlertAction(title: "女", style: .default, handler: { (action) in | |
| 83 | - self.user.userSex = "女" | |
| 84 | - self.userSettingTableView.reloadData() | |
| 85 | - })) | |
| 86 | - self.present(sheet, animated: true, completion: nil) | |
| 87 | - break | |
| 88 | - default: | |
| 89 | - break | |
| 90 | - } | |
| 91 | - } | |
| 92 | - | |
| 93 | - | |
| 94 | - func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | |
| 95 | - return titleArr.count | |
| 96 | - } | |
| 97 | - | |
| 98 | - func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | |
| 99 | - return 44 | |
| 100 | - } | |
| 101 | - | |
| 102 | - func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | |
| 103 | - let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as! PersonalSettingCell | |
| 104 | - cell.nameTitleLabel.text = titleArr[indexPath.row] | |
| 105 | - cell.nameLabelRightSpace.constant = 8 | |
| 106 | - cell.imagePhoto.isHidden = true | |
| 107 | - cell.namelabel.isHidden = false | |
| 108 | - cell.rightArrow.isHidden = false | |
| 109 | - cell.isUserInteractionEnabled = true | |
| 110 | - if isUserActivity { | |
| 111 | - cell.isUserInteractionEnabled=true | |
| 112 | - }else{ | |
| 113 | - cell.isUserInteractionEnabled=false | |
| 114 | - } | |
| 115 | - switch indexPath.row { | |
| 116 | - case 0: | |
| 117 | - cell.imagePhoto.isHidden = false | |
| 118 | - cell.namelabel.isHidden = true | |
| 119 | - cell.imagePhoto.sd_setImage(with: URL(string: user.imageURL), placeholderImage: UIImage(named: "defphoto")) | |
| 120 | - break | |
| 121 | - case 1: | |
| 122 | - cell.namelabel.text = user.nickName//AppDelegate.instance().accountManager.name() | |
| 123 | - break | |
| 124 | - case 2: | |
| 125 | - cell.nameLabelRightSpace.constant = -10 | |
| 126 | - cell.rightArrow.isHidden = true | |
| 127 | - cell.isUserInteractionEnabled = false | |
| 128 | - cell.namelabel.text = user.userId//AppDelegate.instance().accountManager.phone() | |
| 129 | - break | |
| 130 | - case 3: | |
| 131 | - cell.namelabel.text = user.userSex | |
| 132 | - break | |
| 133 | - | |
| 134 | - default: | |
| 135 | - break | |
| 136 | - } | |
| 137 | - return cell | |
| 138 | - } | |
| 139 | - | |
| 140 | - func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) { | |
| 141 | - picker.dismiss(animated: true, completion: { () -> Void in | |
| 142 | - var oimage = info[UIImagePickerControllerOriginalImage] as? UIImage | |
| 143 | - oimage = oimage!.imageScaledToScale() | |
| 144 | - let filePath=FilesManager.imageFilePath(String(format:"%f.jpg",Date().timeIntervalSince1970)) | |
| 145 | - try? UIImageJPEGRepresentation(oimage!,0.5)!.write(to: URL(fileURLWithPath: filePath), options: [.atomic]) | |
| 146 | - self.updateImage(file: filePath) | |
| 147 | - }) | |
| 148 | - } | |
| 149 | - func updateImage(file:String){ | |
| 150 | - SVProgressHUD.show(withStatus: "图片上传中...") | |
| 151 | - SVProgressHUD.setDefaultMaskType(.black) | |
| 152 | - AppDelegate.instance().httpServer.uploadFile(file: NSURL(fileURLWithPath: file)) { (str, error) in | |
| 153 | - SVProgressHUD.dismiss() | |
| 154 | - httpJsonResule(jsonString: str, error: error, successHandler: { (json) in | |
| 155 | - let str=json.contentData().arrayValue[0].stringValue | |
| 156 | - self.user.imageURL=str | |
| 157 | - }, failHandler: { (error) in | |
| 158 | - self.user.imageURL="" | |
| 159 | - self.view.makeToast("图片上传失败:\(error.localizedDescription)") | |
| 160 | - }) | |
| 161 | - self.userSettingTableView.reloadData() | |
| 162 | - } | |
| 163 | - } | |
| 164 | - // MARK: - 退出登录按钮点击事件 | |
| 165 | - @IBAction func ExsitBtnClickAction(_ sender: Any) { | |
| 166 | - AppDelegate.instance().accountManager.logOut() | |
| 167 | - } | |
| 168 | - // MARK: - 完成按钮点击事件 | |
| 169 | - @IBAction func finishAction(_ sender: UIBarButtonItem) { | |
| 170 | - if isUserActivity { | |
| 171 | - //需要新的接口来修改个人信息 | |
| 172 | - SVProgressHUD.show(withStatus: "修改个人信息...") | |
| 173 | - SVProgressHUD.setDefaultMaskType(.black) | |
| 174 | - let parameters:Dictionary<String,AnyObject>=["f_RealName":self.user.nickName as AnyObject,"f_HeadIcon":self.user.imageURL as AnyObject] | |
| 175 | - AppDelegate.instance().httpServer.updataUserInfo(parameters: parameters, completionHandler: { (str, error) in | |
| 176 | - SVProgressHUD.dismiss() | |
| 177 | - if error==nil { | |
| 178 | - if JSON.fromString(jsonString: str)!["status"].intValue == 1{ | |
| 179 | - //把账号信息存储下来,暂时这样修改。若以后个人信息中有其他元素,需加新的接口来更新个人信息。 | |
| 180 | - // var dic=Setting.getUserInfo()?.dictionaryValue["data"]?.dictionaryObject | |
| 181 | - // _=dic?.updateValue(self.user.nickName, forKey: "f_RealName") | |
| 182 | - // _=dic?.updateValue(self.user.imageURL, forKey: "f_HeadIcon") | |
| 183 | - // let userInfo:Dictionary<String,AnyObject>=["status":1 as AnyObject,"data":dic as AnyObject] | |
| 184 | - // AppDelegate.instance().accountManager.rawUserInfo=JSON(userInfo) | |
| 185 | - // _=Setting.saveUserInfo(JSON(userInfo).rawString()) | |
| 186 | - XSTLiveManager.shareXSTLiveManager().setUpPersonInfo(name: self.user.nickName, icon: self.user.imageURL) | |
| 187 | - AppDelegate.instance().window?.makeToast("修改个人信息成功") | |
| 188 | - self.rightBarBtn.title="修改" | |
| 189 | - self.isUserActivity=false | |
| 190 | - self.loginoutBtn.isHidden=false | |
| 191 | - self.userSettingTableView.reloadData() | |
| 192 | - AppDelegate.instance().accountManager.refreshUserInfo(completionHandler: { (finish) in | |
| 193 | - if !finish{ | |
| 194 | - AppDelegate.instance().window?.makeToast("身份获取失败") | |
| 195 | - } | |
| 196 | - }) | |
| 197 | - }else{ | |
| 198 | - self.view.makeToast("修改个人信息失败:\(JSON.fromString(jsonString: str)!["message"].stringValue)") | |
| 199 | - } | |
| 200 | - }else{ | |
| 201 | - self.view.makeToast("修改个人信息失败:\(error!.description)") | |
| 202 | - } | |
| 203 | - }) | |
| 204 | - }else{ | |
| 205 | - self.rightBarBtn.title="保存" | |
| 206 | - self.isUserActivity=true | |
| 207 | - self.loginoutBtn.isHidden=true | |
| 208 | - self.userSettingTableView.reloadData() | |
| 209 | - } | |
| 210 | - } | |
| 211 | - | |
| 212 | -} | |
| 213 | - | |
| 214 | -class PersonalSettingCell: UITableViewCell { | |
| 215 | - | |
| 216 | - | |
| 217 | - @IBOutlet weak var nameLabelRightSpace: NSLayoutConstraint! | |
| 218 | - | |
| 219 | - @IBOutlet weak var rightArrow: UIImageView! | |
| 220 | - @IBOutlet weak var namelabel: UILabel! | |
| 221 | - @IBOutlet weak var imagePhoto: UIImageView! | |
| 222 | - @IBOutlet weak var nameTitleLabel: UILabel! | |
| 223 | - | |
| 224 | - | |
| 225 | -} | |
| 226 | - | |
| 227 | -class Contact { | |
| 228 | - var nickName:String! | |
| 229 | - var userId:String! | |
| 230 | - var userSex:String! | |
| 231 | - var imageURL:String! | |
| 232 | - init() { | |
| 233 | - nickName = AppDelegate.instance().accountManager.name() | |
| 234 | - userId = AppDelegate.instance().accountManager.phone() | |
| 235 | - userSex = "男" | |
| 236 | - imageURL = AppDelegate.instance().accountManager.photo() | |
| 237 | - } | |
| 238 | -} |
YouerLiveVideo/YouerLiveVideo/controllers/User/UserCenter/User.storyboard
| ... | ... | @@ -235,171 +235,6 @@ |
| 235 | 235 | </objects> |
| 236 | 236 | <point key="canvasLocation" x="-1468" y="1534.1829085457273"/> |
| 237 | 237 | </scene> |
| 238 | - <!--个人设置--> | |
| 239 | - <scene sceneID="7Fy-nr-XeV"> | |
| 240 | - <objects> | |
| 241 | - <viewController storyboardIdentifier="PersonalSettingViewControllerVC" id="zag-ex-Ns7" customClass="PersonalSettingViewController" customModule="YouerLiveVideo" customModuleProvider="target" sceneMemberID="viewController"> | |
| 242 | - <layoutGuides> | |
| 243 | - <viewControllerLayoutGuide type="top" id="UCq-di-1FE"/> | |
| 244 | - <viewControllerLayoutGuide type="bottom" id="6c4-3r-MCg"/> | |
| 245 | - </layoutGuides> | |
| 246 | - <view key="view" contentMode="scaleToFill" id="ohI-ec-VmG"> | |
| 247 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | |
| 248 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
| 249 | - <subviews> | |
| 250 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="zVa-Jq-aTu"> | |
| 251 | - <rect key="frame" x="0.0" y="64" width="375" height="535"/> | |
| 252 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 253 | - <view key="tableFooterView" contentMode="scaleToFill" id="12C-tj-ZV7"> | |
| 254 | - <rect key="frame" x="0.0" y="72" width="375" height="1"/> | |
| 255 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
| 256 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 257 | - </view> | |
| 258 | - <prototypes> | |
| 259 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="cell" id="P7c-Ko-kqd" customClass="PersonalSettingCell" customModule="YouerLiveVideo" customModuleProvider="target"> | |
| 260 | - <rect key="frame" x="0.0" y="28" width="375" height="44"/> | |
| 261 | - <autoresizingMask key="autoresizingMask"/> | |
| 262 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="P7c-Ko-kqd" id="Raa-86-9ng"> | |
| 263 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | |
| 264 | - <autoresizingMask key="autoresizingMask"/> | |
| 265 | - <subviews> | |
| 266 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机号(账号)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="juK-fe-Y7f"> | |
| 267 | - <rect key="frame" x="15" y="12" width="105" height="20.5"/> | |
| 268 | - <constraints> | |
| 269 | - <constraint firstAttribute="width" constant="105" id="Lby-yz-Twy"/> | |
| 270 | - </constraints> | |
| 271 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 272 | - <nil key="textColor"/> | |
| 273 | - <nil key="highlightedColor"/> | |
| 274 | - </label> | |
| 275 | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="收拢.png" translatesAutoresizingMaskIntoConstraints="NO" id="k9H-ER-871"> | |
| 276 | - <rect key="frame" x="350" y="13.5" width="10" height="17"/> | |
| 277 | - <constraints> | |
| 278 | - <constraint firstAttribute="width" secondItem="k9H-ER-871" secondAttribute="height" multiplier="3:5" id="34k-Gi-2Ee"/> | |
| 279 | - <constraint firstAttribute="width" constant="10" id="zRD-Rc-v5U"/> | |
| 280 | - </constraints> | |
| 281 | - </imageView> | |
| 282 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pMa-ZG-7NM"> | |
| 283 | - <rect key="frame" x="121" y="12" width="221" height="20.5"/> | |
| 284 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 285 | - <color key="textColor" red="0.65098039220000004" green="0.65098039220000004" blue="0.6588235294" alpha="1" colorSpace="calibratedRGB"/> | |
| 286 | - <nil key="highlightedColor"/> | |
| 287 | - </label> | |
| 288 | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="oH0-ty-ODc"> | |
| 289 | - <rect key="frame" x="312" y="7" width="30" height="30"/> | |
| 290 | - <constraints> | |
| 291 | - <constraint firstAttribute="width" constant="30" id="QjD-M0-idc"/> | |
| 292 | - </constraints> | |
| 293 | - <userDefinedRuntimeAttributes> | |
| 294 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 295 | - <integer key="value" value="15"/> | |
| 296 | - </userDefinedRuntimeAttribute> | |
| 297 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 298 | - </userDefinedRuntimeAttributes> | |
| 299 | - </imageView> | |
| 300 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YOS-pR-e5K"> | |
| 301 | - <rect key="frame" x="0.0" y="43" width="375" height="1"/> | |
| 302 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 303 | - <constraints> | |
| 304 | - <constraint firstAttribute="height" constant="1" id="XMZ-BJ-Nya"/> | |
| 305 | - </constraints> | |
| 306 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 307 | - <nil key="textColor"/> | |
| 308 | - <nil key="highlightedColor"/> | |
| 309 | - </label> | |
| 310 | - </subviews> | |
| 311 | - <constraints> | |
| 312 | - <constraint firstItem="oH0-ty-ODc" firstAttribute="centerY" secondItem="Raa-86-9ng" secondAttribute="centerY" id="0Ml-yS-EZ4"/> | |
| 313 | - <constraint firstItem="pMa-ZG-7NM" firstAttribute="centerY" secondItem="Raa-86-9ng" secondAttribute="centerY" id="9i5-Ih-kN3"/> | |
| 314 | - <constraint firstItem="oH0-ty-ODc" firstAttribute="width" secondItem="oH0-ty-ODc" secondAttribute="height" multiplier="1:1" id="L8W-NL-DGV"/> | |
| 315 | - <constraint firstItem="juK-fe-Y7f" firstAttribute="leading" secondItem="Raa-86-9ng" secondAttribute="leading" constant="15" id="PDU-zE-jvH"/> | |
| 316 | - <constraint firstItem="k9H-ER-871" firstAttribute="leading" secondItem="oH0-ty-ODc" secondAttribute="trailing" constant="8" id="PPI-rR-Ewq"/> | |
| 317 | - <constraint firstItem="YOS-pR-e5K" firstAttribute="leading" secondItem="Raa-86-9ng" secondAttribute="leading" id="bQa-xi-SKl"/> | |
| 318 | - <constraint firstItem="k9H-ER-871" firstAttribute="leading" secondItem="pMa-ZG-7NM" secondAttribute="trailing" constant="8" id="cZi-Wn-11t"/> | |
| 319 | - <constraint firstAttribute="trailing" secondItem="YOS-pR-e5K" secondAttribute="trailing" id="ecZ-Tm-SQO"/> | |
| 320 | - <constraint firstItem="juK-fe-Y7f" firstAttribute="centerY" secondItem="Raa-86-9ng" secondAttribute="centerY" id="hBl-MZ-jo2"/> | |
| 321 | - <constraint firstAttribute="bottom" secondItem="YOS-pR-e5K" secondAttribute="bottom" id="k7i-5l-x8C"/> | |
| 322 | - <constraint firstItem="pMa-ZG-7NM" firstAttribute="leading" secondItem="juK-fe-Y7f" secondAttribute="trailing" constant="1" id="oSX-xs-mQG"/> | |
| 323 | - <constraint firstItem="k9H-ER-871" firstAttribute="centerY" secondItem="Raa-86-9ng" secondAttribute="centerY" id="x0P-SE-6dn"/> | |
| 324 | - <constraint firstAttribute="trailing" secondItem="k9H-ER-871" secondAttribute="trailing" constant="15" id="yL7-gI-6Bh"/> | |
| 325 | - </constraints> | |
| 326 | - </tableViewCellContentView> | |
| 327 | - <connections> | |
| 328 | - <outlet property="imagePhoto" destination="oH0-ty-ODc" id="iQv-S2-ItJ"/> | |
| 329 | - <outlet property="nameLabelRightSpace" destination="cZi-Wn-11t" id="Wls-8Y-XeT"/> | |
| 330 | - <outlet property="nameTitleLabel" destination="juK-fe-Y7f" id="eMi-cJ-35W"/> | |
| 331 | - <outlet property="namelabel" destination="pMa-ZG-7NM" id="3FP-fk-MfF"/> | |
| 332 | - <outlet property="rightArrow" destination="k9H-ER-871" id="pH9-he-yub"/> | |
| 333 | - </connections> | |
| 334 | - </tableViewCell> | |
| 335 | - </prototypes> | |
| 336 | - <connections> | |
| 337 | - <outlet property="dataSource" destination="zag-ex-Ns7" id="h0H-BT-k7B"/> | |
| 338 | - <outlet property="delegate" destination="zag-ex-Ns7" id="7qk-li-aJ4"/> | |
| 339 | - </connections> | |
| 340 | - </tableView> | |
| 341 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zoh-gF-GRC"> | |
| 342 | - <rect key="frame" x="0.0" y="599" width="375" height="68"/> | |
| 343 | - <subviews> | |
| 344 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="O66-bx-WBX"> | |
| 345 | - <rect key="frame" x="137.5" y="14" width="100" height="40"/> | |
| 346 | - <color key="backgroundColor" red="1" green="0.39607843139999999" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 347 | - <constraints> | |
| 348 | - <constraint firstAttribute="height" constant="40" id="bXw-Ag-yrj"/> | |
| 349 | - <constraint firstAttribute="width" constant="100" id="gZN-aT-Qe6"/> | |
| 350 | - </constraints> | |
| 351 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | |
| 352 | - <state key="normal" title="退出登录"> | |
| 353 | - <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> | |
| 354 | - </state> | |
| 355 | - <userDefinedRuntimeAttributes> | |
| 356 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 357 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 358 | - <integer key="value" value="5"/> | |
| 359 | - </userDefinedRuntimeAttribute> | |
| 360 | - </userDefinedRuntimeAttributes> | |
| 361 | - <connections> | |
| 362 | - <action selector="ExsitBtnClickAction:" destination="zag-ex-Ns7" eventType="touchUpInside" id="cvZ-aV-t5N"/> | |
| 363 | - </connections> | |
| 364 | - </button> | |
| 365 | - </subviews> | |
| 366 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 367 | - <constraints> | |
| 368 | - <constraint firstItem="O66-bx-WBX" firstAttribute="centerX" secondItem="Zoh-gF-GRC" secondAttribute="centerX" id="Vgd-7C-PCW"/> | |
| 369 | - <constraint firstAttribute="height" constant="68" id="c9N-lN-Lbb"/> | |
| 370 | - <constraint firstItem="O66-bx-WBX" firstAttribute="centerY" secondItem="Zoh-gF-GRC" secondAttribute="centerY" id="gPv-om-cWX"/> | |
| 371 | - </constraints> | |
| 372 | - </view> | |
| 373 | - </subviews> | |
| 374 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 375 | - <constraints> | |
| 376 | - <constraint firstAttribute="trailing" secondItem="Zoh-gF-GRC" secondAttribute="trailing" id="28G-9t-FM1"/> | |
| 377 | - <constraint firstItem="Zoh-gF-GRC" firstAttribute="top" secondItem="zVa-Jq-aTu" secondAttribute="bottom" id="5df-U2-nj5"/> | |
| 378 | - <constraint firstItem="zVa-Jq-aTu" firstAttribute="top" secondItem="UCq-di-1FE" secondAttribute="bottom" id="QDW-Hg-bFk"/> | |
| 379 | - <constraint firstAttribute="trailing" secondItem="zVa-Jq-aTu" secondAttribute="trailing" id="gmi-IS-fwG"/> | |
| 380 | - <constraint firstItem="6c4-3r-MCg" firstAttribute="top" secondItem="Zoh-gF-GRC" secondAttribute="bottom" id="oJI-li-9v7"/> | |
| 381 | - <constraint firstItem="Zoh-gF-GRC" firstAttribute="leading" secondItem="ohI-ec-VmG" secondAttribute="leading" id="w19-By-97X"/> | |
| 382 | - <constraint firstItem="zVa-Jq-aTu" firstAttribute="leading" secondItem="ohI-ec-VmG" secondAttribute="leading" id="yos-vH-UlZ"/> | |
| 383 | - </constraints> | |
| 384 | - </view> | |
| 385 | - <navigationItem key="navigationItem" title="个人设置" id="oam-jc-du0"> | |
| 386 | - <barButtonItem key="rightBarButtonItem" title="修改" id="HPL-MW-tPy"> | |
| 387 | - <connections> | |
| 388 | - <action selector="finishAction:" destination="zag-ex-Ns7" id="vYu-XV-Oz1"/> | |
| 389 | - </connections> | |
| 390 | - </barButtonItem> | |
| 391 | - </navigationItem> | |
| 392 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | |
| 393 | - <connections> | |
| 394 | - <outlet property="loginoutBtn" destination="O66-bx-WBX" id="yBh-45-PmW"/> | |
| 395 | - <outlet property="rightBarBtn" destination="HPL-MW-tPy" id="iWY-Ng-b1p"/> | |
| 396 | - <outlet property="userSettingTableView" destination="zVa-Jq-aTu" id="62H-Yg-00D"/> | |
| 397 | - </connections> | |
| 398 | - </viewController> | |
| 399 | - <placeholder placeholderIdentifier="IBFirstResponder" id="Kw5-Rz-kOp" userLabel="First Responder" sceneMemberID="firstResponder"/> | |
| 400 | - </objects> | |
| 401 | - <point key="canvasLocation" x="-774" y="1534"/> | |
| 402 | - </scene> | |
| 403 | 238 | <!--Register View Controller--> |
| 404 | 239 | <scene sceneID="81Y-IJ-Kye"> |
| 405 | 240 | <objects> |
| ... | ... | @@ -859,632 +694,12 @@ |
| 859 | 694 | </objects> |
| 860 | 695 | <point key="canvasLocation" x="-2161" y="1534"/> |
| 861 | 696 | </scene> |
| 862 | - <!--直播列表--> | |
| 863 | - <scene sceneID="XKW-WN-QdT"> | |
| 864 | - <objects> | |
| 865 | - <viewController storyboardIdentifier="LiveRoomsViewController" id="TRk-zG-DtG" customClass="LiveRoomsViewController" customModule="YouerLiveVideo" customModuleProvider="target" sceneMemberID="viewController"> | |
| 866 | - <layoutGuides> | |
| 867 | - <viewControllerLayoutGuide type="top" id="F8t-oe-SiB"/> | |
| 868 | - <viewControllerLayoutGuide type="bottom" id="uxW-te-E5M"/> | |
| 869 | - </layoutGuides> | |
| 870 | - <view key="view" contentMode="scaleToFill" id="872-q1-Iaa"> | |
| 871 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | |
| 872 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
| 873 | - <subviews> | |
| 874 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zXz-qM-Acq"> | |
| 875 | - <rect key="frame" x="0.0" y="64" width="375" height="170"/> | |
| 876 | - <subviews> | |
| 877 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hv8-Qa-aBF"> | |
| 878 | - <rect key="frame" x="187" y="0.0" width="1" height="170"/> | |
| 879 | - <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> | |
| 880 | - <constraints> | |
| 881 | - <constraint firstAttribute="width" constant="1" id="dza-AE-Lso"/> | |
| 882 | - </constraints> | |
| 883 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 884 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 885 | - <nil key="highlightedColor"/> | |
| 886 | - </label> | |
| 887 | - <imageView contentMode="redraw" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto.png" translatesAutoresizingMaskIntoConstraints="NO" id="0Gk-gW-ew3"> | |
| 888 | - <rect key="frame" x="147.5" y="8" width="80" height="80"/> | |
| 889 | - <gestureRecognizers/> | |
| 890 | - <constraints> | |
| 891 | - <constraint firstAttribute="width" constant="80" id="lWg-Fx-hsx"/> | |
| 892 | - <constraint firstAttribute="height" constant="80" id="wOV-ke-Q1B"/> | |
| 893 | - </constraints> | |
| 894 | - <userDefinedRuntimeAttributes> | |
| 895 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 896 | - <integer key="value" value="40"/> | |
| 897 | - </userDefinedRuntimeAttribute> | |
| 898 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 899 | - </userDefinedRuntimeAttributes> | |
| 900 | - </imageView> | |
| 901 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学事通" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3TP-D6-7hD"> | |
| 902 | - <rect key="frame" x="0.0" y="100" width="375" height="21"/> | |
| 903 | - <constraints> | |
| 904 | - <constraint firstAttribute="height" constant="21" id="30Q-8E-jJ7"/> | |
| 905 | - </constraints> | |
| 906 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | |
| 907 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 908 | - <nil key="highlightedColor"/> | |
| 909 | - </label> | |
| 910 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CtS-7Q-u1u"> | |
| 911 | - <rect key="frame" x="0.0" y="96" width="375" height="25"/> | |
| 912 | - <constraints> | |
| 913 | - <constraint firstAttribute="height" constant="25" id="wYi-pE-S5H"/> | |
| 914 | - </constraints> | |
| 915 | - <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="15"/> | |
| 916 | - <inset key="titleEdgeInsets" minX="-120" minY="0.0" maxX="0.0" maxY="0.0"/> | |
| 917 | - <inset key="imageEdgeInsets" minX="95" minY="0.0" maxX="0.0" maxY="0.0"/> | |
| 918 | - <state key="normal"> | |
| 919 | - <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 920 | - </state> | |
| 921 | - </button> | |
| 922 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="账号:18625774807" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZEw-g1-Yma"> | |
| 923 | - <rect key="frame" x="0.0" y="129" width="375" height="21"/> | |
| 924 | - <constraints> | |
| 925 | - <constraint firstAttribute="height" constant="21" id="pzG-gH-nk5"/> | |
| 926 | - </constraints> | |
| 927 | - <fontDescription key="fontDescription" type="system" pointSize="13"/> | |
| 928 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 929 | - <nil key="highlightedColor"/> | |
| 930 | - </label> | |
| 931 | - <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="编辑.png" translatesAutoresizingMaskIntoConstraints="NO" id="Prt-1z-bT6"> | |
| 932 | - <rect key="frame" x="214" y="100" width="20" height="20"/> | |
| 933 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
| 934 | - </imageView> | |
| 935 | - </subviews> | |
| 936 | - <color key="backgroundColor" red="0.1058823529" green="0.82745098039999998" blue="0.74509803919999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 937 | - <constraints> | |
| 938 | - <constraint firstItem="CtS-7Q-u1u" firstAttribute="top" secondItem="0Gk-gW-ew3" secondAttribute="bottom" constant="8" id="4J5-K4-e0H"/> | |
| 939 | - <constraint firstItem="0Gk-gW-ew3" firstAttribute="centerX" secondItem="zXz-qM-Acq" secondAttribute="centerX" id="52h-CK-9Q4"/> | |
| 940 | - <constraint firstItem="hv8-Qa-aBF" firstAttribute="top" secondItem="zXz-qM-Acq" secondAttribute="top" id="AGC-wU-6In"/> | |
| 941 | - <constraint firstAttribute="height" constant="170" id="BQo-Kp-CAZ"/> | |
| 942 | - <constraint firstItem="ZEw-g1-Yma" firstAttribute="leading" secondItem="zXz-qM-Acq" secondAttribute="leading" id="Ckg-Dh-49u"/> | |
| 943 | - <constraint firstItem="CtS-7Q-u1u" firstAttribute="leading" secondItem="zXz-qM-Acq" secondAttribute="leading" id="G2O-76-hLf"/> | |
| 944 | - <constraint firstItem="hv8-Qa-aBF" firstAttribute="centerY" secondItem="zXz-qM-Acq" secondAttribute="centerY" id="KHQ-Nn-pOq"/> | |
| 945 | - <constraint firstAttribute="bottom" secondItem="hv8-Qa-aBF" secondAttribute="bottom" id="RFM-s7-4TJ"/> | |
| 946 | - <constraint firstAttribute="trailing" secondItem="CtS-7Q-u1u" secondAttribute="trailing" id="RHy-V2-7Zr"/> | |
| 947 | - <constraint firstItem="ZEw-g1-Yma" firstAttribute="top" secondItem="CtS-7Q-u1u" secondAttribute="bottom" constant="8" id="RIr-e5-c0g"/> | |
| 948 | - <constraint firstItem="3TP-D6-7hD" firstAttribute="leading" secondItem="zXz-qM-Acq" secondAttribute="leading" id="aR3-jf-TMa"/> | |
| 949 | - <constraint firstAttribute="trailing" secondItem="ZEw-g1-Yma" secondAttribute="trailing" id="bJ0-BI-Qv3"/> | |
| 950 | - <constraint firstItem="3TP-D6-7hD" firstAttribute="top" secondItem="0Gk-gW-ew3" secondAttribute="bottom" constant="12" id="fTq-1T-IoT"/> | |
| 951 | - <constraint firstAttribute="trailing" secondItem="3TP-D6-7hD" secondAttribute="trailing" id="mzr-Lx-WwS"/> | |
| 952 | - <constraint firstItem="CtS-7Q-u1u" firstAttribute="centerX" secondItem="zXz-qM-Acq" secondAttribute="centerX" id="qqe-eT-yC5"/> | |
| 953 | - <constraint firstItem="hv8-Qa-aBF" firstAttribute="centerX" secondItem="zXz-qM-Acq" secondAttribute="centerX" id="vZf-z2-TYe"/> | |
| 954 | - <constraint firstItem="0Gk-gW-ew3" firstAttribute="top" secondItem="zXz-qM-Acq" secondAttribute="top" constant="8" id="zMS-XP-xLS"/> | |
| 955 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="170" id="zf1-5x-wDm"/> | |
| 956 | - </constraints> | |
| 957 | - </view> | |
| 958 | - <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="MSW-uR-PzG"> | |
| 959 | - <rect key="frame" x="0.0" y="234" width="375" height="50"/> | |
| 960 | - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 961 | - <constraints> | |
| 962 | - <constraint firstAttribute="height" constant="50" id="6Lg-sB-5MW"/> | |
| 963 | - </constraints> | |
| 964 | - <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="RUP-s6-4QP"> | |
| 965 | - <size key="itemSize" width="50" height="50"/> | |
| 966 | - <size key="headerReferenceSize" width="0.0" height="0.0"/> | |
| 967 | - <size key="footerReferenceSize" width="0.0" height="0.0"/> | |
| 968 | - <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | |
| 969 | - </collectionViewFlowLayout> | |
| 970 | - <cells> | |
| 971 | - <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="selectCell" id="ByM-Yz-laB" customClass="selectTypeCell" customModule="YouerLiveVideo" customModuleProvider="target"> | |
| 972 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 973 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
| 974 | - <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> | |
| 975 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 976 | - <autoresizingMask key="autoresizingMask"/> | |
| 977 | - <subviews> | |
| 978 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全部" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cIR-al-lVF"> | |
| 979 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 980 | - <fontDescription key="fontDescription" type="system" pointSize="12"/> | |
| 981 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 982 | - <nil key="highlightedColor"/> | |
| 983 | - </label> | |
| 984 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Uda-An-pcw"> | |
| 985 | - <rect key="frame" x="49" y="0.0" width="1" height="50"/> | |
| 986 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 987 | - <constraints> | |
| 988 | - <constraint firstAttribute="width" constant="1" id="nDj-Xd-cpM"/> | |
| 989 | - </constraints> | |
| 990 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 991 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 992 | - <nil key="highlightedColor"/> | |
| 993 | - </label> | |
| 994 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0hQ-IS-VH8"> | |
| 995 | - <rect key="frame" x="0.0" y="49" width="50" height="1"/> | |
| 996 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 997 | - <constraints> | |
| 998 | - <constraint firstAttribute="height" constant="1" id="YZN-9q-eax"/> | |
| 999 | - </constraints> | |
| 1000 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 1001 | - <nil key="textColor"/> | |
| 1002 | - <nil key="highlightedColor"/> | |
| 1003 | - </label> | |
| 1004 | - </subviews> | |
| 1005 | - </view> | |
| 1006 | - <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1007 | - <constraints> | |
| 1008 | - <constraint firstItem="Uda-An-pcw" firstAttribute="top" secondItem="ByM-Yz-laB" secondAttribute="top" id="2PS-Ij-cah"/> | |
| 1009 | - <constraint firstAttribute="bottom" secondItem="cIR-al-lVF" secondAttribute="bottom" id="3Ze-wI-7u6"/> | |
| 1010 | - <constraint firstItem="cIR-al-lVF" firstAttribute="leading" secondItem="ByM-Yz-laB" secondAttribute="leading" id="4Pw-3q-ycf"/> | |
| 1011 | - <constraint firstAttribute="trailing" secondItem="Uda-An-pcw" secondAttribute="trailing" id="56p-FD-l9M"/> | |
| 1012 | - <constraint firstAttribute="bottom" secondItem="0hQ-IS-VH8" secondAttribute="bottom" id="9lr-L2-yEQ"/> | |
| 1013 | - <constraint firstItem="0hQ-IS-VH8" firstAttribute="leading" secondItem="ByM-Yz-laB" secondAttribute="leading" id="Bj0-Ra-FS3"/> | |
| 1014 | - <constraint firstAttribute="trailing" secondItem="0hQ-IS-VH8" secondAttribute="trailing" id="E6o-Ec-dYB"/> | |
| 1015 | - <constraint firstItem="cIR-al-lVF" firstAttribute="top" secondItem="ByM-Yz-laB" secondAttribute="top" id="WJW-7b-hNu"/> | |
| 1016 | - <constraint firstAttribute="trailing" secondItem="cIR-al-lVF" secondAttribute="trailing" id="ijN-E7-xI0"/> | |
| 1017 | - <constraint firstAttribute="bottom" secondItem="Uda-An-pcw" secondAttribute="bottom" id="zLp-XV-NSL"/> | |
| 1018 | - </constraints> | |
| 1019 | - <connections> | |
| 1020 | - <outlet property="lineLabel" destination="Uda-An-pcw" id="i0M-0I-yGC"/> | |
| 1021 | - <outlet property="titleLabel" destination="cIR-al-lVF" id="srt-YU-2L0"/> | |
| 1022 | - </connections> | |
| 1023 | - </collectionViewCell> | |
| 1024 | - </cells> | |
| 1025 | - <connections> | |
| 1026 | - <outlet property="dataSource" destination="TRk-zG-DtG" id="zGC-ba-Oek"/> | |
| 1027 | - <outlet property="delegate" destination="TRk-zG-DtG" id="F9X-CU-Z6M"/> | |
| 1028 | - </connections> | |
| 1029 | - </collectionView> | |
| 1030 | - <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="nMl-1w-hhg"> | |
| 1031 | - <rect key="frame" x="0.0" y="284" width="375" height="383"/> | |
| 1032 | - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1033 | - <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="1" minimumInteritemSpacing="1" id="6WK-c9-xsa"> | |
| 1034 | - <size key="itemSize" width="171" height="276"/> | |
| 1035 | - <size key="headerReferenceSize" width="0.0" height="0.0"/> | |
| 1036 | - <size key="footerReferenceSize" width="0.0" height="0.0"/> | |
| 1037 | - <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | |
| 1038 | - </collectionViewFlowLayout> | |
| 1039 | - <cells> | |
| 1040 | - <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="roomListCell" id="znO-HR-pdB" customClass="roomLiveDetailCell" customModule="YouerLiveVideo" customModuleProvider="target"> | |
| 1041 | - <rect key="frame" x="0.0" y="0.0" width="171" height="276"/> | |
| 1042 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
| 1043 | - <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> | |
| 1044 | - <rect key="frame" x="0.0" y="0.0" width="171" height="276"/> | |
| 1045 | - <autoresizingMask key="autoresizingMask"/> | |
| 1046 | - <subviews> | |
| 1047 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1eI-eh-N3I"> | |
| 1048 | - <rect key="frame" x="0.0" y="0.0" width="171" height="246"/> | |
| 1049 | - <subviews> | |
| 1050 | - <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="psb.jpg" translatesAutoresizingMaskIntoConstraints="NO" id="XcQ-PZ-5vi"> | |
| 1051 | - <rect key="frame" x="0.0" y="0.0" width="171" height="246"/> | |
| 1052 | - </imageView> | |
| 1053 | - <label opaque="NO" userInteractionEnabled="NO" alpha="0.80000001192092896" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="顺治直播" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5bV-Q9-QBq"> | |
| 1054 | - <rect key="frame" x="0.0" y="226" width="171" height="20"/> | |
| 1055 | - <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | |
| 1056 | - <constraints> | |
| 1057 | - <constraint firstAttribute="height" constant="20" id="v5R-gm-4ZU"/> | |
| 1058 | - </constraints> | |
| 1059 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | |
| 1060 | - <nil key="highlightedColor"/> | |
| 1061 | - </label> | |
| 1062 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未通过" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MwN-q1-p8I"> | |
| 1063 | - <rect key="frame" x="8" y="8" width="45" height="20"/> | |
| 1064 | - <color key="backgroundColor" red="1" green="0.39607843139999999" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1065 | - <constraints> | |
| 1066 | - <constraint firstAttribute="height" constant="20" id="ZNb-9o-7dy"/> | |
| 1067 | - <constraint firstAttribute="width" constant="45" id="zE3-2c-Lnq"/> | |
| 1068 | - </constraints> | |
| 1069 | - <fontDescription key="fontDescription" type="system" pointSize="12"/> | |
| 1070 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1071 | - <nil key="highlightedColor"/> | |
| 1072 | - <userDefinedRuntimeAttributes> | |
| 1073 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 1074 | - <integer key="value" value="10"/> | |
| 1075 | - </userDefinedRuntimeAttribute> | |
| 1076 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 1077 | - </userDefinedRuntimeAttributes> | |
| 1078 | - </label> | |
| 1079 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播历史1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3kG-Uk-Ebo"> | |
| 1080 | - <rect key="frame" x="108" y="8" width="55" height="20"/> | |
| 1081 | - <color key="backgroundColor" red="1" green="0.39607843139999999" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1082 | - <constraints> | |
| 1083 | - <constraint firstAttribute="height" constant="20" id="7gR-Ze-JOx"/> | |
| 1084 | - </constraints> | |
| 1085 | - <fontDescription key="fontDescription" type="system" pointSize="12"/> | |
| 1086 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1087 | - <nil key="highlightedColor"/> | |
| 1088 | - <userDefinedRuntimeAttributes> | |
| 1089 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 1090 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 1091 | - <integer key="value" value="10"/> | |
| 1092 | - </userDefinedRuntimeAttribute> | |
| 1093 | - </userDefinedRuntimeAttributes> | |
| 1094 | - </label> | |
| 1095 | - </subviews> | |
| 1096 | - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1097 | - <constraints> | |
| 1098 | - <constraint firstAttribute="trailing" secondItem="5bV-Q9-QBq" secondAttribute="trailing" id="B2F-4V-Wzi"/> | |
| 1099 | - <constraint firstAttribute="trailing" secondItem="3kG-Uk-Ebo" secondAttribute="trailing" constant="8" id="EMb-1i-r9c"/> | |
| 1100 | - <constraint firstAttribute="trailing" secondItem="XcQ-PZ-5vi" secondAttribute="trailing" id="Iro-Ie-Mzf"/> | |
| 1101 | - <constraint firstItem="MwN-q1-p8I" firstAttribute="top" secondItem="1eI-eh-N3I" secondAttribute="top" constant="8" id="Njs-r0-U3F"/> | |
| 1102 | - <constraint firstItem="MwN-q1-p8I" firstAttribute="leading" secondItem="1eI-eh-N3I" secondAttribute="leading" constant="8" id="XbX-F5-TSb"/> | |
| 1103 | - <constraint firstAttribute="bottom" secondItem="XcQ-PZ-5vi" secondAttribute="bottom" id="bEn-qE-mTE"/> | |
| 1104 | - <constraint firstItem="XcQ-PZ-5vi" firstAttribute="leading" secondItem="1eI-eh-N3I" secondAttribute="leading" id="kSr-BD-Q7c"/> | |
| 1105 | - <constraint firstAttribute="bottom" secondItem="5bV-Q9-QBq" secondAttribute="bottom" id="pTo-Um-VFC"/> | |
| 1106 | - <constraint firstItem="5bV-Q9-QBq" firstAttribute="leading" secondItem="1eI-eh-N3I" secondAttribute="leading" id="qP1-Fu-lHn"/> | |
| 1107 | - <constraint firstItem="XcQ-PZ-5vi" firstAttribute="top" secondItem="1eI-eh-N3I" secondAttribute="top" id="v3T-sO-sWi"/> | |
| 1108 | - <constraint firstItem="3kG-Uk-Ebo" firstAttribute="top" secondItem="1eI-eh-N3I" secondAttribute="top" constant="8" id="xhC-S7-ph6"/> | |
| 1109 | - </constraints> | |
| 1110 | - </view> | |
| 1111 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zf5-sW-pq6"> | |
| 1112 | - <rect key="frame" x="0.0" y="246" width="171" height="30"/> | |
| 1113 | - <subviews> | |
| 1114 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DN7-Bl-0sn"> | |
| 1115 | - <rect key="frame" x="31" y="4.5" width="30.5" height="21"/> | |
| 1116 | - <constraints> | |
| 1117 | - <constraint firstAttribute="height" constant="21" id="dPs-Vr-J5F"/> | |
| 1118 | - </constraints> | |
| 1119 | - <fontDescription key="fontDescription" type="system" pointSize="8"/> | |
| 1120 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 1121 | - <nil key="highlightedColor"/> | |
| 1122 | - </label> | |
| 1123 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2016-11-10 10:58:50" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FLt-yg-yap"> | |
| 1124 | - <rect key="frame" x="80.5" y="10" width="82.5" height="10"/> | |
| 1125 | - <fontDescription key="fontDescription" type="system" pointSize="8"/> | |
| 1126 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 1127 | - <nil key="highlightedColor"/> | |
| 1128 | - </label> | |
| 1129 | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="观看.png" translatesAutoresizingMaskIntoConstraints="NO" id="zAE-Rj-l2k"> | |
| 1130 | - <rect key="frame" x="8" y="7.5" width="20" height="15"/> | |
| 1131 | - <constraints> | |
| 1132 | - <constraint firstAttribute="width" constant="20" id="OeC-BX-gj2"/> | |
| 1133 | - <constraint firstAttribute="height" constant="15" id="sNv-Mf-wqS"/> | |
| 1134 | - </constraints> | |
| 1135 | - </imageView> | |
| 1136 | - </subviews> | |
| 1137 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 1138 | - <constraints> | |
| 1139 | - <constraint firstItem="zAE-Rj-l2k" firstAttribute="leading" secondItem="zf5-sW-pq6" secondAttribute="leading" constant="8" id="4I4-Ad-LFC"/> | |
| 1140 | - <constraint firstItem="zAE-Rj-l2k" firstAttribute="centerY" secondItem="zf5-sW-pq6" secondAttribute="centerY" id="4oe-14-f8F"/> | |
| 1141 | - <constraint firstItem="FLt-yg-yap" firstAttribute="centerY" secondItem="zf5-sW-pq6" secondAttribute="centerY" id="8b4-g2-wg6"/> | |
| 1142 | - <constraint firstAttribute="trailing" secondItem="FLt-yg-yap" secondAttribute="trailing" constant="8" id="9lh-yF-apc"/> | |
| 1143 | - <constraint firstAttribute="height" constant="30" id="MbG-VU-7bB"/> | |
| 1144 | - <constraint firstItem="DN7-Bl-0sn" firstAttribute="centerY" secondItem="zf5-sW-pq6" secondAttribute="centerY" id="nMy-KR-EGQ"/> | |
| 1145 | - <constraint firstItem="DN7-Bl-0sn" firstAttribute="leading" secondItem="zAE-Rj-l2k" secondAttribute="trailing" constant="3" id="wZD-yd-641"/> | |
| 1146 | - </constraints> | |
| 1147 | - </view> | |
| 1148 | - </subviews> | |
| 1149 | - </view> | |
| 1150 | - <gestureRecognizers/> | |
| 1151 | - <constraints> | |
| 1152 | - <constraint firstItem="zf5-sW-pq6" firstAttribute="leading" secondItem="znO-HR-pdB" secondAttribute="leading" id="61a-fa-c9J"/> | |
| 1153 | - <constraint firstItem="zf5-sW-pq6" firstAttribute="top" secondItem="1eI-eh-N3I" secondAttribute="bottom" id="EIo-Vb-H9W"/> | |
| 1154 | - <constraint firstItem="1eI-eh-N3I" firstAttribute="top" secondItem="znO-HR-pdB" secondAttribute="top" id="Ywu-15-5fc"/> | |
| 1155 | - <constraint firstAttribute="trailing" secondItem="1eI-eh-N3I" secondAttribute="trailing" id="iHg-3V-D1l"/> | |
| 1156 | - <constraint firstAttribute="bottom" secondItem="zf5-sW-pq6" secondAttribute="bottom" id="nwS-Ps-NEb"/> | |
| 1157 | - <constraint firstAttribute="trailing" secondItem="zf5-sW-pq6" secondAttribute="trailing" id="peQ-5W-lFV"/> | |
| 1158 | - <constraint firstItem="1eI-eh-N3I" firstAttribute="leading" secondItem="znO-HR-pdB" secondAttribute="leading" id="s2Q-SV-Wa1"/> | |
| 1159 | - </constraints> | |
| 1160 | - <connections> | |
| 1161 | - <outlet property="backgroundImage" destination="XcQ-PZ-5vi" id="PZn-O3-2wr"/> | |
| 1162 | - <outlet property="nameLabel" destination="5bV-Q9-QBq" id="6cI-L0-KNI"/> | |
| 1163 | - <outlet property="pageLabel" destination="3kG-Uk-Ebo" id="TAP-lv-Ehz"/> | |
| 1164 | - <outlet property="passLabel" destination="MwN-q1-p8I" id="5QH-TX-YNW"/> | |
| 1165 | - <outlet property="personNumberLabel" destination="DN7-Bl-0sn" id="C46-Ic-kp4"/> | |
| 1166 | - <outlet property="timeLabel" destination="FLt-yg-yap" id="73q-DQ-xDb"/> | |
| 1167 | - </connections> | |
| 1168 | - </collectionViewCell> | |
| 1169 | - </cells> | |
| 1170 | - <connections> | |
| 1171 | - <outlet property="dataSource" destination="TRk-zG-DtG" id="lqH-kS-ppP"/> | |
| 1172 | - <outlet property="delegate" destination="TRk-zG-DtG" id="biA-Bk-fA8"/> | |
| 1173 | - </connections> | |
| 1174 | - </collectionView> | |
| 1175 | - </subviews> | |
| 1176 | - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1177 | - <gestureRecognizers/> | |
| 1178 | - <constraints> | |
| 1179 | - <constraint firstItem="zXz-qM-Acq" firstAttribute="leading" secondItem="872-q1-Iaa" secondAttribute="leading" id="A06-pz-cNK"/> | |
| 1180 | - <constraint firstItem="nMl-1w-hhg" firstAttribute="top" secondItem="MSW-uR-PzG" secondAttribute="bottom" id="E7P-YI-DOl"/> | |
| 1181 | - <constraint firstItem="zXz-qM-Acq" firstAttribute="top" secondItem="F8t-oe-SiB" secondAttribute="bottom" id="HCW-rj-PId"/> | |
| 1182 | - <constraint firstAttribute="trailing" secondItem="zXz-qM-Acq" secondAttribute="trailing" id="e2e-cq-Hap"/> | |
| 1183 | - <constraint firstItem="MSW-uR-PzG" firstAttribute="top" secondItem="zXz-qM-Acq" secondAttribute="bottom" id="fj7-Hc-YG2"/> | |
| 1184 | - <constraint firstItem="uxW-te-E5M" firstAttribute="top" secondItem="nMl-1w-hhg" secondAttribute="bottom" id="fq8-QB-60Q"/> | |
| 1185 | - <constraint firstItem="MSW-uR-PzG" firstAttribute="leading" secondItem="872-q1-Iaa" secondAttribute="leading" id="hMN-Xe-tdh"/> | |
| 1186 | - <constraint firstItem="nMl-1w-hhg" firstAttribute="leading" secondItem="872-q1-Iaa" secondAttribute="leading" id="jhB-ax-iCp"/> | |
| 1187 | - <constraint firstAttribute="trailing" secondItem="MSW-uR-PzG" secondAttribute="trailing" id="udE-bT-3AA"/> | |
| 1188 | - <constraint firstAttribute="trailing" secondItem="nMl-1w-hhg" secondAttribute="trailing" id="yQc-58-PeL"/> | |
| 1189 | - </constraints> | |
| 1190 | - <connections> | |
| 1191 | - <outletCollection property="gestureRecognizers" destination="XgT-x8-vAD" appends="YES" id="EXq-HP-LGR"/> | |
| 1192 | - </connections> | |
| 1193 | - </view> | |
| 1194 | - <navigationItem key="navigationItem" title="直播列表" id="khA-xa-evf"/> | |
| 1195 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | |
| 1196 | - <connections> | |
| 1197 | - <outlet property="iconImage" destination="0Gk-gW-ew3" id="29g-By-ogu"/> | |
| 1198 | - <outlet property="nameLabel" destination="3TP-D6-7hD" id="tmI-yP-QI4"/> | |
| 1199 | - <outlet property="numberLabel" destination="ZEw-g1-Yma" id="pgU-Yw-Mrd"/> | |
| 1200 | - <outlet property="roomListCollectionView" destination="nMl-1w-hhg" id="otY-oI-2JI"/> | |
| 1201 | - <outlet property="titleCollectionView" destination="MSW-uR-PzG" id="M9L-C5-VB1"/> | |
| 1202 | - <outlet property="titleViewHeight" destination="6Lg-sB-5MW" id="6m2-b2-Ys4"/> | |
| 1203 | - </connections> | |
| 1204 | - </viewController> | |
| 1205 | - <placeholder placeholderIdentifier="IBFirstResponder" id="2zw-zY-MHj" userLabel="First Responder" sceneMemberID="firstResponder"/> | |
| 1206 | - <pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="0.5" id="XgT-x8-vAD"> | |
| 1207 | - <connections> | |
| 1208 | - <action selector="showAlertMenu:" destination="TRk-zG-DtG" id="p9e-Pt-bNd"/> | |
| 1209 | - </connections> | |
| 1210 | - </pongPressGestureRecognizer> | |
| 1211 | - </objects> | |
| 1212 | - <point key="canvasLocation" x="554" y="1534"/> | |
| 1213 | - </scene> | |
| 1214 | - <!--直播列表--> | |
| 1215 | - <scene sceneID="wpU-Ou-gWp"> | |
| 1216 | - <objects> | |
| 1217 | - <viewController storyboardIdentifier="LiveListViewController" id="lqb-XV-ZVz" customClass="LiveListViewController" customModule="YouerLiveVideo" customModuleProvider="target" sceneMemberID="viewController"> | |
| 1218 | - <layoutGuides> | |
| 1219 | - <viewControllerLayoutGuide type="top" id="brV-vZ-9W3"/> | |
| 1220 | - <viewControllerLayoutGuide type="bottom" id="cR5-Gc-hQY"/> | |
| 1221 | - </layoutGuides> | |
| 1222 | - <view key="view" contentMode="scaleToFill" id="Nko-iq-QeO"> | |
| 1223 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | |
| 1224 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
| 1225 | - <subviews> | |
| 1226 | - <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="isf-zi-cli"> | |
| 1227 | - <rect key="frame" x="0.0" y="64" width="375" height="170"/> | |
| 1228 | - <subviews> | |
| 1229 | - <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="default" translatesAutoresizingMaskIntoConstraints="NO" id="ngj-9g-5hs"> | |
| 1230 | - <rect key="frame" x="0.0" y="0.0" width="375" height="170"/> | |
| 1231 | - </imageView> | |
| 1232 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HQy-b9-ePQ"> | |
| 1233 | - <rect key="frame" x="187" y="0.0" width="1" height="170"/> | |
| 1234 | - <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1235 | - <constraints> | |
| 1236 | - <constraint firstAttribute="width" constant="1" id="hp0-BE-R8t"/> | |
| 1237 | - </constraints> | |
| 1238 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 1239 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 1240 | - <nil key="highlightedColor"/> | |
| 1241 | - </label> | |
| 1242 | - <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nhf-PK-1ec"> | |
| 1243 | - <rect key="frame" x="0.0" y="130" width="375" height="21"/> | |
| 1244 | - <subviews> | |
| 1245 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昵称:学事通" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gd5-Oe-oPN"> | |
| 1246 | - <rect key="frame" x="0.0" y="0.0" width="179" height="21"/> | |
| 1247 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | |
| 1248 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1249 | - <nil key="highlightedColor"/> | |
| 1250 | - </label> | |
| 1251 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="账号:18625774807" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8tX-Ga-zhU"> | |
| 1252 | - <rect key="frame" x="196" y="0.0" width="179" height="21"/> | |
| 1253 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | |
| 1254 | - <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1255 | - <nil key="highlightedColor"/> | |
| 1256 | - </label> | |
| 1257 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qyb-mf-TZD"> | |
| 1258 | - <rect key="frame" x="187" y="0.0" width="1" height="21"/> | |
| 1259 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1260 | - <constraints> | |
| 1261 | - <constraint firstAttribute="width" constant="1" id="L9M-ks-l68"/> | |
| 1262 | - <constraint firstAttribute="height" constant="21" id="e2e-8L-6ck"/> | |
| 1263 | - </constraints> | |
| 1264 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 1265 | - <nil key="textColor"/> | |
| 1266 | - <nil key="highlightedColor"/> | |
| 1267 | - </label> | |
| 1268 | - </subviews> | |
| 1269 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | |
| 1270 | - <constraints> | |
| 1271 | - <constraint firstItem="8tX-Ga-zhU" firstAttribute="leading" secondItem="qyb-mf-TZD" secondAttribute="trailing" constant="8" id="4zg-kG-yk5"/> | |
| 1272 | - <constraint firstAttribute="height" constant="21" id="7ar-AL-Ral"/> | |
| 1273 | - <constraint firstItem="gd5-Oe-oPN" firstAttribute="top" secondItem="nhf-PK-1ec" secondAttribute="top" id="957-1D-eE0"/> | |
| 1274 | - <constraint firstAttribute="trailing" secondItem="8tX-Ga-zhU" secondAttribute="trailing" id="BJQ-l9-S7J"/> | |
| 1275 | - <constraint firstItem="gd5-Oe-oPN" firstAttribute="leading" secondItem="nhf-PK-1ec" secondAttribute="leading" id="WNI-1e-htv"/> | |
| 1276 | - <constraint firstItem="qyb-mf-TZD" firstAttribute="leading" secondItem="gd5-Oe-oPN" secondAttribute="trailing" constant="8" id="bUf-Ti-6Ic"/> | |
| 1277 | - <constraint firstItem="qyb-mf-TZD" firstAttribute="centerY" secondItem="nhf-PK-1ec" secondAttribute="centerY" id="huQ-6k-n2Z"/> | |
| 1278 | - <constraint firstItem="8tX-Ga-zhU" firstAttribute="top" secondItem="nhf-PK-1ec" secondAttribute="top" id="iRE-hF-Zb2"/> | |
| 1279 | - <constraint firstAttribute="bottom" secondItem="8tX-Ga-zhU" secondAttribute="bottom" id="nGu-jK-iMz"/> | |
| 1280 | - <constraint firstItem="qyb-mf-TZD" firstAttribute="centerX" secondItem="nhf-PK-1ec" secondAttribute="centerX" id="nzA-SV-wGC"/> | |
| 1281 | - <constraint firstAttribute="bottom" secondItem="gd5-Oe-oPN" secondAttribute="bottom" id="thv-04-jSX"/> | |
| 1282 | - </constraints> | |
| 1283 | - </view> | |
| 1284 | - <imageView contentMode="redraw" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto.png" translatesAutoresizingMaskIntoConstraints="NO" id="9sO-7j-ngT"> | |
| 1285 | - <rect key="frame" x="147.5" y="30" width="80" height="80"/> | |
| 1286 | - <gestureRecognizers/> | |
| 1287 | - <constraints> | |
| 1288 | - <constraint firstAttribute="width" constant="80" id="aaT-WV-MjZ"/> | |
| 1289 | - <constraint firstAttribute="height" constant="80" id="bHl-VP-qSd"/> | |
| 1290 | - </constraints> | |
| 1291 | - <userDefinedRuntimeAttributes> | |
| 1292 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | |
| 1293 | - <integer key="value" value="40"/> | |
| 1294 | - </userDefinedRuntimeAttribute> | |
| 1295 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | |
| 1296 | - </userDefinedRuntimeAttributes> | |
| 1297 | - </imageView> | |
| 1298 | - </subviews> | |
| 1299 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1300 | - <constraints> | |
| 1301 | - <constraint firstItem="9sO-7j-ngT" firstAttribute="top" secondItem="isf-zi-cli" secondAttribute="top" constant="30" id="BJf-HM-jZp"/> | |
| 1302 | - <constraint firstAttribute="trailing" secondItem="nhf-PK-1ec" secondAttribute="trailing" id="Hhd-aT-EKJ"/> | |
| 1303 | - <constraint firstAttribute="trailing" secondItem="ngj-9g-5hs" secondAttribute="trailing" id="Lqf-5R-Vof"/> | |
| 1304 | - <constraint firstAttribute="bottom" secondItem="HQy-b9-ePQ" secondAttribute="bottom" id="OOY-Xj-O3f"/> | |
| 1305 | - <constraint firstItem="ngj-9g-5hs" firstAttribute="leading" secondItem="isf-zi-cli" secondAttribute="leading" id="QOW-6w-e4w"/> | |
| 1306 | - <constraint firstItem="nhf-PK-1ec" firstAttribute="leading" secondItem="isf-zi-cli" secondAttribute="leading" id="S5N-UG-TPg"/> | |
| 1307 | - <constraint firstItem="nhf-PK-1ec" firstAttribute="top" secondItem="9sO-7j-ngT" secondAttribute="bottom" constant="20" id="Sd1-f8-8MO"/> | |
| 1308 | - <constraint firstAttribute="bottom" secondItem="ngj-9g-5hs" secondAttribute="bottom" id="Z4Q-vc-VSM"/> | |
| 1309 | - <constraint firstItem="ngj-9g-5hs" firstAttribute="top" secondItem="isf-zi-cli" secondAttribute="top" id="doS-z4-SAG"/> | |
| 1310 | - <constraint firstItem="9sO-7j-ngT" firstAttribute="centerX" secondItem="isf-zi-cli" secondAttribute="centerX" id="eO5-ic-tZN"/> | |
| 1311 | - <constraint firstAttribute="height" constant="170" id="oir-ns-qxW"/> | |
| 1312 | - <constraint firstItem="HQy-b9-ePQ" firstAttribute="centerY" secondItem="isf-zi-cli" secondAttribute="centerY" id="pbA-aE-HU6"/> | |
| 1313 | - <constraint firstItem="HQy-b9-ePQ" firstAttribute="centerX" secondItem="isf-zi-cli" secondAttribute="centerX" id="sAd-ka-Cv5"/> | |
| 1314 | - <constraint firstItem="HQy-b9-ePQ" firstAttribute="top" secondItem="isf-zi-cli" secondAttribute="top" id="t0Y-B2-cX2"/> | |
| 1315 | - </constraints> | |
| 1316 | - </view> | |
| 1317 | - <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="nIY-nN-A62"> | |
| 1318 | - <rect key="frame" x="0.0" y="234" width="375" height="50"/> | |
| 1319 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 1320 | - <constraints> | |
| 1321 | - <constraint firstAttribute="height" constant="50" id="cYW-6s-rjR"/> | |
| 1322 | - </constraints> | |
| 1323 | - <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="nKo-gM-IVo"> | |
| 1324 | - <size key="itemSize" width="50" height="50"/> | |
| 1325 | - <size key="headerReferenceSize" width="0.0" height="0.0"/> | |
| 1326 | - <size key="footerReferenceSize" width="0.0" height="0.0"/> | |
| 1327 | - <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | |
| 1328 | - </collectionViewFlowLayout> | |
| 1329 | - <cells> | |
| 1330 | - <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="selectCell" id="zB6-cu-Maa" customClass="selectTypeCell" customModule="YouerLiveVideo" customModuleProvider="target"> | |
| 1331 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 1332 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
| 1333 | - <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> | |
| 1334 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 1335 | - <autoresizingMask key="autoresizingMask"/> | |
| 1336 | - <subviews> | |
| 1337 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全部" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Pk-up-2ih"> | |
| 1338 | - <rect key="frame" x="0.0" y="0.0" width="50" height="50"/> | |
| 1339 | - <fontDescription key="fontDescription" type="system" pointSize="12"/> | |
| 1340 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 1341 | - <nil key="highlightedColor"/> | |
| 1342 | - </label> | |
| 1343 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="suc-N0-vzy"> | |
| 1344 | - <rect key="frame" x="49" y="0.0" width="1" height="50"/> | |
| 1345 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
| 1346 | - <constraints> | |
| 1347 | - <constraint firstAttribute="width" constant="1" id="SSB-k1-YBs"/> | |
| 1348 | - </constraints> | |
| 1349 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 1350 | - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | |
| 1351 | - <nil key="highlightedColor"/> | |
| 1352 | - </label> | |
| 1353 | - <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WXf-Tu-oay"> | |
| 1354 | - <rect key="frame" x="0.0" y="47" width="50" height="3"/> | |
| 1355 | - <color key="backgroundColor" red="1" green="0.39607843139999999" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1356 | - <constraints> | |
| 1357 | - <constraint firstAttribute="height" constant="3" id="mmI-NI-hys"/> | |
| 1358 | - </constraints> | |
| 1359 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
| 1360 | - <nil key="textColor"/> | |
| 1361 | - <nil key="highlightedColor"/> | |
| 1362 | - </label> | |
| 1363 | - </subviews> | |
| 1364 | - </view> | |
| 1365 | - <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> | |
| 1366 | - <constraints> | |
| 1367 | - <constraint firstAttribute="trailing" secondItem="WXf-Tu-oay" secondAttribute="trailing" id="1DM-BI-kJ0"/> | |
| 1368 | - <constraint firstAttribute="bottom" secondItem="suc-N0-vzy" secondAttribute="bottom" id="1g5-P1-2B4"/> | |
| 1369 | - <constraint firstItem="3Pk-up-2ih" firstAttribute="top" secondItem="zB6-cu-Maa" secondAttribute="top" id="51r-YX-JTH"/> | |
| 1370 | - <constraint firstItem="3Pk-up-2ih" firstAttribute="leading" secondItem="zB6-cu-Maa" secondAttribute="leading" id="Fj8-by-KJ7"/> | |
| 1371 | - <constraint firstAttribute="trailing" secondItem="3Pk-up-2ih" secondAttribute="trailing" id="IVf-hi-Sp1"/> | |
| 1372 | - <constraint firstAttribute="trailing" secondItem="suc-N0-vzy" secondAttribute="trailing" id="Neu-CK-hfI"/> | |
| 1373 | - <constraint firstAttribute="bottom" secondItem="3Pk-up-2ih" secondAttribute="bottom" id="Se6-22-LPP"/> | |
| 1374 | - <constraint firstAttribute="bottom" secondItem="WXf-Tu-oay" secondAttribute="bottom" id="Uu3-5u-5pk"/> | |
| 1375 | - <constraint firstItem="suc-N0-vzy" firstAttribute="top" secondItem="zB6-cu-Maa" secondAttribute="top" id="hqo-pn-dz0"/> | |
| 1376 | - <constraint firstItem="WXf-Tu-oay" firstAttribute="leading" secondItem="zB6-cu-Maa" secondAttribute="leading" id="kKZ-BG-uZK"/> | |
| 1377 | - </constraints> | |
| 1378 | - <connections> | |
| 1379 | - <outlet property="currentLabel" destination="WXf-Tu-oay" id="UEG-W5-jCM"/> | |
| 1380 | - <outlet property="lineLabel" destination="suc-N0-vzy" id="pLb-HV-fJG"/> | |
| 1381 | - <outlet property="titleLabel" destination="3Pk-up-2ih" id="pmn-6t-PlP"/> | |
| 1382 | - </connections> | |
| 1383 | - </collectionViewCell> | |
| 1384 | - </cells> | |
| 1385 | - <connections> | |
| 1386 | - <outlet property="dataSource" destination="lqb-XV-ZVz" id="Qtm-ca-MEF"/> | |
| 1387 | - <outlet property="delegate" destination="lqb-XV-ZVz" id="JnV-MO-A85"/> | |
| 1388 | - </connections> | |
| 1389 | - </collectionView> | |
| 1390 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="qbV-V4-1Wb"> | |
| 1391 | - <rect key="frame" x="0.0" y="284" width="375" height="383"/> | |
| 1392 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1393 | - <prototypes> | |
| 1394 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="W7l-gM-baV"> | |
| 1395 | - <rect key="frame" x="0.0" y="28" width="375" height="44"/> | |
| 1396 | - <autoresizingMask key="autoresizingMask"/> | |
| 1397 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="W7l-gM-baV" id="fqd-mq-zcm"> | |
| 1398 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | |
| 1399 | - <autoresizingMask key="autoresizingMask"/> | |
| 1400 | - </tableViewCellContentView> | |
| 1401 | - </tableViewCell> | |
| 1402 | - </prototypes> | |
| 1403 | - <connections> | |
| 1404 | - <outlet property="dataSource" destination="lqb-XV-ZVz" id="LLR-GW-UNE"/> | |
| 1405 | - <outlet property="delegate" destination="lqb-XV-ZVz" id="dTl-a0-wgn"/> | |
| 1406 | - </connections> | |
| 1407 | - </tableView> | |
| 1408 | - </subviews> | |
| 1409 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1410 | - <constraints> | |
| 1411 | - <constraint firstItem="nIY-nN-A62" firstAttribute="top" secondItem="isf-zi-cli" secondAttribute="bottom" id="3JH-pc-PD9"/> | |
| 1412 | - <constraint firstAttribute="trailing" secondItem="qbV-V4-1Wb" secondAttribute="trailing" id="92K-HA-c7H"/> | |
| 1413 | - <constraint firstItem="nIY-nN-A62" firstAttribute="leading" secondItem="Nko-iq-QeO" secondAttribute="leading" id="Krk-n8-uMH"/> | |
| 1414 | - <constraint firstItem="qbV-V4-1Wb" firstAttribute="leading" secondItem="Nko-iq-QeO" secondAttribute="leading" id="Of1-gx-6kM"/> | |
| 1415 | - <constraint firstAttribute="trailing" secondItem="isf-zi-cli" secondAttribute="trailing" id="RTV-Ck-k8N"/> | |
| 1416 | - <constraint firstItem="isf-zi-cli" firstAttribute="top" secondItem="brV-vZ-9W3" secondAttribute="bottom" id="SHc-mb-QNi"/> | |
| 1417 | - <constraint firstItem="qbV-V4-1Wb" firstAttribute="top" secondItem="nIY-nN-A62" secondAttribute="bottom" id="TNI-YE-eyl"/> | |
| 1418 | - <constraint firstAttribute="trailing" secondItem="nIY-nN-A62" secondAttribute="trailing" id="dul-2C-eY2"/> | |
| 1419 | - <constraint firstItem="isf-zi-cli" firstAttribute="leading" secondItem="Nko-iq-QeO" secondAttribute="leading" id="eGy-yl-AP0"/> | |
| 1420 | - <constraint firstItem="cR5-Gc-hQY" firstAttribute="top" secondItem="qbV-V4-1Wb" secondAttribute="bottom" id="fBx-Ju-eLK"/> | |
| 1421 | - </constraints> | |
| 1422 | - </view> | |
| 1423 | - <navigationItem key="navigationItem" title="直播列表" id="P23-gm-beR"/> | |
| 1424 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | |
| 1425 | - <connections> | |
| 1426 | - <outlet property="iconImage" destination="9sO-7j-ngT" id="Egb-2z-ww1"/> | |
| 1427 | - <outlet property="liveListTableView" destination="qbV-V4-1Wb" id="M98-yR-OV9"/> | |
| 1428 | - <outlet property="nameLabel" destination="gd5-Oe-oPN" id="2u7-2Y-H1g"/> | |
| 1429 | - <outlet property="numberLabel" destination="8tX-Ga-zhU" id="iWh-fx-L62"/> | |
| 1430 | - <outlet property="titleCollectionView" destination="nIY-nN-A62" id="SBy-Yj-tPs"/> | |
| 1431 | - <outlet property="titleViewHeight" destination="cYW-6s-rjR" id="zYI-HZ-q3e"/> | |
| 1432 | - </connections> | |
| 1433 | - </viewController> | |
| 1434 | - <placeholder placeholderIdentifier="IBFirstResponder" id="3SM-jo-HZr" userLabel="First Responder" sceneMemberID="firstResponder"/> | |
| 1435 | - </objects> | |
| 1436 | - <point key="canvasLocation" x="-103.2" y="1533.2833583208396"/> | |
| 1437 | - </scene> | |
| 1438 | - <!--我的关注--> | |
| 1439 | - <scene sceneID="5Pj-um-Bnv"> | |
| 1440 | - <objects> | |
| 1441 | - <viewController storyboardIdentifier="MyAttentionViewController" id="zFh-S7-nli" customClass="MyAttentionViewController" customModule="YouerLiveVideo" customModuleProvider="target" sceneMemberID="viewController"> | |
| 1442 | - <layoutGuides> | |
| 1443 | - <viewControllerLayoutGuide type="top" id="JQ5-9k-ZmT"/> | |
| 1444 | - <viewControllerLayoutGuide type="bottom" id="SsA-vp-TY4"/> | |
| 1445 | - </layoutGuides> | |
| 1446 | - <view key="view" contentMode="scaleToFill" id="cty-Eh-WcV"> | |
| 1447 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | |
| 1448 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
| 1449 | - <subviews> | |
| 1450 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="80" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="IMO-Ya-Ykb"> | |
| 1451 | - <rect key="frame" x="0.0" y="64" width="375" height="603"/> | |
| 1452 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1453 | - <connections> | |
| 1454 | - <outlet property="dataSource" destination="zFh-S7-nli" id="l8w-94-Khb"/> | |
| 1455 | - <outlet property="delegate" destination="zFh-S7-nli" id="HDL-JZ-qph"/> | |
| 1456 | - </connections> | |
| 1457 | - </tableView> | |
| 1458 | - </subviews> | |
| 1459 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
| 1460 | - <constraints> | |
| 1461 | - <constraint firstItem="SsA-vp-TY4" firstAttribute="top" secondItem="IMO-Ya-Ykb" secondAttribute="bottom" id="6sW-ZQ-P0X"/> | |
| 1462 | - <constraint firstItem="IMO-Ya-Ykb" firstAttribute="leading" secondItem="cty-Eh-WcV" secondAttribute="leading" id="JeM-iL-Uv2"/> | |
| 1463 | - <constraint firstItem="IMO-Ya-Ykb" firstAttribute="top" secondItem="JQ5-9k-ZmT" secondAttribute="bottom" id="gA5-Vv-yWp"/> | |
| 1464 | - <constraint firstAttribute="trailing" secondItem="IMO-Ya-Ykb" secondAttribute="trailing" id="pMZ-Fu-L8q"/> | |
| 1465 | - </constraints> | |
| 1466 | - </view> | |
| 1467 | - <navigationItem key="navigationItem" title="我的关注" id="FDs-i4-32m"/> | |
| 1468 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | |
| 1469 | - <connections> | |
| 1470 | - <outlet property="tableView" destination="IMO-Ya-Ykb" id="tBt-n5-whv"/> | |
| 1471 | - </connections> | |
| 1472 | - </viewController> | |
| 1473 | - <placeholder placeholderIdentifier="IBFirstResponder" id="20X-Eg-8F0" userLabel="First Responder" sceneMemberID="firstResponder"/> | |
| 1474 | - </objects> | |
| 1475 | - <point key="canvasLocation" x="-103.2" y="2202.5487256371816"/> | |
| 1476 | - </scene> | |
| 1477 | 697 | </scenes> |
| 1478 | 698 | <resources> |
| 1479 | - <image name="default" width="375" height="167"/> | |
| 1480 | - <image name="defphoto.png" width="256" height="256"/> | |
| 1481 | 699 | <image name="loginBackGround" width="33" height="33"/> |
| 1482 | - <image name="psb.jpg" width="540" height="960"/> | |
| 1483 | 700 | <image name="userId.png" width="36" height="56"/> |
| 1484 | 701 | <image name="userPassword.png" width="31" height="41"/> |
| 1485 | 702 | <image name="上传头像.png" width="70" height="70"/> |
| 1486 | - <image name="收拢.png" width="15" height="25"/> | |
| 1487 | 703 | <image name="编辑.png" width="35" height="31"/> |
| 1488 | - <image name="观看.png" width="30" height="23"/> | |
| 1489 | 704 | </resources> |
| 1490 | 705 | </document> | ... | ... |
YouerLiveVideo/YouerLiveVideo/util/account.swift
| ... | ... | @@ -106,7 +106,7 @@ class AccountManager{ |
| 106 | 106 | return topVC! |
| 107 | 107 | } |
| 108 | 108 | func refreshUserInfo(completionHandler:((Bool) -> Void)?){ |
| 109 | - AppDelegate.instance().httpServer.uplocalUserInfo { (str, error) -> Void in | |
| 109 | + AppDelegate.instance().httpServer.getCurrentInfo { (str, error) -> Void in | |
| 110 | 110 | if error == nil { |
| 111 | 111 | if JSON.fromString(jsonString: str)!["status"].intValue==4 { |
| 112 | 112 | AppDelegate.instance().httpServer.refreshToken(completionHandler: { (str, error) in |
| ... | ... | @@ -158,14 +158,14 @@ class Setting{ |
| 158 | 158 | |
| 159 | 159 | class func saveUserInfo(_ info:String?)->Bool{ |
| 160 | 160 | if let ret=info{ |
| 161 | - UserDefaults.standard.set(ret, forKey: HTTPServer.URL_LIVEUSERINFO) | |
| 161 | + UserDefaults.standard.set(ret, forKey: HTTPServer.URL_ACCOUNTCURRENTINFO) | |
| 162 | 162 | }else{ |
| 163 | - UserDefaults.standard.set(nil, forKey: HTTPServer.URL_LIVEUSERINFO) | |
| 163 | + UserDefaults.standard.set(nil, forKey: HTTPServer.URL_ACCOUNTCURRENTINFO) | |
| 164 | 164 | } |
| 165 | 165 | return UserDefaults.standard.synchronize() |
| 166 | 166 | } |
| 167 | 167 | class func getUserInfo()->JSON?{ |
| 168 | - let ob = UserDefaults.standard.string(forKey: HTTPServer.URL_LIVEUSERINFO) | |
| 168 | + let ob = UserDefaults.standard.string(forKey: HTTPServer.URL_ACCOUNTCURRENTINFO) | |
| 169 | 169 | return JSON.fromString(jsonString: ob) |
| 170 | 170 | } |
| 171 | 171 | class func saveJson(json:JSON,forKey key:String)->Bool{ | ... | ... |
YouerLiveVideo/YouerLiveVideo/util/network.swift
| ... | ... | @@ -89,7 +89,7 @@ final class KHttp{ |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | final class HTTPServer{ |
| 92 | - static let HOST="http://60.190.202.49:8096/swagger/ui/index#"//"https://zbapi.myjxt.com"//"http://60.190.202.49:8096/swagger/ui/index#" | |
| 92 | + static let HOST="http://60.190.202.49:8096"//"https://zbapi.myjxt.com"//"http://60.190.202.49:8096/swagger/ui/index#" | |
| 93 | 93 | |
| 94 | 94 | static let URL_OAUTH_TOKEN=HOST+"/OAuth/Token" //登录 |
| 95 | 95 | |
| ... | ... | @@ -110,16 +110,16 @@ final class HTTPServer{ |
| 110 | 110 | static let URL_UPLOAD_FILE=HOST+"/api/Common/UploadFile" //文件上传接口,接受图片(gif,jpg,jpeg,png,bmp)、视频(flv,mp4)、音频(mp3,aac) |
| 111 | 111 | |
| 112 | 112 | static let URL_COURSEGETHOTRESCOURSE=HOST+"/api/Course/GetHotRescourse" //获取热门微课/课件/电视台节目 |
| 113 | - static let URL_COMMONGETSUBJECTS=HOST+"/api/Course/GetResourceCount" //获取微课/课件/电视台节目的总数量 | |
| 114 | - static let URL_COMMONGETSCHOOLTYPES=HOST+"/api/Course/GetTopTenSchool" //获取十佳校园电视台 | |
| 115 | - static let URL_COMMONGETLUNBOLIST=HOST+"/api/Course/GetExcellentSchool" //获取优秀电视台 | |
| 116 | - static let URL_COMMONGETGRADES=HOST+"/api/Course/GetExcellentProgram" //获取校园电视节目 | |
| 117 | - static let URL_COMMONGETCOURSEWAVES=HOST+"/api/Course/GetResourceModel" //获取单个课程 | |
| 118 | - static let URL_UPLOAD_FILE=HOST+"/api/Course/GetResourceList" //根据知识点/教材等各种条件来分页获取资源/课件 | |
| 119 | - static let URL_COMMONGETLUNBOLIST=HOST+"/api/Course/GetWaveCatagory" //获取教材目录(已初始化成ztree所要求的格式) | |
| 120 | - static let URL_COMMONGETGRADES=HOST+"/api/Course/GetTopicCatagory" //获取知识点目录(已初始化成ztree所要求的格式) | |
| 121 | - static let URL_COMMONGETCOURSEWAVES=HOST+"/api/Course/GetTestCatagory" //获取考点目录(已初始化成ztree所要求的格式) | |
| 122 | - static let URL_UPLOAD_FILE=HOST+"/api/Course/GetTelevisionStationCatagory" //获取电视台目录 | |
| 113 | + static let URL_COURSEGETRESOURCECOUNT=HOST+"/api/Course/GetResourceCount" //获取微课/课件/电视台节目的总数量 | |
| 114 | + static let URL_COURSEGETTOPTENSCHOOL=HOST+"/api/Course/GetTopTenSchool" //获取十佳校园电视台 | |
| 115 | + static let URL_COURSEGETEXCELLENTSCHOOL=HOST+"/api/Course/GetExcellentSchool" //获取优秀电视台 | |
| 116 | + static let URL_COURSEGETEXCELLENTPROGRAM=HOST+"/api/Course/GetExcellentProgram" //获取校园电视节目 | |
| 117 | + static let URL_COURSEGETRESOURCEMODEL=HOST+"/api/Course/GetResourceModel" //获取单个课程 | |
| 118 | + static let URL_COURSEGETRESOURCELIST=HOST+"/api/Course/GetResourceList" //根据知识点/教材等各种条件来分页获取资源/课件 | |
| 119 | + static let URL_COURSEGETWAVEGATAGORY=HOST+"/api/Course/GetWaveCatagory" //获取教材目录(已初始化成ztree所要求的格式) | |
| 120 | + static let URL_COURSEGETTOPICCATAGORY=HOST+"/api/Course/GetTopicCatagory" //获取知识点目录(已初始化成ztree所要求的格式) | |
| 121 | + static let URL_COURSEGETTESTCATAGORY=HOST+"/api/Course/GetTestCatagory" //获取考点目录(已初始化成ztree所要求的格式) | |
| 122 | + static let URL_COURSEGETTELEVISIONSTATIONCATAGORY=HOST+"/api/Course/GetTelevisionStationCatagory" //获取电视台目录 | |
| 123 | 123 | |
| 124 | 124 | |
| 125 | 125 | var token:String?{ |
| ... | ... | @@ -174,8 +174,8 @@ final class HTTPServer{ |
| 174 | 174 | KHttp.GET(url: HTTPServer.URL_ACCOUNTUPDATEPASSWORD, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) |
| 175 | 175 | } |
| 176 | 176 | //获取当前登陆用户的信息 |
| 177 | - func getCurrentInfo(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 178 | - KHttp.GET(url: HTTPServer.URL_ACCOUNTCURRENTINFO, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 177 | + func getCurrentInfo(completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 178 | + KHttp.GET(url: HTTPServer.URL_ACCOUNTCURRENTINFO, headers:["Authorization":token!], completionHandler: completionHandler) | |
| 179 | 179 | } |
| 180 | 180 | //激活账号 |
| 181 | 181 | func postActivateAccount(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ |
| ... | ... | @@ -216,6 +216,51 @@ final class HTTPServer{ |
| 216 | 216 | KHttp.GET(url: HTTPServer.URL_COMMONGETCOURSEWAVES, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) |
| 217 | 217 | } |
| 218 | 218 | //MARK:-Course |
| 219 | + //获取热门微课/课件/电视台节目 | |
| 220 | + func getHotRescourse(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 221 | + KHttp.GET(url: HTTPServer.URL_COURSEGETHOTRESCOURSE, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 222 | + } | |
| 223 | + //获取微课/课件/电视台节目的总数量 | |
| 224 | + func getResourceCount(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 225 | + KHttp.GET(url: HTTPServer.URL_COURSEGETRESOURCECOUNT, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 226 | + } | |
| 227 | + //获取十佳校园电视台 | |
| 228 | + func getTopTenSchool(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 229 | + KHttp.GET(url: HTTPServer.URL_COURSEGETTOPTENSCHOOL, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 230 | + } | |
| 231 | + | |
| 232 | + //获取优秀电视台 | |
| 233 | + func postExcellentSchool(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 234 | + KHttp.POST(url: HTTPServer.URL_COURSEGETEXCELLENTSCHOOL, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 235 | + } | |
| 236 | + //获取校园电视节目 | |
| 237 | + func postExcellentProgram(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 238 | + KHttp.POST(url: HTTPServer.URL_COURSEGETEXCELLENTPROGRAM, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 239 | + } | |
| 240 | + //获取单个课程 | |
| 241 | + func getResourceModel(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 242 | + KHttp.GET(url: HTTPServer.URL_COURSEGETRESOURCEMODEL, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 243 | + } | |
| 244 | + //根据知识点/教材等各种条件来分页获取资源/课件 | |
| 245 | + func postResourceList(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 246 | + KHttp.POST(url: HTTPServer.URL_COURSEGETRESOURCELIST, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 247 | + } | |
| 248 | + //获取教材目录(已初始化成ztree所要求的格式) | |
| 249 | + func getWaveCatagory(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 250 | + KHttp.GET(url: HTTPServer.URL_COURSEGETWAVEGATAGORY, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 251 | + } | |
| 252 | + //获取知识点目录(已初始化成ztree所要求的格式) | |
| 253 | + func getTopicCatagory(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 254 | + KHttp.GET(url: HTTPServer.URL_COURSEGETTOPICCATAGORY, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 255 | + } | |
| 256 | + //获取考点目录(已初始化成ztree所要求的格式) | |
| 257 | + func getTestCatagory(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 258 | + KHttp.GET(url: HTTPServer.URL_COURSEGETTESTCATAGORY, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 259 | + } | |
| 260 | + //获取电视台目录 | |
| 261 | + func getTelevisionStationCatagory(parameters: [String : AnyObject]?,completionHandler:@escaping (String?, NSError?) -> ()){ | |
| 262 | + KHttp.GET(url: HTTPServer.URL_COURSEGETTELEVISIONSTATIONCATAGORY, parameters: parameters,headers:["Authorization":token!], completionHandler: completionHandler) | |
| 263 | + } | |
| 219 | 264 | //MARK:-DataStatistics |
| 220 | 265 | //MARK:-UserCenter |
| 221 | 266 | ... | ... |