Skip to content

Commit

Permalink
update changelog, bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed Nov 30, 2015
1 parent 67ea44e commit fd3472f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# Change Log
All notable changes to this project will be documented in this file.

## Master
## [2.3.0](https://github.com/DenHeadless/DTModelStorage/releases/tag/2.3.0)

### Added

* `ViewModelMapping` class, that allows to store and retrieve mappings using type checks instead of runtime introspection
* `classNameFromClass` method on `RuntimeHelper`
* `UIReaction` class, that will allow `DTTableViewManager` and `DTCollectionViewManager` to react to celection and configuration events.
* `UIReaction` class, that will allow `DTTableViewManager` and `DTCollectionViewManager` to react to selection and configuration events. This class supersedes `TableViewReaction` and `CollectionViewReaction` internal classes, that previously served the same purpose.
* `DTViewModelMappingCustomizable` protocol to allow customization of `ViewModelMapping`.

### Removed

* `RuntimeHelper` introspection methods
* `RuntimeHelper` model introspection methods

## [2.2.0](https://github.com/DenHeadless/DTModelStorage/releases/tag/2.2.0)

Expand Down
2 changes: 1 addition & 1 deletion DTModelStorage.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'DTModelStorage'
s.version = '2.2.0'
s.version = '2.3.0'
s.license = 'MIT'
s.summary = 'Storage classes for datasource based controls.'
s.homepage = 'https://github.com/DenHeadless/DTModelStorage'
Expand Down
7 changes: 0 additions & 7 deletions DTModelStorage/Utilities/RuntimeHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ import Foundation
/// This class is used to introspect Swift and Objective-C types, providing necessary mapping information.
public final class RuntimeHelper
{
/// Returns module-less name of class. For example, YourModule.PostCell becomes PostCell.
/// - Parameter klass: class to get class name from
/// - Returns: Module-less name of klass
public class func classNameFromClass(klass: AnyClass) -> String {
return NSStringFromClass(klass).componentsSeparatedByString(".").last!
}

/// Recursively unwrap optionals to a single level. This is helpful when dealing with double optionals.
/// - Parameter any: optional to unwrap
/// - Returns: unwrapped optional
Expand Down
5 changes: 0 additions & 5 deletions DTModelStorageTests/XCTests/Specs/RuntimeHelperTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,4 @@ class RuntimeHelperTestCase: XCTestCase {
let unwrapped = RuntimeHelper.recursivelyUnwrapAnyValue(implicitlyUnwrapped)
expect(unwrapped).to(beNil())
}

func testKlassNameFromClassMethod()
{
expect(RuntimeHelper.classNameFromClass(self.dynamicType)) == "RuntimeHelperTestCase"
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ Installation

[CocoaPods](https://cocoapods.org):

pod 'DTModelStorage', '~> 2.2.0'
pod 'DTModelStorage', '~> 2.3.0'

[Carthage](https://github.com/Carthage/Carthage)

github "DenHeadless/DTModelStorage" "2.2.0"
github "DenHeadless/DTModelStorage" "2.3.0"

Requirements
============
Expand Down

0 comments on commit fd3472f

Please sign in to comment.