Skip to content

Commit 9042a2a

Browse files
author
Caldis
committed
修正警告内容 | Fixed the warning content
1 parent 78301b6 commit 9042a2a

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

Libs/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import CoreGraphics
1515
@objc(ChartDataRendererBase)
1616
open class DataRenderer: Renderer
1717
{
18-
@objc open let animator: Animator
18+
@objc public let animator: Animator
1919

2020
@objc public init(animator: Animator, viewPortHandler: ViewPortHandler)
2121
{

Libs/Charts/Source/Charts/Renderers/Renderer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import CoreGraphics
1616
open class Renderer: NSObject
1717
{
1818
/// the component that handles the drawing area of the chart and it's offsets
19-
@objc open let viewPortHandler: ViewPortHandler
19+
@objc public let viewPortHandler: ViewPortHandler
2020

2121
@objc public init(viewPortHandler: ViewPortHandler)
2222
{

Mos.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681
PRODUCT_NAME = "$(TARGET_NAME)";
682682
SWIFT_OBJC_BRIDGING_HEADER = Mos/OCBridge/BridgingHeader.h;
683683
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
684-
SWIFT_SWIFT3_OBJC_INFERENCE = On;
684+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
685685
SWIFT_VERSION = 4.0;
686686
};
687687
name = Debug;
@@ -702,7 +702,7 @@
702702
PRODUCT_NAME = "$(TARGET_NAME)";
703703
SWIFT_OBJC_BRIDGING_HEADER = Mos/OCBridge/BridgingHeader.h;
704704
SWIFT_OPTIMIZATION_LEVEL = "-O";
705-
SWIFT_SWIFT3_OBJC_INFERENCE = On;
705+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
706706
SWIFT_VERSION = 4.0;
707707
};
708708
name = Release;
Binary file not shown.

Mos/Base.lproj/Main.storyboard

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,6 @@
251251
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
252252
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="AppIconRef" id="JHv-wx-Hq6"/>
253253
</imageView>
254-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dhp-08-gtV">
255-
<rect key="frame" x="197" y="395" width="207" height="36"/>
256-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
257-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to Mos" id="SLb-UR-lz1">
258-
<font key="font" metaFont="systemUltraLight" size="30"/>
259-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
260-
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
261-
</textFieldCell>
262-
</textField>
263254
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8eF-PG-UwL">
264255
<rect key="frame" x="197" y="379" width="207" height="13"/>
265256
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -373,6 +364,15 @@
373364
<action selector="beginSmoothButtonClick:" target="qfv-1E-v7k" id="8Cp-Lf-t1y"/>
374365
</connections>
375366
</button>
367+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dhp-08-gtV">
368+
<rect key="frame" x="148" y="394" width="304" height="36"/>
369+
<autoresizingMask key="autoresizingMask"/>
370+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to Mos" id="SLb-UR-lz1">
371+
<font key="font" metaFont="systemUltraLight" size="30"/>
372+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
373+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
374+
</textFieldCell>
375+
</textField>
376376
</subviews>
377377
</visualEffectView>
378378
</subviews>
@@ -1095,7 +1095,7 @@
10951095
</textField>
10961096
</subviews>
10971097
</visualEffectView>
1098-
<visualEffectView autoresizesSubviews="NO" canDrawConcurrently="YES" fixedFrame="YES" blendingMode="withinWindow" material="titlebar" state="active" translatesAutoresizingMaskIntoConstraints="NO" id="Kdo-BP-USk">
1098+
<visualEffectView autoresizesSubviews="NO" canDrawConcurrently="YES" fixedFrame="YES" blendingMode="behindWindow" material="titlebar" state="active" translatesAutoresizingMaskIntoConstraints="NO" id="Kdo-BP-USk">
10991099
<rect key="frame" x="0.0" y="0.0" width="450" height="68"/>
11001100
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
11011101
<subviews>
@@ -1111,7 +1111,7 @@
11111111
</connections>
11121112
</button>
11131113
<button verticalHuggingPriority="750" fixedFrame="YES" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="38d-cH-Mcc">
1114-
<rect key="frame" x="175" y="13" width="255" height="19"/>
1114+
<rect key="frame" x="178" y="13" width="252" height="19"/>
11151115
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
11161116
<buttonCell key="cell" type="roundRect" title="Buy author a cup of coffee" bezelStyle="roundedRect" alignment="center" state="on" borderStyle="border" allowsMixedState="YES" imageScaling="proportionallyDown" inset="2" id="AM8-cj-DnH">
11171117
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -1122,7 +1122,7 @@
11221122
</connections>
11231123
</button>
11241124
<button verticalHuggingPriority="750" fixedFrame="YES" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0Uz-Dg-331">
1125-
<rect key="frame" x="20" y="13" width="147" height="19"/>
1125+
<rect key="frame" x="20" y="13" width="150" height="19"/>
11261126
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
11271127
<buttonCell key="cell" type="roundRect" title="The Contributors" bezelStyle="roundedRect" alignment="center" state="on" borderStyle="border" allowsMixedState="YES" imageScaling="proportionallyDown" inset="2" id="265-WS-XEd">
11281128
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>

0 commit comments

Comments
 (0)