mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
29 lines
781 B
Mathematica
29 lines
781 B
Mathematica
![]() |
//
|
||
|
// OSKSession.m
|
||
|
// unread
|
||
|
//
|
||
|
// Created by Jared Sinclair on 11/22/13.
|
||
|
// Copyright (c) 2013 Nice Boy LLC. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "OSKSession.h"
|
||
|
|
||
|
#import "NSString+OSK_UUID.h"
|
||
|
|
||
|
NSString * const OSKActivityOption_ActivityCompletionHandler = @"OSKActivityOption_ActivityCompletionHandler";
|
||
|
|
||
|
@implementation OSKSession
|
||
|
|
||
|
- (instancetype)initWithPresentationEndingHandler:(OSKPresentationEndingHandler)endingHandler
|
||
|
activityCompletionHandler:(OSKActivityCompletionHandler)activityHandler {
|
||
|
self = [super init];
|
||
|
if (self) {
|
||
|
_sessionIdentifier = [NSString osk_stringWithNewUUID];
|
||
|
_presentationEndingHandler = [endingHandler copy];
|
||
|
_activityCompletionHandler = [activityHandler copy];
|
||
|
}
|
||
|
return self;
|
||
|
}
|
||
|
|
||
|
@end
|