Skip to content

Commit 2aa7235

Browse files
committed
网络图片,用 YLImageView 控件去接收 - gif 崩溃 fix
1 parent 4b0c47b commit 2aa7235

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+78
-79
lines changed

Coding_iOS/Coding_Enterprise_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</dict>
2929
</array>
3030
<key>CFBundleVersion</key>
31-
<string>2.9.7.20181022.2</string>
31+
<string>2.9.7.20181022.3</string>
3232
<key>ITSAppUsesNonExemptEncryption</key>
3333
<false/>
3434
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</dict>
3838
</array>
3939
<key>CFBundleVersion</key>
40-
<string>5.4.2.20181022.2</string>
40+
<string>5.4.2.20181022.3</string>
4141
<key>ITSAppUsesNonExemptEncryption</key>
4242
<false/>
4343
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Controllers/DynamicCommentCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
5252
CGFloat borderWidth = 2;
5353
UIView *bgView = [[UIView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth - borderWidth, curBottomY, 28+ 2*borderWidth, 28 + 2*borderWidth)];
5454
bgView.backgroundColor = kColorTableBG;
55-
_ownerIconView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 28, 28)];
55+
_ownerIconView = [[YLImageView alloc] initWithFrame:CGRectMake(0, 0, 28, 28)];
5656
_ownerIconView.layer.masksToBounds = YES;
5757
_ownerIconView.layer.cornerRadius = _ownerIconView.frame.size.width/2;
5858

Coding_iOS/Controllers/Login/CannotLoginViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ - (void)p_showCaptchaAlert:(PhoneCodeButton *)sender{
249249
textF.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
250250
textF.backgroundColor = [UIColor whiteColor];
251251
[textF doBorderWidth:0.5 color:nil cornerRadius:2.0];
252-
UIImageView *imageV = [UIImageView new];
252+
UIImageView *imageV = [YLImageView new];
253253
imageV.backgroundColor = [UIColor lightGrayColor];
254254
imageV.contentMode = UIViewContentModeScaleAspectFit;
255255
imageV.clipsToBounds = YES;
@@ -625,7 +625,7 @@ - (void)p_showCaptchaAlert:(PhoneCodeButton *)sender{
625625
textF.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
626626
textF.backgroundColor = [UIColor whiteColor];
627627
[textF doBorderWidth:0.5 color:nil cornerRadius:2.0];
628-
UIImageView *imageV = [UIImageView new];
628+
UIImageView *imageV = [YLImageView new];
629629
imageV.backgroundColor = [UIColor lightGrayColor];
630630
imageV.contentMode = UIViewContentModeScaleAspectFit;
631631
imageV.clipsToBounds = YES;

Coding_iOS/Controllers/Login/Close2FAViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ - (void)p_showCaptchaAlert:(PhoneCodeButton *)sender{
143143
textF.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
144144
textF.backgroundColor = [UIColor whiteColor];
145145
[textF doBorderWidth:0.5 color:nil cornerRadius:2.0];
146-
UIImageView *imageV = [UIImageView new];
146+
UIImageView *imageV = [YLImageView new];
147147
imageV.backgroundColor = [UIColor lightGrayColor];
148148
imageV.contentMode = UIViewContentModeScaleAspectFit;
149149
imageV.clipsToBounds = YES;

Coding_iOS/Controllers/Login/RegisterViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ - (void)p_showCaptchaAlert:(PhoneCodeButton *)sender{
420420
textF.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
421421
textF.backgroundColor = [UIColor whiteColor];
422422
[textF doBorderWidth:0.5 color:nil cornerRadius:2.0];
423-
UIImageView *imageV = [UIImageView new];
423+
UIImageView *imageV = [YLImageView new];
424424
imageV.backgroundColor = [UIColor lightGrayColor];
425425
imageV.contentMode = UIViewContentModeScaleAspectFit;
426426
imageV.clipsToBounds = YES;

Coding_iOS/Controllers/MeSetting/SettingPhoneViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ - (void)p_showCaptchaAlert:(PhoneCodeButton *)sender{
158158
textF.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
159159
textF.backgroundColor = [UIColor whiteColor];
160160
[textF doBorderWidth:0.5 color:nil cornerRadius:2.0];
161-
UIImageView *imageV = [UIImageView new];
161+
UIImageView *imageV = [YLImageView new];
162162
imageV.backgroundColor = [UIColor lightGrayColor];
163163
imageV.contentMode = UIViewContentModeScaleAspectFit;
164164
imageV.clipsToBounds = YES;

Coding_iOS/Controllers/NewProject/NewProject.storyboard

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
1211
<scenes>
@@ -28,7 +27,7 @@
2827
<rect key="frame" x="0.0" y="0.0" width="375" height="80"/>
2928
<autoresizingMask key="autoresizingMask"/>
3029
<subviews>
31-
<imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gEV-Jy-c1F">
30+
<imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gEV-Jy-c1F" customClass="YLImageView">
3231
<rect key="frame" x="15" y="15" width="55" height="55"/>
3332
<constraints>
3433
<constraint firstAttribute="height" constant="55" id="6ef-an-Ix1"/>
@@ -172,7 +171,7 @@
172171
</tableViewController>
173172
<placeholder placeholderIdentifier="IBFirstResponder" id="f41-ib-nma" userLabel="First Responder" sceneMemberID="firstResponder"/>
174173
</objects>
175-
<point key="canvasLocation" x="47.5" y="336.5"/>
174+
<point key="canvasLocation" x="76" y="302.6986506746627"/>
176175
</scene>
177176
<!--项目类型-->
178177
<scene sceneID="gFz-UQ-GPk">
@@ -202,7 +201,7 @@
202201
</tableViewController>
203202
<placeholder placeholderIdentifier="IBFirstResponder" id="nB2-h8-RSI" userLabel="First Responder" sceneMemberID="firstResponder"/>
204203
</objects>
205-
<point key="canvasLocation" x="534.39999999999998" y="337.01333333333332"/>
204+
<point key="canvasLocation" x="855.03999999999996" y="303.16041979010498"/>
206205
</scene>
207206
</scenes>
208207
<resources>

Coding_iOS/Controllers/ProjectSetting/ProjectSetting.storyboard

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
1211
<scenes>
@@ -105,7 +104,7 @@
105104
</tableViewController>
106105
<placeholder placeholderIdentifier="IBFirstResponder" id="63O-zO-6iP" userLabel="First Responder" sceneMemberID="firstResponder"/>
107106
</objects>
108-
<point key="canvasLocation" x="-368" y="557"/>
107+
<point key="canvasLocation" x="-588.79999999999995" y="501.04947526236884"/>
109108
</scene>
110109
<!--删除项目-->
111110
<scene sceneID="aKh-1D-3YA">
@@ -166,7 +165,7 @@
166165
<autoresizingMask key="autoresizingMask"/>
167166
<subviews>
168167
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="删除项目" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Klz-o5-epN">
169-
<rect key="frame" x="157" y="13" width="61.5" height="18"/>
168+
<rect key="frame" x="157" y="13.5" width="61.5" height="18"/>
170169
<constraints>
171170
<constraint firstAttribute="height" constant="18" id="M1f-IY-JKo"/>
172171
</constraints>
@@ -217,7 +216,7 @@
217216
</tableViewController>
218217
<placeholder placeholderIdentifier="IBFirstResponder" id="Kmr-F8-000" userLabel="First Responder" sceneMemberID="firstResponder"/>
219218
</objects>
220-
<point key="canvasLocation" x="668" y="1500"/>
219+
<point key="canvasLocation" x="1068.8" y="1349.3253373313344"/>
221220
</scene>
222221
<!--项目转让-->
223222
<scene sceneID="dO9-TR-sJa">
@@ -301,7 +300,7 @@
301300
<constraint firstAttribute="height" constant="1" id="gKs-xR-cE1"/>
302301
</constraints>
303302
</view>
304-
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="taskOwner.png" translatesAutoresizingMaskIntoConstraints="NO" id="Nbv-PU-uyj">
303+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="taskOwner.png" translatesAutoresizingMaskIntoConstraints="NO" id="Nbv-PU-uyj" customClass="YLImageView">
305304
<rect key="frame" x="24" y="8" width="28" height="28"/>
306305
<constraints>
307306
<constraint firstAttribute="width" constant="28" id="9dQ-vU-mRt"/>
@@ -364,7 +363,7 @@
364363
</tableViewController>
365364
<placeholder placeholderIdentifier="IBFirstResponder" id="Rur-IP-e6K" userLabel="First Responder" sceneMemberID="firstResponder"/>
366365
</objects>
367-
<point key="canvasLocation" x="668" y="-105"/>
366+
<point key="canvasLocation" x="1068.8" y="-94.452773613193415"/>
368367
</scene>
369368
<!--项目设置-->
370369
<scene sceneID="q6t-7O-jqV">
@@ -379,7 +378,7 @@
379378
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
380379
<subviews>
381380
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="退出项目后,你将不能查看任何关于该项目的信息。如果想重新加入,请联系项目管理员。" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="D5p-EJ-G9B">
382-
<rect key="frame" x="15" y="18.5" width="345" height="36"/>
381+
<rect key="frame" x="15" y="18" width="345" height="36"/>
383382
<fontDescription key="fontDescription" type="system" pointSize="15"/>
384383
<color key="textColor" red="0.51372549020000002" green="0.43137254899999999" blue="0.1960784314" alpha="1" colorSpace="calibratedRGB"/>
385384
<nil key="highlightedColor"/>
@@ -412,7 +411,7 @@
412411
<rect key="frame" x="0.0" y="0.0" width="375" height="90"/>
413412
<autoresizingMask key="autoresizingMask"/>
414413
<subviews>
415-
<imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="3zN-av-S8V">
414+
<imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="3zN-av-S8V" customClass="YLImageView">
416415
<rect key="frame" x="15" y="15" width="60" height="60"/>
417416
<constraints>
418417
<constraint firstAttribute="height" constant="60" id="Bvs-X7-Rsk"/>
@@ -630,7 +629,7 @@
630629
</tableViewController>
631630
<placeholder placeholderIdentifier="IBFirstResponder" id="VTY-5t-V4z" userLabel="First Responder" sceneMemberID="firstResponder"/>
632631
</objects>
633-
<point key="canvasLocation" x="147" y="557"/>
632+
<point key="canvasLocation" x="235.19999999999999" y="501.04947526236884"/>
634633
</scene>
635634
<!--归档项目-->
636635
<scene sceneID="Hen-Jx-dd9">
@@ -691,7 +690,7 @@
691690
<autoresizingMask key="autoresizingMask"/>
692691
<subviews>
693692
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="归档项目" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bpZ-av-9TC">
694-
<rect key="frame" x="157" y="13" width="61.5" height="18"/>
693+
<rect key="frame" x="157" y="13.5" width="61.5" height="18"/>
695694
<constraints>
696695
<constraint firstAttribute="height" constant="18" id="Hp4-D2-8DL"/>
697696
</constraints>
@@ -742,7 +741,7 @@
742741
</tableViewController>
743742
<placeholder placeholderIdentifier="IBFirstResponder" id="JTL-R9-JaA" userLabel="First Responder" sceneMemberID="firstResponder"/>
744743
</objects>
745-
<point key="canvasLocation" x="678" y="647"/>
744+
<point key="canvasLocation" x="1084.8" y="582.00899550224892"/>
746745
</scene>
747746
</scenes>
748747
<resources>

Coding_iOS/Controllers/ReviewCell.xib

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
9-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
1211
<objects>
@@ -19,7 +18,7 @@
1918
<rect key="frame" x="0.0" y="0.0" width="320" height="59.5"/>
2019
<autoresizingMask key="autoresizingMask"/>
2120
<subviews>
22-
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="igY-Zl-c4C">
21+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="igY-Zl-c4C" customClass="YLImageView">
2322
<rect key="frame" x="15" y="10" width="40" height="40"/>
2423
<constraints>
2524
<constraint firstAttribute="height" constant="40" id="UXu-mc-Ohs"/>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy