Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (37 sloc) 1.493 kb
//
// SSManagedViewController.h
// SSDataKit
//
// Created by Sam Soffes on 4/7/12.
// Copyright (c) 2012 Sam Soffes. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import <UIKit/UIKit.h>
@class SSManagedObject;
@interface SSManagedViewController : UIViewController <NSFetchedResultsControllerDelegate>
@property (nonatomic, strong) SSManagedObject *managedObject;
@property (nonatomic, strong) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, assign) BOOL ignoreChange;
@property (nonatomic, assign, getter=isLoading) BOOL loading;
@property (nonatomic, strong) UIView *noContentView;
@property (nonatomic, strong) UIView *loadingView;
+ (Class)fetchedResultsControllerClass;
- (NSFetchRequest *)fetchRequest;
- (Class)entityClass;
- (NSArray *)sortDescriptors;
- (NSPredicate *)predicate;
- (NSManagedObjectContext *)managedObjectContext;
- (NSString *)sectionNameKeyPath;
- (NSString *)cacheName;
- (NSIndexPath *)viewIndexPathForFetchedIndexPath:(NSIndexPath *)fetchedIndexPath;
- (NSIndexPath *)fetchedIndexPathForViewIndexPath:(NSIndexPath *)viewIndexPath;
- (id)objectForViewIndexPath:(NSIndexPath *)indexPath;
- (void)setLoading:(BOOL)loading animated:(BOOL)animated;
- (BOOL)hasContent;
- (void)updatePlaceholderViews:(BOOL)animated;
- (void)showLoadingView:(BOOL)animated;
- (void)hideLoadingView:(BOOL)animated;
- (void)showNoContentView:(BOOL)animated;
- (void)hideNoContentView:(BOOL)animated;
@end
Jump to Line
Something went wrong with that request. Please try again.