Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed May 30, 2021
1 parent f77f95c commit 5f195d1
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 32 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.1.0]

### Fixed

- Misisng public ACL for `rx` namespace.

## [2.0.0]

### Added
- Add SPM.
Expand Down
10 changes: 6 additions & 4 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -117,7 +117,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0930;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1250;
ORGANIZATIONNAME = "Shai Mishali";
TargetAttributes = {
78B88835209E0BCB0023F90B = {
Expand Down Expand Up @@ -256,6 +256,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -281,7 +282,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -317,6 +318,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -336,7 +338,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
10 changes: 5 additions & 5 deletions Example/Example/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ class ViewController: UIViewController {
.withLatestFrom(selectedOption)
.map(imageURL)
.flatMapLatest { KingfisherManager.shared.rx.retrieveImage(with: $0) }
.observeOn(MainScheduler.instance)
.subscribe(onNext: { [weak self] image in
self?.btnSave.isHidden = false
self?.loader.isHidden = true
.observe(on: MainScheduler.instance)
.subscribe(with: self) { vc, image in
vc.btnSave.isHidden = false
vc.loader.isHidden = true

// Save image to Photo Library and redirect
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil)
UIApplication.shared.open(URL(string:"photos-redirect://")!)
})
}
.disposed(by: disposeBag)
}
}
40 changes: 21 additions & 19 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
PODS:
- Fakery (4.1.1)
- Kingfisher (5.7.0)
- RxCocoa (5.0.0):
- RxRelay (~> 5)
- RxSwift (~> 5)
- RxKingfisher (1.0.0):
- Fakery (5.1.0)
- Kingfisher (5.15.8):
- Kingfisher/Core (= 5.15.8)
- Kingfisher/Core (5.15.8)
- RxCocoa (6.2.0):
- RxRelay (= 6.2.0)
- RxSwift (= 6.2.0)
- RxKingfisher (2.1.0):
- Kingfisher (~> 5)
- RxCocoa (~> 5)
- RxSwift (~> 5)
- RxRelay (5.0.0):
- RxSwift (~> 5)
- RxSwift (5.0.0)
- RxCocoa (~> 6)
- RxSwift (~> 6)
- RxRelay (6.2.0):
- RxSwift (= 6.2.0)
- RxSwift (6.2.0)

DEPENDENCIES:
- Fakery
- RxCocoa
- RxKingfisher (from `../`)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
trunk:
- Fakery
- Kingfisher
- RxCocoa
Expand All @@ -30,13 +32,13 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
Fakery: d3380c4aa1efe7631c0831d7e26aa9db4491f014
Kingfisher: c7d211b54f1f30d8060aadab177d52b4349c825b
RxCocoa: fcf32050ac00d801f34a7f71d5e8e7f23026dcd8
RxKingfisher: 0f07678aca3e6a20143dfba67ec2d2c70d443a9a
RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f
Fakery: a90caff00ca5cacde6c161c3eafc72314a03d34d
Kingfisher: a3c03d702433fa6cfedabb2bddbe076fb8f2e902
RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42
RxKingfisher: a602fbf8751d756a7cc6190ddfedc2ce0d301377
RxRelay: e72dbfd157807478401ef1982e1c61c945c94b2f
RxSwift: d356ab7bee873611322f134c5f9ef379fa183d8f

PODFILE CHECKSUM: c2c6711fe7cf93b2a28df5eb886c2eb1ee88e971

COCOAPODS: 1.7.5
COCOAPODS: 1.10.1
2 changes: 1 addition & 1 deletion RxKingfisher.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxKingfisher"
s.version = "2.0.0"
s.version = "2.1.0"
s.summary = "Reactive extension for the Kingfisher image downloading and caching library"
s.description = <<-DESC
Reactive extension for the Kingfisher image downloading and caching library
Expand Down
4 changes: 2 additions & 2 deletions Sources/RxKingfisher/Kingfisher+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import RxSwift
import Kingfisher

extension KingfisherWrapper {
struct Rx {
public struct Rx {
private let wrapper: KingfisherWrapper<KFCrossPlatformImageView>

init(_ base: KingfisherWrapper<KFCrossPlatformImageView>) {
Expand Down Expand Up @@ -64,7 +64,7 @@ extension KingfisherWrapper {
}
}

extension KingfisherWrapper where Base == KFCrossPlatformImageView {
public extension KingfisherWrapper where Base == KFCrossPlatformImageView {
var rx: KingfisherWrapper.Rx {
.init(self)
}
Expand Down

0 comments on commit 5f195d1

Please sign in to comment.