Comments (6)
OK, after a fair bit of mucking about it looks like the RACAbleSelfWithStart()
macro is broken for me. It works if I manually setup the call like so:
[[[RACAbleSelf(self.urlToLoad) startWith:self.urlToLoad] distinctUntilChanged] subscribeNext:^(NSURL * newURL) {…}];
It looks like "self." is being prepended to the key path, and for me at least this is causing issues.
from reactivecocoa.
Thanks for doing the detective work on this @tonyarnold! Does that also solve your NSKVODeallocate problem?
I'd been thinking about removing RACAbleWithStart
since it seemed a bit overly specific. This is the kick in the pants I needed to actually do it.
from reactivecocoa.
Sadly, no. I'm still looking into that. RAC swizzles dealloc, right? I'm now seeing some messed up crashes where dealloc is called from different classes as various RAC'd objects deallocate! My luck: it is missing!
from reactivecocoa.
Interesting... I'd be interested to look into it if you can share the code at all. I'm definitely starting to wonder if there's a RAC bug there.
from reactivecocoa.
Here's a test project demonstrating the RACAbleSelfWithStart
issue: http://cl.ly/2q1c3r1U3v233Z2C2u1S
from reactivecocoa.
Yeah, something is quite wrong here: my UIApplicationDelegate was just deallocated when one of my view controllers using RAC was dismissed.
What do you need to chase this down? It's happening in a private client project, so I can't share the source publicly but I'd be happy to give you as much information as you need short of that (or to share the project privately).
from reactivecocoa.
Related Issues (20)
- [SwiftPM on Xcode] Package resolution failed HOT 2
- Unable to compile targeting macOS Catalyst using SwiftPM (fix exists)
- why RACObserve(self.scoreStepper,value) not available? HOT 1
- App rejected for HealthKit metadata HOT 4
- UISearchBar delegate proxy crash on Mac Catalyst HOT 1
- Build error when using ReactiveCocoa via Swift Package Manager HOT 3
- can not deinit HOT 2
- Xcode12 ReactiveObj archive error HOT 3
- How to implement PIN input with attempts HOT 1
- Dispose SignalProducer created via Action HOT 1
- UnsafeKVOProperty initializer crashes after updating to ReactiveSwift 6.5.0 HOT 1
- EXC_BAD_ACCESS Cash with NSURL HOT 1
- ReactiveCocoa 11.1.0 incompatible with ReactiveSwift 6.6.0 HOT 5
- Xcode 12.5 beta 3 can't build ReactiveCocoa with SwiftPM. HOT 2
- Using "<~" binding function with Signal.Observers causes memory leaks. HOT 1
- Upgrading from very old version (2.5) fails - can't find ReactiveCocoa.h HOT 1
- Cannot remove an observer <RACKVOProxy 0x280264940> for the key path "unit" from <HGConfigureModel 0x280d25050> because it is not registered as an observer.
- Current version can't be compiled with the latest ReactiveSwift version HOT 2
- Current version can't be compiled with the latest ReactiveSwift version HOT 6
- Add output values support for interception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactivecocoa.