Commit Graph

374 Commits

Author SHA1 Message Date
Krunoslav Zaher a3f589ad3a Merge branch 'develop' of github.com:kzaher/RxSwift into develop 2016-02-20 11:11:39 +01:00
Joey Clover ee31a5421a Updated Typo in Simple Validation example 2016-02-17 23:46:57 +00:00
Krunoslav Zaher 26031abf02 Removes implicitly unwrapped options. 2016-02-17 20:17:48 +01:00
Krunoslav Zaher b9d6aeb49c Selects release version of the RxExample app. 2016-02-14 17:22:44 +01:00
Krunoslav Zaher 01ef8b5030 Integrates activity indicator extensions and improves memory management. 2016-02-14 17:21:22 +01:00
Krunoslav Zaher b08bf24201 Adds workarounds for compiler bugs. 2016-02-13 23:15:57 +01:00
Krunoslav Zaher 7dc8dfc6d1 Applies `UIBindingObserver`. 2016-02-13 22:12:50 +01:00
Krunoslav Zaher 2aebe1499f Adds `UIBindingObserver`. 2016-02-13 21:25:31 +01:00
Krunoslav Zaher e0555a05a5 Merge pull request #480 from pixyzehn/modify-tapgesture-in-example
Use rx_event instead of Selector
2016-02-13 20:37:02 +01:00
Nagasawa Hiroki 75eeb546fe Use rx_event instead of Selector 2016-02-12 19:03:01 +09:00
Mark Woollard 00508f0b8e Resolve conflict in Main.storyboard
# Conflicts:
#	RxExample/RxExample/iOS/Main.storyboard
2016-02-05 20:23:01 +00:00
Mark Woollard 87b36ffb0d Add use of rx_itemAccessoryButtonTapped to simple table view example 2016-02-05 20:16:39 +00:00
Krunoslav Zaher 8e9df5acc8 Merge pull request #414 from MadsBogeskov/master
Added reactive wrapper for the network activity indicator in UIApplication
2016-02-04 12:50:43 +01:00
Krunoslav Zaher 7dbc403e1e Merge branch 'develop' of github.com:kzaher/RxSwift into develop 2016-01-25 20:36:32 +01:00
Carlos García 4a7926e544 GeolocationSubscriptionExample 2016-01-24 13:46:58 +01:00
Mark Woollard 53e9845cb8 Add use of rx_itemAccessoryButtonTapped to simple table view example 2016-01-23 19:52:06 +00:00
Krunoslav Zaher bed5d882df Merge pull request #401 from thanegill/doOn-shortcuts
Add doOn shortcut operators
2016-01-22 22:20:27 +01:00
Mads Bøgeskov bda14c48c7 Added reactive wrapper for the network activity indicator in UIApplication. 2016-01-18 19:41:28 +01:00
Thane Gill b0a990e952 Use new doOnNext shortcut operator 2016-01-17 09:46:14 -08:00
Krunoslav Zaher 1e1194aadd Replaces `unowned` with `weak` in `UIImagePickerController+RxCreate.swift`. 2016-01-17 16:19:45 +01:00
sergdort 5e619180ee Fixes for bug with UIImagePickerController example. To dismiss image picker on cancel button press 2016-01-12 10:17:29 +02:00
Krunoslav Zaher 0091fa3a2f Improves thread safety of KVO by serializing KVO events. 2016-01-10 20:50:27 +01:00
Krunoslav Zaher eeddf1fe5d Adds `SectionedViewDataSourceType` and `rx_modelDeselected`, `rx_deselectedItemAtIndexPath` for `UICollectionView`, and corresponding unit tests. 2016-01-10 20:19:30 +01:00
Krunoslav Zaher ffc976dac9 Refactors `UIImagePickerController` to use more idiomatic coding style. 2016-01-10 18:33:01 +01:00
sshulga d665aaff61 Puts Krunoslav's Copyright 2016-01-05 15:21:16 +02:00
sshulga fe4dda0ed7 Rx wrappers for UIImagePickerController 2016-01-05 15:15:15 +02:00
Krunoslav Zaher 10fdfa0d00 Updates debug label position. 2016-01-01 23:38:10 +01:00
Krunoslav Zaher 35be3f644b Decreases Sign up alert time. 2016-01-01 20:49:57 +01:00
Krunoslav Zaher c8ea0f7532 Rearranges partial updates example in RxExample app. 2016-01-01 14:58:15 +01:00
Krunoslav Zaher 913d54ed23 Changes organization identifier to `io.rx` and changes organization name to `ReactiveX`. 2016-01-01 14:11:05 +01:00
Krunoslav Zaher daefc26b47 Packages `RxDataSourceStarterKit`. 2016-01-01 13:46:11 +01:00
Segey Shulga fdce3558f0 Merge branch 'develop' into rx_text_bug_#333
# Conflicts:
#	Rx.xcodeproj/project.pbxproj
#	Rx.xcworkspace/contents.xcworkspacedata
#	RxExample/RxExample.xcodeproj/project.pbxproj
2015-12-31 18:10:57 +02:00
Segey Shulga c555862a67 #333 made changes according to Rx naming conventions 2015-12-31 17:41:57 +02:00
Krunoslav Zaher 706e52d302 Fixes build script. 2015-12-31 13:00:32 +01:00
Krunoslav Zaher aca3b28213 Removes deprecated APIs. 2015-12-31 00:37:58 +01:00
Krunoslav Zaher 6c3a83bfe0 Renames `*.Platform.swift` to `Platform.*.swift` and fixes build issues. 2015-12-30 16:54:43 +01:00
Krunoslav Zaher 439ca291bc Updates `Scheduler` documentation. 2015-12-30 15:20:50 +01:00
sshulga 195586ef76 Merge branch 'develop' of https://github.com/ReactiveX/RxSwift into rx_text_bug_#333
Conflicts:
	RxCocoa/iOS/UITextView+Rx.swift
2015-12-30 15:15:02 +02:00
sshulga 32d048fe05 Fixes for UITextView rx_text bug with autocorrect enabled #333 2015-12-30 14:58:47 +02:00
Krunoslav Zaher f4ef06e88d Updates documentation with API changes. 2015-12-30 03:16:20 +01:00
Krunoslav Zaher 5db80857b9 Removes scheduler parametrization for `Driver` in `RxExample` project. 2015-12-30 02:05:03 +01:00
Krunoslav Zaher 8b2984e4e2 Deprecates `Variable` implementing `ObservableType` in favor of `asObservable()`, and changes behavior so it completes the sequence once it is deallocated. 2015-12-29 23:49:30 +01:00
Krunoslav Zaher 839051fe9b Polishes table view with editing example. 2015-12-29 23:28:15 +01:00
Krunoslav Zaher 33ffe82139 Exposes `driveOnScheduler`. 2015-12-29 22:14:06 +01:00
Krunoslav Zaher 77d452db34 Workaround for Swift bug when compiler optimizes away `driverObserveOnScheduler` and `driverSubscribeOnScheduler` even though there is testability turned on. 2015-12-29 17:59:07 +01:00
Krunoslav Zaher 249135a3f7 Updates headers for GitHub sign-up example. 2015-12-29 17:39:21 +01:00
Krunoslav Zaher f1482d2126 Adds marble tests for GitHub sign-in example. 2015-12-29 17:37:13 +01:00
Krunoslav Zaher 004e637774 Adds parallel example of GiHub sign in using vanilla observables and `Driver`. 2015-12-29 17:36:32 +01:00
Krunoslav Zaher 5d677eaf91 Standardizes header format. 2015-12-29 16:56:21 +01:00
Krunoslav Zaher bbf42c0957 Fixes problems with exposing `AtomicInt` and fixes deprecated scheduler warnings. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 9d4d93b474 Adds unit tests for `VirtualTimeScheduler` and `HistoricScheduler`. 2015-12-28 01:24:33 +01:00
Krunoslav Zaher 08eb41e082 Adds platform specific files to RxExample-no-module. 2015-12-26 05:08:32 +01:00
Krunoslav Zaher 9cae95d3ef Fixes Swift 2.2 warnings. 2015-12-25 12:50:42 +01:00
Krunoslav Zaher 56847dd7f9 Fixes storyboard warnings. 2015-12-24 20:26:45 +01:00
Krunoslav Zaher 3d2c2af3b4 Small fixes for example app. 2015-12-24 19:50:59 +01:00
Krunoslav Zaher 49017a6565 Fixes warnings. 2015-12-21 22:17:22 +01:00
Krunoslav Zaher d09832edff Small polish. 2015-12-21 21:48:11 +01:00
Krunoslav Zaher 6040789f93 Fixes warnings. 2015-12-21 21:45:13 +01:00
Krunoslav Zaher 5716cc3cec Transforms free functions to factory functions on `Observable`. (just, never, error, generate, combineLatest, zip ...) 2015-12-21 20:55:37 +01:00
Krunoslav Zaher a2d7fc9c74 Increases resource count time to 0.2 sec. 2015-12-21 02:12:18 +01:00
Krunoslav Zaher b89f3f35c7 Fixes compilation error with OSX example. 2015-12-21 02:12:00 +01:00
Krunoslav Zaher 4ba729f7ad Refactors calculator example to be more clear. 2015-12-21 01:33:32 +01:00
Krunoslav Zaher 3d55baa4e1 Adds `cellType` parameter to `rx_itemsWithCellIdentifier`. 2015-12-21 01:19:08 +01:00
Krunoslav Zaher 86ec1acbcf Removes `RxBox` and `RxMutableBox` from public interface. 2015-12-19 17:55:49 +01:00
Krunoslav Zaher 637b19947c Deprecates versions with hidden external parameter name (scheduler, count ...). 2015-12-19 14:30:19 +01:00
Krunoslav Zaher 1ad68469fd Fixes tests. 2015-12-19 01:44:58 +01:00
Krunoslav Zaher b338c81e0d Merge remote-tracking branch 'origin/develop' into feature/observe_method_calls 2015-12-19 01:07:05 +01:00
Krunoslav Zaher b328cef22c Merge branch 'develop' into feature/observe_method_calls 2015-12-19 01:06:38 +01:00
Krunoslav Zaher 3508301e3b Finishes `rx_sentMessage`. 2015-12-18 23:33:58 +01:00
Fernando Paredes 4ae3e1281e Update Example app for tests 2015-12-16 11:12:44 -08:00
Krunoslav Zaher 9439b281bb Small scheduler directory cleanup. 2015-12-13 15:47:46 +01:00
Krunoslav Zaher c337e642dc Polish for `CLLocationManager` interface and adds unit tests. 2015-12-13 15:28:00 +01:00
Krunoslav Zaher aea5848d83 Small polishing for GitHub repository search. 2015-12-13 00:33:17 +01:00
Krunoslav Zaher 6dcdf281b8 Moves `disctinctUntilChanged` to `ActivityIndicator`. 2015-12-13 00:27:02 +01:00
Krunoslav Zaher c534db0fac Polishing for GitHub repository search example. 2015-12-13 00:23:51 +01:00
Krunoslav Zaher e14ca2e94d Fixes problem with autocorrect and `rx_text` on `UITextView`. #333 2015-12-12 20:00:33 +01:00
Krunoslav Zaher 9fb35d737b Improves leak detection logic and adds suggestions how to detect memory leaks. 2015-12-12 17:28:28 +01:00
Mike Finney 51a46c014f removed dead code 2015-12-10 18:00:50 -06:00
Krunoslav Zaher 3162f55f68 Merge branch 'develop' into feature/observe_method_calls 2015-12-08 21:30:13 +01:00
Krunoslav Zaher e01e2105b1 Adds preloading of shared resources to improve leak detection logic. 2015-12-06 23:45:49 +01:00
Krunoslav Zaher 5f8fc67d7d Adds simple example of table view with sections. 2015-12-06 23:35:34 +01:00
Krunoslav Zaher 68a792988d Polishes GitHubSignup into a simple MVVM example. 2015-12-06 22:39:12 +01:00
Krunoslav Zaher ca1488841c Adds simple validation example. 2015-12-06 20:58:16 +01:00
Krunoslav Zaher 8522d71b54 Adds numbers example. 2015-12-06 20:33:50 +01:00
Krunoslav Zaher b08c1a5969 Extends `UIView` with `rx_alpha`, `rx_hidden`. `NSLayoutConstraint` with `rx_constant`. 2015-12-06 20:33:03 +01:00
Krunoslav Zaher a0c68de05d Adds `shareReplayLatestWithReplay` to `RxExample-iOS-no-module`. 2015-12-06 14:59:54 +01:00
JamStop 25cca7c5f8 Change parameter to use type alias for better code consistency 2015-12-04 12:26:17 -08:00
persidskiy 39f7ea1475 Add rx_animating to UIActivityIndicatorView 2015-12-03 15:29:50 +03:00
Krunoslav Zaher 981a3b206a Fixes problems release version. 2015-12-02 13:15:23 +01:00
Krunoslav Zaher de65c8ff2f Refactors current swizzling code to be more generic. 2015-12-02 13:15:22 +01:00
Krunoslav Zaher 63127838ec Makes `rx_modelSelected` more user friendly and removes MVVM from Wikipedia search example. 2015-11-28 11:59:49 +01:00
Krunoslav Zaher c7e73c1184 Moves `Timeout` include into correct group. 2015-11-26 11:34:15 +01:00
Tomi Koskinen 64353ed548 Timeout operator 2015-11-18 11:17:16 +02:00
Krunoslav Zaher 0a1a07384d Merge pull request #258 from ReactiveX/feature/kvo_revamp
KVO revamp.
2015-11-15 23:22:13 +01:00
Krunoslav Zaher 7d3387989d Adds `flatMapLatest` to `Driver` unit. 2015-11-15 23:21:39 +01:00
Krunoslav Zaher b3a66aa45f `Merge` operator family polish. 2015-11-15 21:15:23 +01:00
Krunoslav Zaher 90dad761a2 Fixes warnings in example app. 2015-11-15 13:11:21 +01:00
Krunoslav Zaher b1185750f4 Adds scheduler overloads to `just`, `sequenceOf`. Deprecates `asObservable` in favor of `toObservable`. 2015-11-15 00:09:41 +01:00
Krunoslav Zaher 5cc185743a Polish for animated table view updates. 2015-11-14 21:22:01 +01:00
Krunoslav Zaher a269a42a38 KVO revamp. 2015-11-14 15:34:08 +01:00
Junior B 9663469b01 Add tests for `single` non-blocking operator 2015-11-11 11:13:12 +01:00
Krunoslav Zaher 046024d7fd Changes `CustomStringConvertible` to `CustomDebugStringConvertible`. 2015-11-09 01:05:51 +01:00
Krunoslav Zaher 9fa53a6bb3 Transforms `NSError`s across projects into Swift enums that inherit from `ErrorType`. 2015-11-09 00:44:59 +01:00
Krunoslav Zaher eebef9d125 Merge remote-tracking branch 'origin/develop' into develop 2015-11-08 17:57:44 +01:00
Krunoslav Zaher ce983c44d0 Polishing and optimizing `retryWhen`. 2015-11-08 17:51:18 +01:00
Kyle Fang 3052e9415c Remove Unneeded dispose bag 2015-11-07 13:00:16 -06:00
Junior B 7fe9a87cb5 Add `window` operator, time/count version 2015-11-06 11:07:33 +01:00
Krunoslav Zaher cab8c40ae1 Simplifies `ReachabilityService`. 2015-11-02 10:46:12 +01:00
Krunoslav Zaher 59f3b487d2 Removes locks from sink forwarding (25% improvement). 2015-11-02 00:17:11 +01:00
Krunoslav Zaher dcc65e8fe0 Adds synchronization protocols to reduce allocations. 2015-11-01 20:40:08 +01:00
Krunoslav Zaher b12e97abda Adds `Driver` to `RxExample` app. 2015-11-01 20:17:48 +01:00
Krunoslav Zaher 1dbe06a082 Improves example app. 2015-11-01 20:12:41 +01:00
Vodovozov Gleb 9a08915ff1 ensure that self is not nil in rxex_downloadableImageAnimated 2015-11-01 12:58:46 +08:00
Vodovozov Gleb 72b0904fea simplified text in OfflinePlaceholder 2015-11-01 11:31:22 +08:00
Vodovozov Gleb 5c148de3e2 moved out extension of UIImageView to separate file to have OS X support for DownloadableImage. Also changed UIImage to Image typealias 2015-11-01 11:28:09 +08:00
Vodovozov Gleb 85197b9a7c Use DownloadableImage in WikipediaImageServiceExample to handle network errors and bind result to collection view cells. 2015-11-01 10:31:25 +08:00
Vodovozov Gleb 942b617c10 introducing DownloadableImage – enum with 2 possible values – Content(image:UIImage) and OfflinePlaceholder. Use it in ImageService to implement retries on network failures. Also added rxex_downloadableImage extension for UIImageView which shows either content or placeholder image. 2015-11-01 10:30:55 +08:00
Vodovozov Gleb a7ea80a632 use reachability service to handle network errors in Wikipedia image search example: for cells with image. If connection is lost image with label Loading is displayed until connection is reestablished. Image is exported from paintcode 2015-10-31 14:57:52 +08:00
Vodovozov Gleb d070c08762 use reachability service to handle network errors in Wikipedia image search example: handle main search and loading titles 2015-10-31 14:57:51 +08:00
Vodovozov Gleb 5dfd604f29 use new reachability service to handle network errors in AutoLoading example 2015-10-31 14:57:51 +08:00
Vodovozov Gleb a35c77c0e0 Reachability+Rx now is ReachabilityService 2015-10-31 14:57:51 +08:00
Vodovozov Gleb ea628496f1 when receiving error from GitHubSearchRepositoriesAPI wait while network is reachable again and retry query 2015-10-31 14:57:51 +08:00
Vodovozov Gleb e8cb6721b7 added Reachability+Rx - contains reactive wrapper 2015-10-31 14:57:51 +08:00
Vodovozov Gleb 64788e9e3c added reachabilty.swift https://github.com/ashleymills/Reachability.swift 2015-10-31 14:57:51 +08:00
Tomi Koskinen 3e7345df04 TakeLast review fixes 2015-10-27 21:40:26 +02:00
Sendy Halim d7f3fa774b Change diposeBag to disposeBag 2015-10-25 19:23:35 +07:00
Krunoslav Zaher d1666db4d1 Removes unnecessary `subscribeSafe` in case there is already an `Observable` source. 2015-10-25 00:59:50 +02:00
Junior B 97e807080d Adds `elementAt` operator 2015-10-25 00:16:21 +02:00
Junior B 2936820088 Merge branch 'develop' of github.com:ReactiveX/RxSwift into feature/toArray
Conflicts:
	RxExample/RxExample.xcodeproj/project.pbxproj
2015-10-23 09:47:01 +02:00
Junior B 3693c7d9ff Adds `toArray` operator 2015-10-22 09:35:44 +02:00
yury e453820c08 Add WithLatestFrom operator 2015-10-20 12:43:35 +03:00
Krunoslav Zaher 63a60b359b Adds `ConcurrentMainScheduler` and `ImmediateScheduler`. 2015-10-19 02:31:16 +02:00
Krunoslav Zaher 0d33a77941 Adds double binding example. 2015-10-19 00:55:41 +02:00
Krunoslav Zaher 8251954b7b Changes `Driver` extensions to `DriverConvertibleType` extensions. 2015-10-18 18:20:21 +02:00
Krunoslav Zaher 1758f9d63a Adds `ActivityIndicator` to `RxExample`. 2015-10-18 17:27:09 +02:00
Krunoslav Zaher a991cad152 Adds `ActivityIndicator`. 2015-10-18 17:19:50 +02:00
Krunoslav Zaher d22a8fdada Merge pull request #198 from yury/using
Using operator
2015-10-18 16:14:48 +02:00
yury 8b6321e07a Add Using to RxExample-iOS-no-module target 2015-10-18 16:43:53 +03:00
Krunoslav Zaher 3269f482c9 Adds `concat` overload. 2015-10-18 15:24:53 +02:00
yury c9ea983f3a Add Using operator to no-module example 2015-10-17 21:04:38 +03:00
Krunoslav Zaher 6dc7f2e4a6 Rename `ObserverOf` to `AnyObserver`. 2015-10-17 12:15:37 +02:00
Krunoslav Zaher eba73eec26 Adds `Zip` and `CombineLatest` to `Driver` unit. 2015-10-15 23:30:48 +02:00
Krunoslav Zaher 97f805ce4f Adds excluded files. 2015-10-15 23:30:47 +02:00
Krunoslav Zaher 2958e0a796 Prototype of units. 2015-10-15 23:30:47 +02:00
yury cbdf027d3d Add SkipWhile operator 2015-10-12 11:59:20 +03:00
Krunoslav Zaher b4d4e4b4d6 Moves retry logic in Github example to right place. 2015-10-10 17:28:59 +02:00
Krunoslav Zaher a877416c56 Merge pull request #183 from yury/skip-until
SkipUntil
2015-10-08 18:44:43 +02:00
yury 403389beec Add SkipUntil to RxExample-iOS-no-module 2015-10-08 19:07:12 +03:00
Krunoslav Zaher 99ddac7848 Moves validation colors in it's own struct. 2015-10-08 16:31:28 +02:00
samgreen fe8e6d7965 Add self to access colors from closure. 2015-10-08 09:22:37 -04:00