Skip to content

Commit eed6bfa

Browse files
author
Colin Guenther
committedAug 15, 2012
Small refactoring for providing public access to the managed object context.
1 parent e7fa2eb commit eed6bfa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎iOSDevWeekly/COGUDevWeeklyNewsManager.h

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ typedef void (^COGUDevWeeklyNewsManagerFailureHandler)(NSError* error);
4242
@interface COGUDevWeeklyNewsManager : NSObject
4343

4444

45+
/*!
46+
@brief Provides access to the dev weekly issues
47+
@discussion Only access this context on the main queue. For long fetching operations the main thread might be blocked for quiet some time thus leading to an unresponding user interface.
48+
*/
49+
@property (strong, nonatomic, readonly) NSManagedObjectContext* devWeeklyManagedObjectContext;
50+
51+
4552
/*!
4653
@brief Fetches and adds all dev weekly issues to the database.
4754
@discussion Prefilling will happen only when there are no issues in the database yet. After successfully prefilling the database all issues are going to be persisted, too.

0 commit comments

Comments
 (0)
Please sign in to comment.