开发环境:XCODE4.6.3
IOS sdk:6.1 + ARC
问题描述: 在使用pullToRefresh做下拉刷新时,出现错误,代码如下
Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <PullingRefreshTableView 0x80b0a00> for the key path "contentSize" from <PullingRefreshTableView 0x80b0a00> because it is not registered as an observer.'
解决方法如下:
Change the property in PullToRefreshView.h to this:
@property (nonatomic, strong) id<PullToRefreshViewDelegate> delegate;
So change it from “assign” to “strong”.
参考资料:http://sonnyparlin.com/2011/12/pulltorefresh-ios-5-and-arc-tutorial/
相关推荐
DSP-Based speed adaptive flux observer.T is widely used for induction motor drives. This method needs a speed sensor such as a shaft encoder not only for speed control but also for torque control. ...
An Adaptive Nonlinear Extended State Observer for the Sensorless Speed Control of a PMSM
It is aimed at anyone interested in leading-edge theories about cosmology and the nature of reality, but it is not about mainstream physics. Rather, Imagining the Tenth Dimension is a mind-expanding ...
The design and implementation of the hybrid control method for a three-pole active magnetic bearing (AMB) is proposed in this paper. The system is inherently nonlinear and conventional nonlinear con ...
The core is decoupled from the GUI using the observer pattern, so it is easy to pull the code, extract the core and then build a new GUI around it. 1. Download and install Qt ...
Ethereal is a GUI network protocol analyzer. It lets you interactively browse packet data from a live network or from a previously saved capture ... the '.gz' extension is not required for this purpose.
Robust Observer-Based Fault Diagnosis for Nonlinear Systems Using MATLAB®
With the increasing focus on optimized software architecture and design it is important that software architects think about optimizations in object creation, code structure, and interaction between ...
Cockroach implements a single, monolithic sorted map from key to value where both keys and values are byte strings (not unicode). Cockroach scales linearly (theoretically up to 4 exabytes (4E) of ...
observer观察者模式
This paper introduces a time delay control with an observer (TDO) in the fuel supply system to enhance the load-following capability to realize rapid load-following without fuel starvation. A dynamic...
the Observer pattern) with Boost.Signals <br>The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head ...
任意扰动相对阶系统的非线性扰动观测器控制方法,杨俊,陈文华,已有的基于非线性扰动观测器的控制仅适用于系统扰动相对阶大于或等于输入相对阶的情况。本文给出了一种新的基于非线性扰动观测器
For decades, the Observer pattern has been the go-to event infrastructure, but it is known to be bug-prone. Functional reactive programming (FRP) replaces Observer, radically improving the quality of...
A recently reported result concerning the designing adaptive impulsive observer for nonlinear continuous-time systems using LMI-... It is shown that a key condition of the result can not be satisfied.
A recently reported result concerning the designing adaptive impulsive observer for nonlinear continuous-time systems using LMI-... It is shown that a key condition of the result can not be satisfied.
the Observer pattern) with Boost.Signals <br>The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head ...