-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zzdjk6/master
Transfer repo to RxSwiftCommunity
- Loading branch information
Showing
4 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2016 Chen Shenghan <[email protected]> | ||
Copyright (c) RxSwiftCommunity | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# RxEventHub | ||
|
||
[![CI Status](http://img.shields.io/travis/zzdjk6/RxEventHub.svg?style=flat)](https://travis-ci.org/zzdjk6/RxEventHub) | ||
[![CI Status](http://img.shields.io/travis/zzdjk6/RxEventHub.svg?style=flat)](https://travis-ci.org/RxSwiftCommunity/RxEventHub) | ||
[![Version](https://img.shields.io/cocoapods/v/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub) | ||
[![License](https://img.shields.io/cocoapods/l/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub) | ||
[![Platform](https://img.shields.io/cocoapods/p/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub) | ||
|
@@ -23,7 +23,7 @@ You can notify the hub when events occur by simply writing 1 line code like belo | |
RxEventHub.sharedHub.notify(ExampleIntEventProvider(), data: 2) | ||
``` | ||
|
||
You can get the `Observable` when events occur by simply writing 1 line code like below: | ||
You can get the `Observable` (`Observable<T>` in this example) when events occur by simply writing 1 line code like below: | ||
|
||
```swift | ||
RxEventHub.sharedHub.eventObservable(ExampleIntEventProvider()) | ||
|
@@ -50,10 +50,6 @@ pod "RxEventHub" | |
|
||
Just copy `RxEventHub.swift` into your project, and you're ready to go. | ||
|
||
## Author | ||
|
||
Chen Shenghan, [email protected] / [email protected] | ||
|
||
## License | ||
|
||
RxEventHub is available under the MIT license. See the LICENSE file for more info. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RxEventHub' | ||
s.version = '0.1.0' | ||
s.version = '0.1.1' | ||
s.summary = '`RxEventHub` makes multicasting event easy, type-safe and error-free, use it instead of `NSNotificationCenter` now!' | ||
|
||
s.description = <<-DESC | ||
`RxEventHub` is an event hub in `RxSwift` world, it makes multicasting event easy, type-safe and error-free, use it instead of `NSNotificationCenter` now! | ||
DESC | ||
|
||
s.homepage = 'https://github.com/zzdjk6/RxEventHub' | ||
s.homepage = 'https://github.com/RxSwiftCommunity/RxEventHub' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { 'zzdjk6' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/zzdjk6/RxEventHub.git', :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/zzdjk6' | ||
s.source = { :git => 'https://github.com/RxSwiftCommunity/RxEventHub.git', :tag => s.version.to_s } | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.source_files = 'RxEventHub/Classes/**/*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
RxEventHub.swift | ||
|
||
Copyright (c) 2016 Chen Shenghan <[email protected]> | ||
Copyright (c) RxSwiftCommunity | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|