//// UIRefreshControl.h// UIKit//// Copyright 2012 Apple Inc. All rights reserved.//#import <foundation /Foundation.h>#import <uikit /UIControl.h>#import </uikit><uikit /UIKitDefines.h>
NS_CLASS_AVAILABLE_IOS(6_0)@interface UIRefreshControl : UIControl
/* The designated initializer
* This initializes a UIRefreshControl with a default height and width.
* Once assigned to a UITableViewController, the frame of the control is managed automatically.
* When a user has pulled-to-refresh, the UIRefreshControl fires its UIControlEventValueChanged event.
*/-(id)init;
@property(nonatomic, readonly, getter=isRefreshing)BOOL refreshing;
@property(nonatomic, retain) UIColor *tintColor UI_APPEARANCE_SELECTOR;
@property(nonatomic, retain)NSAttributedString*attributedTitle UI_APPEARANCE_SELECTOR;
// May be used to indicate to the refreshControl that an external event has initiated the refresh action-(void)beginRefreshing NS_AVAILABLE_IOS(6_0);
// Must be explicitly called when the refreshing has completed-(void)endRefreshing NS_AVAILABLE_IOS(6_0);
@end</uikit></foundation>