-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCottonWool.h
38 lines (31 loc) · 1.16 KB
/
CottonWool.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// CottonWool.h
//
// Started with UncaughtExceptions, but gutted most things apart from the
// backtrace method.
//
// John Scott
// Copyright 2010 jjrscott. All rights reserved (that can be).
//
// UncaughtExceptions.h
// UncaughtExceptions
//
// Created by Matt Gallagher on 2010/05/25.
// Copyright 2010 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that any redistribution (in part or whole) of source code must retain
// this copyright and permission notice. Attribution in compiled projects is
// appreciated but not required.
//
#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#define CWLog(...) ([CottonWool crumbWithString:[NSString stringWithFormat:__VA_ARGS__] class:[self class]])
@interface CottonWool : NSObject
+ (void) wrap;
+ (void) crumbWithString: (NSString *)name class: (Class)class;
+ (void) sendFeedback:(UIViewController <MFMailComposeViewControllerDelegate>* )viewController;
+ (void) setEndFunction:(void (*)())function;
+ (void) setLogToConsole:(BOOL)logToConsole;
@end