Skip to content

Commit

Permalink
修正警告内容 | Fixed the warning content
Browse files Browse the repository at this point in the history
  • Loading branch information
Caldis committed Jul 10, 2018
1 parent 78301b6 commit 9042a2a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import CoreGraphics
@objc(ChartDataRendererBase)
open class DataRenderer: Renderer
{
@objc open let animator: Animator
@objc public let animator: Animator

@objc public init(animator: Animator, viewPortHandler: ViewPortHandler)
{
Expand Down
2 changes: 1 addition & 1 deletion Libs/Charts/Source/Charts/Renderers/Renderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import CoreGraphics
open class Renderer: NSObject
{
/// the component that handles the drawing area of the chart and it's offsets
@objc open let viewPortHandler: ViewPortHandler
@objc public let viewPortHandler: ViewPortHandler

@objc public init(viewPortHandler: ViewPortHandler)
{
Expand Down
4 changes: 2 additions & 2 deletions Mos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = Mos/OCBridge/BridgingHeader.h;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Debug;
Expand All @@ -702,7 +702,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = Mos/OCBridge/BridgingHeader.h;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
};
name = Release;
Expand Down
Binary file not shown.
24 changes: 12 additions & 12 deletions Mos/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,6 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="AppIconRef" id="JHv-wx-Hq6"/>
</imageView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dhp-08-gtV">
<rect key="frame" x="197" y="395" width="207" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to Mos" id="SLb-UR-lz1">
<font key="font" metaFont="systemUltraLight" size="30"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8eF-PG-UwL">
<rect key="frame" x="197" y="379" width="207" height="13"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
Expand Down Expand Up @@ -373,6 +364,15 @@
<action selector="beginSmoothButtonClick:" target="qfv-1E-v7k" id="8Cp-Lf-t1y"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dhp-08-gtV">
<rect key="frame" x="148" y="394" width="304" height="36"/>
<autoresizingMask key="autoresizingMask"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to Mos" id="SLb-UR-lz1">
<font key="font" metaFont="systemUltraLight" size="30"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
</visualEffectView>
</subviews>
Expand Down Expand Up @@ -1095,7 +1095,7 @@
</textField>
</subviews>
</visualEffectView>
<visualEffectView autoresizesSubviews="NO" canDrawConcurrently="YES" fixedFrame="YES" blendingMode="withinWindow" material="titlebar" state="active" translatesAutoresizingMaskIntoConstraints="NO" id="Kdo-BP-USk">
<visualEffectView autoresizesSubviews="NO" canDrawConcurrently="YES" fixedFrame="YES" blendingMode="behindWindow" material="titlebar" state="active" translatesAutoresizingMaskIntoConstraints="NO" id="Kdo-BP-USk">
<rect key="frame" x="0.0" y="0.0" width="450" height="68"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
Expand All @@ -1111,7 +1111,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" fixedFrame="YES" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="38d-cH-Mcc">
<rect key="frame" x="175" y="13" width="255" height="19"/>
<rect key="frame" x="178" y="13" width="252" height="19"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<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">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand All @@ -1122,7 +1122,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" fixedFrame="YES" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0Uz-Dg-331">
<rect key="frame" x="20" y="13" width="147" height="19"/>
<rect key="frame" x="20" y="13" width="150" height="19"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<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">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand Down

0 comments on commit 9042a2a

Please sign in to comment.