Skip to content

Commit

Permalink
Fix project warnings and prepare for pod release
Browse files Browse the repository at this point in the history
  • Loading branch information
jegnux committed Feb 20, 2017
1 parent 25a7582 commit e32bfa5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Example/RxGesture-OSX/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11762"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
<capability name="system font weights other than Regular or Bold" minToolsVersion="7.0"/>
</dependencies>
<scenes>
<!--Application-->
Expand Down Expand Up @@ -696,7 +695,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<size key="minSize" width="604" height="148"/>
<size key="maxSize" width="604" height="10000000"/>
<size key="maxSize" width="606" height="10000000"/>
<color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</textView>
</subviews>
Expand Down Expand Up @@ -733,7 +732,7 @@
<constraint firstAttribute="height" constant="17" id="FJH-j3-NDm"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="0in-3i-hAG">
<font key="font" metaFont="systemSemibold" size="13"/>
<font key="font" metaFont="system"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
Expand Down
3 changes: 2 additions & 1 deletion Pod/Classes/View+RxGesture.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ extension Reactive where Base: View {
- parameter factory: a `GestureRecognizerFactory` you want to use to create the `GestureRecognizer` to add and observe
- returns: a `ControlEvent<G>` that re-emit the gesture recognizer itself
*/
public func gesture<GF: GestureRecognizerFactory, G: GestureRecognizer where GF.Gesture == G>(_ factory: GF) -> ControlEvent<G> {
public func gesture<GF: GestureRecognizerFactory, G: GestureRecognizer>(_ factory: GF) -> ControlEvent<G>
where GF.Gesture == G {
return self.gesture(factory.make())
}

Expand Down
2 changes: 1 addition & 1 deletion RxGesture.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Pod::Spec.new do |s|
s.name = "RxGesture"
s.version = "0.3.0"
s.version = "1.0.0"
s.summary = "RxSwfit reactive wrapper for view gestures."

s.description = <<-DESC
Expand Down
5 changes: 4 additions & 1 deletion RxGesture/RxGesture.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
F4CC4C141DEBA895009ED835 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0810;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = AutoLotto;
TargetAttributes = {
87F8F7211E511E2E00C3B1BE = {
Expand Down Expand Up @@ -400,6 +400,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down Expand Up @@ -453,6 +454,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down Expand Up @@ -536,6 +538,7 @@
87F8F7281E511E2E00C3B1BE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F4CC4C171DEBA895009ED835 /* Build configuration list for PBXProject "RxGesture" */ = {
isa = XCConfigurationList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0810"
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down

0 comments on commit e32bfa5

Please sign in to comment.