Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[RSKGrowingTextView + Example] Add support for Swift 5.0, Xcode 10.2 …
…+ deployment target bump (9.0) + version bump (5.0.0).
  • Loading branch information
ruslanskorb committed Apr 4, 2019
1 parent daf6c20 commit dd9e333
Show file tree
Hide file tree
Showing 26 changed files with 437 additions and 506 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
4.2
5.0
2 changes: 1 addition & 1 deletion Cartfile
@@ -1 +1 @@
github "ruslanskorb/RSKPlaceholderTextView" == 4.0.0
github "ruslanskorb/RSKPlaceholderTextView" == 5.0.0
2 changes: 1 addition & 1 deletion Cartfile.resolved
@@ -1 +1 @@
github "ruslanskorb/RSKPlaceholderTextView" "4.0.0"
github "ruslanskorb/RSKPlaceholderTextView" "5.0.0"
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
## RSKGrowingTextView [![Swift 4.2](https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat)](https://developer.apple.com/swift/) [![Cocoapods Compatible](https://img.shields.io/cocoapods/v/RSKGrowingTextView.svg)](https://img.shields.io/cocoapods/v/RSKGrowingTextView.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/ruslanskorb/RSKGrowingTextView)
## RSKGrowingTextView [![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://developer.apple.com/swift/) [![Cocoapods Compatible](https://img.shields.io/cocoapods/v/RSKGrowingTextView.svg)](https://img.shields.io/cocoapods/v/RSKGrowingTextView.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/ruslanskorb/RSKGrowingTextView)

<p align="center">
<img src="RSKGrowingTextViewExample/RSKGrowingTextViewExample.gif" alt="Sample">
Expand Down
25 changes: 13 additions & 12 deletions RSKGrowingTextView.podspec
@@ -1,16 +1,17 @@
Pod::Spec.new do |s|
s.name = 'RSKGrowingTextView'
s.version = '4.0.5'
s.summary = 'A light-weight UITextView subclass that automatically grows and shrinks.'
s.description = <<-DESC
s.name = 'RSKGrowingTextView'
s.version = '5.0.0'
s.summary = 'A light-weight UITextView subclass that automatically grows and shrinks.'
s.description = <<-DESC
A light-weight UITextView subclass that automatically grows and shrinks based on the size of user input and can be constrained by maximum and minimum number of lines.
DESC
s.homepage = 'https://github.com/ruslanskorb/RSKGrowingTextView'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = { 'Ruslan Skorb' => 'ruslan.skorb@gmail.com' }
s.source = { :git => 'https://github.com/ruslanskorb/RSKGrowingTextView.git', :tag => s.version.to_s }
s.platform = :ios, '8.0'
s.source_files = 'RSKGrowingTextView/*.{h,swift}'
s.requires_arc = true
s.dependency 'RSKPlaceholderTextView', '4.0.0'
s.homepage = 'https://github.com/ruslanskorb/RSKGrowingTextView'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = { 'Ruslan Skorb' => 'ruslan.skorb@gmail.com' }
s.source = { :git => 'https://github.com/ruslanskorb/RSKGrowingTextView.git', :tag => s.version.to_s }
s.platform = :ios, '9.0'
s.swift_version = '5.0'
s.source_files = 'RSKGrowingTextView/*.{h,swift}'
s.requires_arc = true
s.dependency 'RSKPlaceholderTextView', '5.0.0'
end
23 changes: 12 additions & 11 deletions RSKGrowingTextView.xcodeproj/project.pbxproj
Expand Up @@ -110,7 +110,7 @@
TargetAttributes = {
B84FF8511C1E902200DCC2A6 = {
CreatedOnToolsVersion = 7.2;
LastSwiftMigration = 1000;
LastSwiftMigration = 1020;
};
};
};
Expand All @@ -119,6 +119,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = B84FF8481C1E902200DCC2A6;
Expand Down Expand Up @@ -180,7 +181,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4.0.5;
CURRENT_PROJECT_VERSION = 5.0.0;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand All @@ -198,7 +199,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -236,7 +237,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4.0.5;
CURRENT_PROJECT_VERSION = 5.0.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -248,7 +249,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -265,8 +266,8 @@
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 4.0.5;
DYLIB_CURRENT_VERSION = 4.0.5;
DYLIB_COMPATIBILITY_VERSION = 5.0.0;
DYLIB_CURRENT_VERSION = 5.0.0;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = "$(SRCROOT)/RSKGrowingTextView/Info.plist";
Expand All @@ -276,7 +277,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand All @@ -286,8 +287,8 @@
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 4.0.5;
DYLIB_CURRENT_VERSION = 4.0.5;
DYLIB_COMPATIBILITY_VERSION = 5.0.0;
DYLIB_CURRENT_VERSION = 5.0.0;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = "$(SRCROOT)/RSKGrowingTextView/Info.plist";
Expand All @@ -297,7 +298,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion RSKGrowingTextView/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.5</string>
<string>5.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions RSKGrowingTextViewExample/Podfile
@@ -1,11 +1,11 @@
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
platform :ios, '9.0'
use_frameworks!

inhibit_all_warnings!

target 'RSKGrowingTextViewExample' do
pod 'RSKKeyboardAnimationObserver', '1.0.0'
pod 'RSKPlaceholderTextView', '4.0.0'
pod 'RSKPlaceholderTextView', '5.0.0'
end
10 changes: 5 additions & 5 deletions RSKGrowingTextViewExample/Podfile.lock
@@ -1,10 +1,10 @@
PODS:
- RSKKeyboardAnimationObserver (1.0.0)
- RSKPlaceholderTextView (4.0.0)
- RSKPlaceholderTextView (5.0.0)

DEPENDENCIES:
- RSKKeyboardAnimationObserver (= 1.0.0)
- RSKPlaceholderTextView (= 4.0.0)
- RSKPlaceholderTextView (= 5.0.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
Expand All @@ -13,8 +13,8 @@ SPEC REPOS:

SPEC CHECKSUMS:
RSKKeyboardAnimationObserver: 0bdbc5235a96ce6d1e6143998214160c7f7c9b37
RSKPlaceholderTextView: 15f1dc1883e103ea605874b863f19ff6b08496d5
RSKPlaceholderTextView: e4ec5a3f371b8e3e186d5cbba09d664bde34588f

PODFILE CHECKSUM: 6ebc19d5a18e2dd77e9088808d364ac3eff4615d
PODFILE CHECKSUM: d777628e908252f89234af053a37856087a226df

COCOAPODS: 1.5.3
COCOAPODS: 1.7.0.beta.3
10 changes: 5 additions & 5 deletions RSKGrowingTextViewExample/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd9e333

Please sign in to comment.