balufreak
Aktives Mitglied
Thread Starter
- Dabei seit
- 12.10.2003
- Beiträge
- 1.563
- Reaktionspunkte
- 28
Hallo Zusammen,
Ich muss ein Framework in mein iOS Projekt importieren. Nun bekomme ich in einem Header-File folgenden Fehler:
Hier noch der Code des Header-Files
Was will Xcode bzw. der Compiler da von mir?
cheers
balu
Ich muss ein Framework in mein iOS Projekt importieren. Nun bekomme ich in einem Header-File folgenden Fehler:
Hier noch der Code des Header-Files
Code:
#import <Foundation/Foundation.h>
/*!
@class
@abstract Represents the allowed SUP log levels.
@discussion An int value of: 1, 2, 3, 4, 5, or 6. Corresponds to trace, debug, info, warn, error, and fatal, respectively.
*/
@interface SUPLogLevel : NSObject
{
}
/*!
@method
@abstract Returns the log level for TRACE.
@result An int describing the log level.
@discussion
*/
+ (int)TRACE;
/*!
@method
@abstract Returns the log level for DEBUG.
@result An int describing the log level.
@discussion
*/
+ (int)DEBUG;
/*!
@method
@abstract Returns the log level for INFO.
@result An int describing the log level.
@discussion
*/
+ (int)INFO;
/*!
@method
@abstract Returns the log level for WARN.
@result An int describing the log level.
@discussion
*/
+ (int)WARN;
/*!
@method
@abstract Returns the log level for ERROR.
@result An int describing the log level.
@discussion
*/
+ (int)ERROR;
/*!
@method
@abstract Returns the log level for FATAL.
@result An int describing the log level.
@discussion
*/
+ (int)FATAL;
/*!
@method
@abstract Returns the log level from the given string.
@param level The string describing the log level.
@result An int describing the log level.
@discussion
*/
+ (int)fromString:(NSString*)level;
+ (NSString*)toString:(int)level;
/*!
@method
@abstract Compares the log levels and returns 0 if equal, 1 if level1 > level2 and -1 if level2 >level1.
@param level1 A log level.
@param level2 A log level.
@result An int describing the log level.
@discussion
*/
+ (int)compareLevels:(int)level1 withLevel:(int)level2;
@end
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_TRACE
#define SUPLogLevel_TRACE 1
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_DEBUG
#define SUPLogLevel_DEBUG 2
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_INFO
#define SUPLogLevel_INFO 3
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_WARN
#define SUPLogLevel_WARN 4
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_ERROR
#define SUPLogLevel_ERROR 5
#endif
/*!
@defined
@abstract
@discussion
*/
#ifndef SUPLogLevel_FATAL
#define SUPLogLevel_FATAL 6
#endif
Was will Xcode bzw. der Compiler da von mir?
cheers
balu