新配置界面
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// IFishHotBarCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/22.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "IfishHotBarVo.h"
|
||||
|
||||
@interface IFishHotBarCell : UITableViewCell
|
||||
@property(nonatomic,strong)IfishHotBarVo*vo;
|
||||
@end
|
||||
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// IFishHotBarCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/22.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IFishHotBarCell.h"
|
||||
|
||||
@interface IFishHotBarCell()
|
||||
@property (weak, nonatomic) IBOutlet UILabel *titleLbale;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *subTitleLable;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *iconImgV;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *arrowImgV;
|
||||
@end
|
||||
|
||||
@implementation IFishHotBarCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
-(void)setVo:(IfishHotBarVo *)vo{
|
||||
_vo=vo;
|
||||
self.titleLbale.text=vo.title;
|
||||
self.subTitleLable.text=vo.subTitle;
|
||||
self.iconImgV.image=[UIImage imageNamed:vo.iconUrl];
|
||||
self.arrowImgV.hidden=!vo.isShowArrow;
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="70" id="KGk-i7-Jjw" customClass="IFishHotBarCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="70"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="69.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="温度图标" translatesAutoresizingMaskIntoConstraints="NO" id="4bv-OB-vC4">
|
||||
<rect key="frame" x="10" y="22" width="21" height="26"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="设置水温" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JXp-mV-pUz">
|
||||
<rect key="frame" x="41" y="26" width="61.5" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" red="0.42745098039215684" green="0.42745098039215684" blue="0.42745098039215684" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="箭头" translatesAutoresizingMaskIntoConstraints="NO" id="MDc-Sh-69Z">
|
||||
<rect key="frame" x="294" y="30" width="16" height="10"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="16" id="Ydb-4s-wh8"/>
|
||||
<constraint firstAttribute="height" constant="10" id="ht2-GT-W7M"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bqk-eu-G7V">
|
||||
<rect key="frame" x="41" y="46" width="0.0" height="0.0"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.42745098039215684" green="0.42745098039215684" blue="0.42745098039215684" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="MDc-Sh-69Z" secondAttribute="trailing" constant="10" id="1u9-YP-oIE"/>
|
||||
<constraint firstItem="bqk-eu-G7V" firstAttribute="leading" secondItem="JXp-mV-pUz" secondAttribute="leading" id="IHa-is-G3q"/>
|
||||
<constraint firstItem="bqk-eu-G7V" firstAttribute="top" secondItem="JXp-mV-pUz" secondAttribute="bottom" constant="2" id="KaT-d3-W2s"/>
|
||||
<constraint firstItem="4bv-OB-vC4" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="QSY-Vc-NAV"/>
|
||||
<constraint firstItem="JXp-mV-pUz" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="fai-hr-fRt"/>
|
||||
<constraint firstItem="JXp-mV-pUz" firstAttribute="leading" secondItem="4bv-OB-vC4" secondAttribute="trailing" constant="10" id="ffc-E4-hTy"/>
|
||||
<constraint firstItem="MDc-Sh-69Z" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="jjq-1c-NNB"/>
|
||||
<constraint firstItem="4bv-OB-vC4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="mGQ-Zf-dGD"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="arrowImgV" destination="MDc-Sh-69Z" id="llc-Y5-NSt"/>
|
||||
<outlet property="iconImgV" destination="4bv-OB-vC4" id="1sz-dr-7UL"/>
|
||||
<outlet property="subTitleLable" destination="bqk-eu-G7V" id="ESJ-og-s97"/>
|
||||
<outlet property="titleLbale" destination="JXp-mV-pUz" id="Pia-pV-hKb"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="243" y="106"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="温度图标" width="21" height="26"/>
|
||||
<image name="箭头" width="21" height="15"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// IFishWaterChangeView.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/24.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
@protocol ChangeWaterDelegate <NSObject>
|
||||
@optional
|
||||
-(void)didSelectRow1:(NSString*)v andRow2:(NSString*)v2;
|
||||
@end
|
||||
|
||||
@interface IFishWaterChangeView : UIView
|
||||
@property (weak, nonatomic) IBOutlet UIPickerView *picker;
|
||||
@property(nonatomic,weak)id<ChangeWaterDelegate> myDelegate;
|
||||
@property(nonatomic,assign)NSInteger viewType;
|
||||
@end
|
||||
@@ -0,0 +1,114 @@
|
||||
//
|
||||
// IFishWaterChangeView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/24.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IFishWaterChangeView.h"
|
||||
|
||||
@interface IFishWaterChangeView()<UIPickerViewDelegate,UIPickerViewDataSource>
|
||||
|
||||
@property(nonatomic,strong)NSArray*data1;
|
||||
@property(nonatomic,strong)NSArray*data2;
|
||||
@property(nonatomic,copy)NSString*selectVaule1;
|
||||
@property(nonatomic,copy)NSString*selectVaule2;
|
||||
@property (weak, nonatomic) IBOutlet UIView *topTempPicker;
|
||||
@property (weak, nonatomic) IBOutlet UIView *bottomPicker;
|
||||
@property (weak, nonatomic) IBOutlet UIView *heightView;
|
||||
@end
|
||||
|
||||
@implementation IFishWaterChangeView
|
||||
|
||||
-(NSArray *)data1{
|
||||
if (_data1==nil) {
|
||||
_data1=@[@"1",@"2",@"3",@"4"];
|
||||
_data2=@[@"1:00",@"2:00",@"3:00",@"4:00"];
|
||||
}
|
||||
return _data1;
|
||||
}
|
||||
|
||||
-(void)setViewType:(NSInteger)viewType{
|
||||
_viewType=viewType;
|
||||
self.topTempPicker.hidden=YES;
|
||||
self.heightView.hidden=YES;
|
||||
self.bottomPicker.hidden=YES;
|
||||
if (viewType==0) {// 设置水温
|
||||
self.topTempPicker.hidden=NO;
|
||||
self.bottomPicker.hidden=NO;
|
||||
}else if(viewType==1){//容器大小
|
||||
self.heightView.hidden=NO;
|
||||
self.bottomPicker.hidden=NO;
|
||||
}else if (viewType==2){//流量
|
||||
self.bottomPicker.hidden=NO;
|
||||
}else if (viewType==4){//换水周期
|
||||
self.bottomPicker.hidden=NO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- (IBAction)clickSubmit:(id)sender {
|
||||
self.hidden=YES;
|
||||
if(_viewType==5){
|
||||
[self.myDelegate didSelectRow1:self.selectVaule1 andRow2:self.selectVaule2];
|
||||
}
|
||||
}
|
||||
|
||||
-(void)awakeFromNib{
|
||||
[super awakeFromNib];
|
||||
}
|
||||
- (IBAction)clickBg:(id)sender {
|
||||
self.hidden=YES;
|
||||
}
|
||||
|
||||
//返回多少列
|
||||
-(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView{
|
||||
return 2;
|
||||
}
|
||||
|
||||
//返回多少行
|
||||
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component{
|
||||
return self.data1.count;
|
||||
}
|
||||
|
||||
//每一行的数据
|
||||
-(NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component{
|
||||
if(component==0){
|
||||
return self.data1[row];
|
||||
}
|
||||
return self.data2[row];
|
||||
}
|
||||
|
||||
//选中时的效果
|
||||
-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component{
|
||||
// self.selectValue = self.data[row];
|
||||
if (component==0) {
|
||||
self.selectVaule1=self.data1[row];
|
||||
}else{
|
||||
self.selectVaule2=self.data2[row];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//返回高度
|
||||
-(CGFloat)pickerView:(UIPickerView *)pickerView rowHeightForComponent:(NSInteger)component{
|
||||
return 35.0f;
|
||||
}
|
||||
|
||||
//返回宽度
|
||||
//-(CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component{
|
||||
// return ZYAppWidth;
|
||||
//}
|
||||
|
||||
//-(UIView*)pickerView:(UIPickerView*)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView*)view {
|
||||
// UIView *cellView = view;
|
||||
// if (!cellView) {
|
||||
// cellView = [[UIView alloc] init];
|
||||
// }
|
||||
// cellView.backgroundColor = [UIColor redColor];
|
||||
// return cellView;
|
||||
//}
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,247 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IFishWaterChangeView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sS3-bH-IDb">
|
||||
<rect key="frame" x="12" y="379" width="351" height="188"/>
|
||||
<subviews>
|
||||
<pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RVp-L7-2i4">
|
||||
<rect key="frame" x="2" y="30" width="347" height="121"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="121" id="IpS-8R-glg"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="iN0-l3-epB" id="bpf-F0-O6b"/>
|
||||
<outlet property="delegate" destination="iN0-l3-epB" id="Iu9-eg-yXC"/>
|
||||
</connections>
|
||||
</pickerView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="C1u-7E-RB7">
|
||||
<rect key="frame" x="0.0" y="0.0" width="351" height="32"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="请设置预警温度" translatesAutoresizingMaskIntoConstraints="NO" id="xAc-ty-lpS">
|
||||
<rect key="frame" x="0.0" y="0.0" width="351" height="32"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="换水周期选择" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4pR-AW-f8n">
|
||||
<rect key="frame" x="23" y="7.5" width="92" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="S6l-x3-P2c">
|
||||
<rect key="frame" x="295" y="1" width="52" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<state key="normal" backgroundImage="开关按钮">
|
||||
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="4pR-AW-f8n" firstAttribute="centerY" secondItem="C1u-7E-RB7" secondAttribute="centerY" id="CRt-1B-fzV"/>
|
||||
<constraint firstAttribute="bottom" secondItem="xAc-ty-lpS" secondAttribute="bottom" id="K6j-dv-bHW"/>
|
||||
<constraint firstAttribute="trailing" secondItem="xAc-ty-lpS" secondAttribute="trailing" id="M5l-nx-wBd"/>
|
||||
<constraint firstItem="4pR-AW-f8n" firstAttribute="leading" secondItem="C1u-7E-RB7" secondAttribute="leading" constant="23" id="QDK-TY-a4v"/>
|
||||
<constraint firstItem="xAc-ty-lpS" firstAttribute="top" secondItem="C1u-7E-RB7" secondAttribute="top" id="iLT-E1-Khh"/>
|
||||
<constraint firstAttribute="height" constant="32" id="sdG-zg-Ubs"/>
|
||||
<constraint firstItem="xAc-ty-lpS" firstAttribute="leading" secondItem="C1u-7E-RB7" secondAttribute="leading" id="uv8-Vh-cfq"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="确定" translatesAutoresizingMaskIntoConstraints="NO" id="uSM-gf-3du">
|
||||
<rect key="frame" x="0.0" y="149" width="351" height="39"/>
|
||||
</imageView>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DFn-St-4KQ">
|
||||
<rect key="frame" x="0.0" y="149" width="351" height="39"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<state key="normal" title="确定">
|
||||
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="clickSubmit:" destination="iN0-l3-epB" eventType="touchUpInside" id="OjP-Px-OoZ"/>
|
||||
</connections>
|
||||
</button>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="虚线" translatesAutoresizingMaskIntoConstraints="NO" id="QsD-Cm-E7o">
|
||||
<rect key="frame" x="169" y="38" width="12" height="112"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="112" id="Jgo-Kw-3Zi"/>
|
||||
<constraint firstAttribute="width" constant="12" id="rvZ-WU-Mep"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="uSM-gf-3du" firstAttribute="top" secondItem="DFn-St-4KQ" secondAttribute="top" id="2Mm-TX-Ho8"/>
|
||||
<constraint firstItem="QsD-Cm-E7o" firstAttribute="centerY" secondItem="sS3-bH-IDb" secondAttribute="centerY" id="3Jk-ON-XOc"/>
|
||||
<constraint firstItem="DFn-St-4KQ" firstAttribute="top" secondItem="RVp-L7-2i4" secondAttribute="bottom" constant="-2" id="72H-6i-OnZ"/>
|
||||
<constraint firstAttribute="trailing" secondItem="RVp-L7-2i4" secondAttribute="trailing" constant="2" id="BSX-ha-MSF"/>
|
||||
<constraint firstItem="RVp-L7-2i4" firstAttribute="leading" secondItem="sS3-bH-IDb" secondAttribute="leading" constant="2" id="Duh-mE-cF7"/>
|
||||
<constraint firstItem="DFn-St-4KQ" firstAttribute="leading" secondItem="sS3-bH-IDb" secondAttribute="leading" id="KP6-ro-VqG"/>
|
||||
<constraint firstAttribute="height" constant="188" id="QO6-Fn-SJj"/>
|
||||
<constraint firstAttribute="trailing" secondItem="uSM-gf-3du" secondAttribute="trailing" id="RRq-Hk-N77"/>
|
||||
<constraint firstAttribute="trailing" secondItem="C1u-7E-RB7" secondAttribute="trailing" id="cG9-V3-y7h"/>
|
||||
<constraint firstAttribute="bottom" secondItem="DFn-St-4KQ" secondAttribute="bottom" id="dMR-sN-atJ"/>
|
||||
<constraint firstAttribute="bottom" secondItem="uSM-gf-3du" secondAttribute="bottom" id="fMd-o1-a2o"/>
|
||||
<constraint firstItem="RVp-L7-2i4" firstAttribute="top" secondItem="C1u-7E-RB7" secondAttribute="bottom" constant="-2" id="jUy-wH-ERt"/>
|
||||
<constraint firstAttribute="trailing" secondItem="DFn-St-4KQ" secondAttribute="trailing" id="ltS-Cj-2lG"/>
|
||||
<constraint firstItem="C1u-7E-RB7" firstAttribute="top" secondItem="sS3-bH-IDb" secondAttribute="top" id="nWv-t9-wGe"/>
|
||||
<constraint firstItem="QsD-Cm-E7o" firstAttribute="centerX" secondItem="sS3-bH-IDb" secondAttribute="centerX" id="zBn-X6-4WK"/>
|
||||
<constraint firstItem="C1u-7E-RB7" firstAttribute="leading" secondItem="sS3-bH-IDb" secondAttribute="leading" id="zFi-SE-D7e"/>
|
||||
<constraint firstItem="uSM-gf-3du" firstAttribute="leading" secondItem="sS3-bH-IDb" secondAttribute="leading" id="zwB-mw-2xl"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||
<integer key="value" value="10"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UWW-Ib-xQ3" userLabel="设置容器高度">
|
||||
<rect key="frame" x="14" y="414" width="347" height="118"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="长宽" translatesAutoresizingMaskIntoConstraints="NO" id="VGT-Vs-9H2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="347" height="118"/>
|
||||
</imageView>
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="8cR-O7-A7z">
|
||||
<rect key="frame" x="58" y="57" width="49" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="49" id="ITT-cl-rS3"/>
|
||||
<constraint firstAttribute="height" constant="30" id="SZ5-OH-yXi"/>
|
||||
</constraints>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="AC4-7c-ujI">
|
||||
<rect key="frame" x="221" y="20" width="48" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="B1X-7U-tcD"/>
|
||||
<constraint firstAttribute="width" constant="48" id="LVS-he-GHZ"/>
|
||||
</constraints>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="2LO-Mp-im1">
|
||||
<rect key="frame" x="58" y="20" width="49" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="2yd-7Q-Ykb"/>
|
||||
<constraint firstAttribute="width" constant="49" id="ynt-rK-riP"/>
|
||||
</constraints>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="VGT-Vs-9H2" secondAttribute="bottom" id="9TD-pz-c2u"/>
|
||||
<constraint firstItem="2LO-Mp-im1" firstAttribute="top" secondItem="UWW-Ib-xQ3" secondAttribute="top" constant="20" id="9r2-wR-fa1"/>
|
||||
<constraint firstItem="8cR-O7-A7z" firstAttribute="top" secondItem="2LO-Mp-im1" secondAttribute="bottom" constant="7" id="FoN-Ym-ygh"/>
|
||||
<constraint firstItem="2LO-Mp-im1" firstAttribute="leading" secondItem="UWW-Ib-xQ3" secondAttribute="leading" constant="58" id="LeA-cK-gXT"/>
|
||||
<constraint firstItem="VGT-Vs-9H2" firstAttribute="top" secondItem="UWW-Ib-xQ3" secondAttribute="top" id="ZMR-fp-1b0"/>
|
||||
<constraint firstItem="AC4-7c-ujI" firstAttribute="top" secondItem="UWW-Ib-xQ3" secondAttribute="top" constant="20" id="eBB-wB-pPq"/>
|
||||
<constraint firstAttribute="trailing" secondItem="VGT-Vs-9H2" secondAttribute="trailing" id="fwJ-As-qhZ"/>
|
||||
<constraint firstItem="8cR-O7-A7z" firstAttribute="centerX" secondItem="2LO-Mp-im1" secondAttribute="centerX" id="iST-gw-MgC"/>
|
||||
<constraint firstItem="VGT-Vs-9H2" firstAttribute="leading" secondItem="UWW-Ib-xQ3" secondAttribute="leading" id="rHT-K0-Jjm"/>
|
||||
<constraint firstAttribute="trailing" secondItem="AC4-7c-ujI" secondAttribute="trailing" constant="78" id="tVe-FM-oCk"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GUi-mC-ZWy" userLabel="设置加热器">
|
||||
<rect key="frame" x="12" y="229" width="351" height="150"/>
|
||||
<subviews>
|
||||
<pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QZi-AX-KLU">
|
||||
<rect key="frame" x="2" y="32" width="347" height="121"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="121" id="2En-mk-g0A"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="iN0-l3-epB" id="zHJ-Xe-CPh"/>
|
||||
<outlet property="delegate" destination="iN0-l3-epB" id="aDE-0l-Fdd"/>
|
||||
</connections>
|
||||
</pickerView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4IT-77-VkG">
|
||||
<rect key="frame" x="0.0" y="0.0" width="351" height="32"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="请设置加热温度" translatesAutoresizingMaskIntoConstraints="NO" id="F6q-ri-gcL">
|
||||
<rect key="frame" x="0.0" y="0.0" width="351" height="32"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="设置加热温度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SXA-fW-bql" userLabel="设置加热温度">
|
||||
<rect key="frame" x="23" y="7.5" width="92" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="F6q-ri-gcL" firstAttribute="top" secondItem="4IT-77-VkG" secondAttribute="top" id="8WV-X9-ZJM"/>
|
||||
<constraint firstItem="SXA-fW-bql" firstAttribute="centerY" secondItem="4IT-77-VkG" secondAttribute="centerY" id="LIY-Xa-PVU"/>
|
||||
<constraint firstItem="F6q-ri-gcL" firstAttribute="leading" secondItem="4IT-77-VkG" secondAttribute="leading" id="PSm-cp-l4I"/>
|
||||
<constraint firstItem="SXA-fW-bql" firstAttribute="leading" secondItem="4IT-77-VkG" secondAttribute="leading" constant="23" id="Q12-gY-Hxf"/>
|
||||
<constraint firstAttribute="trailing" secondItem="F6q-ri-gcL" secondAttribute="trailing" id="fzk-zq-gy8"/>
|
||||
<constraint firstAttribute="height" constant="32" id="tQQ-CZ-UJn"/>
|
||||
<constraint firstAttribute="bottom" secondItem="F6q-ri-gcL" secondAttribute="bottom" id="xCl-An-0fg"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="4IT-77-VkG" firstAttribute="top" secondItem="GUi-mC-ZWy" secondAttribute="top" id="3cb-gI-b1F"/>
|
||||
<constraint firstAttribute="height" constant="150" id="5dQ-pp-J3A"/>
|
||||
<constraint firstItem="QZi-AX-KLU" firstAttribute="top" secondItem="4IT-77-VkG" secondAttribute="bottom" id="C0u-k6-ihz"/>
|
||||
<constraint firstItem="4IT-77-VkG" firstAttribute="leading" secondItem="GUi-mC-ZWy" secondAttribute="leading" id="Mqi-2O-6Gj"/>
|
||||
<constraint firstItem="QZi-AX-KLU" firstAttribute="leading" secondItem="GUi-mC-ZWy" secondAttribute="leading" constant="2" id="NYh-fM-kU2"/>
|
||||
<constraint firstAttribute="trailing" secondItem="QZi-AX-KLU" secondAttribute="trailing" constant="2" id="kEl-iA-pC4"/>
|
||||
<constraint firstAttribute="trailing" secondItem="4IT-77-VkG" secondAttribute="trailing" id="zq2-39-h2m"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||
<integer key="value" value="10"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.1347388698630137" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="sS3-bH-IDb" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="12" id="47Y-la-C7u"/>
|
||||
<constraint firstItem="sS3-bH-IDb" firstAttribute="top" secondItem="GUi-mC-ZWy" secondAttribute="bottom" id="51h-Fe-bOX"/>
|
||||
<constraint firstItem="UWW-Ib-xQ3" firstAttribute="top" secondItem="sS3-bH-IDb" secondAttribute="top" constant="35" id="C3d-Jz-gnZ"/>
|
||||
<constraint firstItem="UWW-Ib-xQ3" firstAttribute="bottom" secondItem="sS3-bH-IDb" secondAttribute="bottom" constant="-35" id="N6X-0h-OQp"/>
|
||||
<constraint firstAttribute="bottom" secondItem="sS3-bH-IDb" secondAttribute="bottom" constant="100" id="Wvv-fr-my6"/>
|
||||
<constraint firstAttribute="trailing" secondItem="sS3-bH-IDb" secondAttribute="trailing" constant="12" id="dTS-pW-dyJ"/>
|
||||
<constraint firstItem="GUi-mC-ZWy" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="12" id="fUb-aa-feS"/>
|
||||
<constraint firstAttribute="trailing" secondItem="UWW-Ib-xQ3" secondAttribute="trailing" constant="14" id="qxd-yx-0wN"/>
|
||||
<constraint firstItem="UWW-Ib-xQ3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="vEs-Cc-e6u"/>
|
||||
<constraint firstAttribute="trailing" secondItem="GUi-mC-ZWy" secondAttribute="trailing" constant="12" id="xnk-A8-mY0"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<outlet property="bottomPicker" destination="sS3-bH-IDb" id="dA5-DG-v9K"/>
|
||||
<outlet property="heightView" destination="UWW-Ib-xQ3" id="cBM-Tc-aUU"/>
|
||||
<outlet property="picker" destination="RVp-L7-2i4" id="kaf-wt-kXj"/>
|
||||
<outlet property="topTempPicker" destination="GUi-mC-ZWy" id="wou-bx-Jr6"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="33.5" y="103.5"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="开关按钮" width="52" height="30"/>
|
||||
<image name="确定" width="375" height="55"/>
|
||||
<image name="虚线" width="12" height="111"/>
|
||||
<image name="请设置加热温度" width="375" height="48"/>
|
||||
<image name="请设置预警温度" width="375" height="52"/>
|
||||
<image name="长宽" width="347" height="120"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// IfishChatView.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/27.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface IfishChatView : UIView
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,104 @@
|
||||
//
|
||||
// IfishChatView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/27.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishChatView.h"
|
||||
|
||||
@interface IfishChatView()
|
||||
@property(nonatomic,strong)NSMutableArray*line1;
|
||||
@property(nonatomic,strong)NSMutableArray*line2;
|
||||
@end
|
||||
|
||||
|
||||
@implementation IfishChatView
|
||||
|
||||
-(NSArray *)line1{
|
||||
if (_line1==nil) {
|
||||
_line1=[NSMutableArray array];
|
||||
|
||||
for (int i=0; i<50; i++) {
|
||||
CGFloat x=10*(i+1);
|
||||
CGPoint p1=CGPointMake(x, x);
|
||||
[_line1 addObject:NSStringFromCGPoint(p1)];
|
||||
}
|
||||
}
|
||||
return _line1;
|
||||
}
|
||||
|
||||
-(NSArray *)line2{
|
||||
if (_line2==nil) {
|
||||
_line2=[NSMutableArray array];
|
||||
|
||||
for (int i=0; i<50; i++) {
|
||||
CGFloat x=10*(i+1);
|
||||
CGFloat y=sin(x)*10+5;
|
||||
CGPoint p1=CGPointMake(x, y);
|
||||
[_line2 addObject:NSStringFromCGPoint(p1)];
|
||||
}
|
||||
}
|
||||
return _line2;
|
||||
}
|
||||
|
||||
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect {
|
||||
UIColor *color = [UIColor redColor];
|
||||
[color set]; //设置线条颜色
|
||||
|
||||
UIBezierPath* path = [UIBezierPath bezierPath];
|
||||
path.lineWidth = 1.0;
|
||||
|
||||
path.lineCapStyle = kCGLineCapRound; //线条拐角
|
||||
path.lineJoinStyle = kCGLineJoinRound; //终点处理
|
||||
|
||||
[path moveToPoint:CGPointMake(0.0, 0.0)];//起点
|
||||
|
||||
// Draw the lines
|
||||
for (int i=0; i<self.line1.count; i++) {
|
||||
NSString* p=self.line1[i];
|
||||
[path addLineToPoint:CGPointFromString(p)];
|
||||
}
|
||||
|
||||
// [path closePath];//第五条线通过调用closePath方法得到的
|
||||
|
||||
// [path stroke];//Draws line 根据坐标点连线
|
||||
[path stroke];//颜色填充
|
||||
|
||||
|
||||
UIColor *color1 = [UIColor blueColor];
|
||||
[color1 set]; //设置线条颜色
|
||||
|
||||
UIBezierPath* path1 = [UIBezierPath bezierPath];
|
||||
path1.lineWidth = 1.0;
|
||||
|
||||
|
||||
path1.lineCapStyle = kCGLineCapRound; //线条拐角
|
||||
path1.lineJoinStyle = kCGLineJoinRound; //终点处理
|
||||
|
||||
[path1 moveToPoint:CGPointMake(0.0, 100.0)];//起点
|
||||
|
||||
// Draw the lines
|
||||
for (int i=0; i<self.line2.count; i++) {
|
||||
NSString* p=self.line2[i];
|
||||
[path1 addLineToPoint:CGPointFromString(p)];
|
||||
}
|
||||
|
||||
// [path closePath];//第五条线通过调用closePath方法得到的
|
||||
|
||||
// [path stroke];//Draws line 根据坐标点连线
|
||||
CGFloat dashPattern[] = {3,1};// 3实线,1空白
|
||||
|
||||
[path1 setLineDash:dashPattern count:1 phase:1];
|
||||
[path1 stroke];//颜色填充
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// IfishHistoryView.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/27.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface IfishHistoryView : UIView
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// IfishHistoryView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by 罗艺 on 2018/8/27.
|
||||
// Copyright © 2018年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishHistoryView.h"
|
||||
|
||||
@implementation IfishHistoryView
|
||||
|
||||
/*
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect {
|
||||
// Drawing code
|
||||
}
|
||||
*/
|
||||
- (IBAction)clickBg:(id)sender {
|
||||
self.hidden=YES;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IfishHistoryView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="69h-Z5-zDB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<connections>
|
||||
<action selector="clickBg:" destination="iN0-l3-epB" eventType="touchUpInside" id="d08-z9-v9h"/>
|
||||
</connections>
|
||||
</button>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="O2o-sf-tcG" customClass="IfishChatView">
|
||||
<rect key="frame" x="12" y="378" width="351" height="177"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="177" id="gnS-mM-h2g"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20994755993150685" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="69h-Z5-zDB" secondAttribute="bottom" id="8ZV-V1-tgA"/>
|
||||
<constraint firstItem="69h-Z5-zDB" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="OcJ-PS-bmM"/>
|
||||
<constraint firstAttribute="bottom" secondItem="O2o-sf-tcG" secondAttribute="bottom" constant="112" id="Sbm-6h-9S9"/>
|
||||
<constraint firstAttribute="trailing" secondItem="69h-Z5-zDB" secondAttribute="trailing" id="TYK-Fj-3Kv"/>
|
||||
<constraint firstAttribute="trailing" secondItem="O2o-sf-tcG" secondAttribute="trailing" constant="12" id="U2T-xW-ZTi"/>
|
||||
<constraint firstItem="69h-Z5-zDB" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="lLw-5d-kFj"/>
|
||||
<constraint firstItem="O2o-sf-tcG" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="12" id="sN7-SB-aaH"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
Reference in New Issue
Block a user