Skip to content

Commit

Permalink
Adding Xcode projects to build as a framework / library on desktop / …
Browse files Browse the repository at this point in the history
…mobile.
  • Loading branch information
robbiehanson committed Feb 16, 2012
1 parent 665c844 commit ab63f69
Show file tree
Hide file tree
Showing 25 changed files with 5,990 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Xcode/LumberjackFramework/Desktop/FmwkTest/AppDelegate.h
@@ -0,0 +1,8 @@
#import <Cocoa/Cocoa.h>


@interface AppDelegate : NSObject <NSApplicationDelegate>

@property (assign) IBOutlet NSWindow *window;

@end
22 changes: 22 additions & 0 deletions Xcode/LumberjackFramework/Desktop/FmwkTest/AppDelegate.m
@@ -0,0 +1,22 @@
#import "AppDelegate.h"
#import <Lumberjack/Lumberjack.h>

// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;


@implementation AppDelegate

@synthesize window = _window;

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
[DDLog addLogger:[DDTTYLogger sharedInstance]];

DDLogVerbose(@"Verbose");
DDLogInfo(@"Info");
DDLogWarn(@"Warn");
DDLogError(@"Error");
}

@end
34 changes: 34 additions & 0 deletions Xcode/LumberjackFramework/Desktop/FmwkTest/FmwkTest-Info.plist
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.deusty.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 __MyCompanyName__. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
@@ -0,0 +1,7 @@
//
// Prefix header for all source files of the 'FmwkTest' target in the 'FmwkTest' project
//

#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
29 changes: 29 additions & 0 deletions Xcode/LumberjackFramework/Desktop/FmwkTest/en.lproj/Credits.rtf
@@ -0,0 +1,29 @@
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw9840\paperh8400
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f0\b\fs24 \cf0 Engineering:
\b0 \
Some people\
\

\b Human Interface Design:
\b0 \
Some other people\
\

\b Testing:
\b0 \
Hopefully not nobody\
\

\b Documentation:
\b0 \
Whoever\
\

\b With special thanks to:
\b0 \
Mom\
}
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

0 comments on commit ab63f69

Please sign in to comment.