Compare commits

...
5 Commits
Author SHA1 Message Date
Alex 21400b213b Merge pull request #159 from PeterStaev/fix-overridable-objc-method
mark method with dynamic so it can be inherited in objc
2019-04-18 17:57:08 +03:00
Alex K e94aea843f bump deployment target 2019-04-11 11:55:22 +03:00
Alex K 6f1a6fa9b6 update travis 2019-04-04 10:21:45 +03:00
Alex K 8aeec37d98 update readme 2019-03-28 10:06:06 +03:00
Peter Staev a4ea00866e mark method with dynamic so it can be inherited in objc 2018-09-14 16:37:12 +03:00
5 changed files with 8 additions and 10 deletions
+2 -4
View File
@@ -1,11 +1,9 @@
osx_image: xcode10.1
osx_image: xcode10.2
language: objective-c
xcode_project: FoldingCell/FoldingCell.xcodeproj
xcode_scheme: FoldingCell
xcode_sdk: iphonesimulator12.1
# SWIFT_VERSION: 4.2
xcode_sdk: iphonesimulator12.2
# whitelist
branches:
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FoldingCell'
s.version = '4.0.3'
s.version = '5.0.0'
s.summary = 'UITableViewCell with folding animation.'
s.homepage = 'https://github.com/Ramotion/folding-cell'
s.license = 'MIT'
@@ -589,7 +589,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -638,7 +638,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+1 -1
View File
@@ -279,7 +279,7 @@ open class FoldingCell: UITableViewCell {
// MARK: Animations
@objc open func animationDuration(_ itemIndex: NSInteger, type: AnimationType) -> TimeInterval {
@objc open dynamic func animationDuration(_ itemIndex: NSInteger, type: AnimationType) -> TimeInterval {
return type == .close ? durationsForCollapsedState[itemIndex] : durationsForExpandedState[itemIndex]
}
+2 -2
View File
@@ -29,14 +29,14 @@ ___
[![Travis](https://img.shields.io/travis/Ramotion/folding-cell.svg)](https://travis-ci.org/Ramotion/folding-cell)
[![codebeat badge](https://codebeat.co/badges/6f67da5d-c416-4bac-9fb7-c2dc938feedc)](https://codebeat.co/projects/github-com-ramotion-folding-cell)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift 4.0](https://img.shields.io/badge/Swift-4.0-green.svg?style=flat)](https://developer.apple.com/swift/)
[![Swift 4.0](https://img.shields.io/badge/Swift-5.0-green.svg?style=flat)](https://developer.apple.com/swift/)
[![Analytics](https://ga-beacon.appspot.com/UA-84973210-1/ramotion/folding-cell)](https://github.com/igrigorik/ga-beacon)
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/Ramotion)
## Requirements
- iOS 8.0+
- Xcode 9.0+
- Xcode 10.2
## Installation