Commit 027ee0a9c88b64985e8dbe5e75f614c77f7deb1e
1 parent
2fe02865
Exists in
newLive
no message
Showing
2 changed files
with
16 additions
and
4 deletions
Show diff stats
YouerLiveVideo/YouerLiveVideo/controllers/User/User.storyboard
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> | 1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> | ||
3 | <device id="retina4_7" orientation="portrait"> | 3 | <device id="retina4_7" orientation="portrait"> |
4 | <adaptation id="fullscreen"/> | 4 | <adaptation id="fullscreen"/> |
5 | </device> | 5 | </device> |
@@ -172,7 +172,7 @@ | @@ -172,7 +172,7 @@ | ||
172 | <rect key="frame" x="0.0" y="20" width="375" height="577"/> | 172 | <rect key="frame" x="0.0" y="20" width="375" height="577"/> |
173 | <color key="backgroundColor" red="0.93503493069999999" green="0.93562394380000002" blue="0.96585971120000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 173 | <color key="backgroundColor" red="0.93503493069999999" green="0.93562394380000002" blue="0.96585971120000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
174 | <prototypes> | 174 | <prototypes> |
175 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="cell" id="6lf-ye-czT" customClass="AppSettingCell" customModule="YouerLiveVideo" customModuleProvider="target"> | 175 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="cell" id="6lf-ye-czT" customClass="AppSettingCell" customModule="YouerLiveVideo" customModuleProvider="target"> |
176 | <rect key="frame" x="0.0" y="28" width="375" height="44"/> | 176 | <rect key="frame" x="0.0" y="28" width="375" height="44"/> |
177 | <autoresizingMask key="autoresizingMask"/> | 177 | <autoresizingMask key="autoresizingMask"/> |
178 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6lf-ye-czT" id="EpN-M2-4mo"> | 178 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6lf-ye-czT" id="EpN-M2-4mo"> |
@@ -220,6 +220,12 @@ | @@ -220,6 +220,12 @@ | ||
220 | <state key="normal" title="退出当前账号"> | 220 | <state key="normal" title="退出当前账号"> |
221 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 221 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
222 | </state> | 222 | </state> |
223 | + <userDefinedRuntimeAttributes> | ||
224 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
225 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
226 | + <integer key="value" value="5"/> | ||
227 | + </userDefinedRuntimeAttribute> | ||
228 | + </userDefinedRuntimeAttributes> | ||
223 | <connections> | 229 | <connections> |
224 | <action selector="quitBtnClick:" destination="DOf-c9-nNw" eventType="touchUpInside" id="ySW-ZV-EoN"/> | 230 | <action selector="quitBtnClick:" destination="DOf-c9-nNw" eventType="touchUpInside" id="ySW-ZV-EoN"/> |
225 | </connections> | 231 | </connections> |
@@ -472,6 +478,12 @@ | @@ -472,6 +478,12 @@ | ||
472 | <state key="normal" title="确认修改"> | 478 | <state key="normal" title="确认修改"> |
473 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 479 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
474 | </state> | 480 | </state> |
481 | + <userDefinedRuntimeAttributes> | ||
482 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
483 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
484 | + <integer key="value" value="5"/> | ||
485 | + </userDefinedRuntimeAttribute> | ||
486 | + </userDefinedRuntimeAttributes> | ||
475 | <connections> | 487 | <connections> |
476 | <action selector="agrenChangePasswordBtnClick:" destination="HIn-e8-Pzh" eventType="touchUpInside" id="qqi-Og-eWN"/> | 488 | <action selector="agrenChangePasswordBtnClick:" destination="HIn-e8-Pzh" eventType="touchUpInside" id="qqi-Og-eWN"/> |
477 | </connections> | 489 | </connections> |
YouerLiveVideo/YouerLiveVideo/controllers/User/UserViewController.swift
@@ -44,7 +44,7 @@ class UserViewController: UIViewController { | @@ -44,7 +44,7 @@ class UserViewController: UIViewController { | ||
44 | 44 | ||
45 | @IBAction func userEditClcik(_ sender: Any) { | 45 | @IBAction func userEditClcik(_ sender: Any) { |
46 | let vc = Story.instantiateViewControllerWithIdentifier("UserEditViewControllerVC", storyName: "User") as! UserEditViewController | 46 | let vc = Story.instantiateViewControllerWithIdentifier("UserEditViewControllerVC", storyName: "User") as! UserEditViewController |
47 | - vc.title = "用户" | 47 | + vc.title = "个人信息" |
48 | self.navigationController?.pushViewController(vc, animated: true) | 48 | self.navigationController?.pushViewController(vc, animated: true) |
49 | } | 49 | } |
50 | 50 |