Skip to content

Commit

Permalink
Update Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
利辺羅エルネスト committed Nov 14, 2013
1 parent 2cba421 commit 8008c81
Show file tree
Hide file tree
Showing 10 changed files with 458 additions and 805 deletions.
1,156 changes: 368 additions & 788 deletions Demo/ConsoleDemo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions Demo/ConsoleDemo/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
// AppDelegate.h
// ConsoleDemo
//
// Created by 利辺羅 on 2013/11/13.
// Copyright (c) 2013年 PTEz. All rights reserved.
// Created by Ernesto Rivera on 2013/11/13.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import <UIKit/UIKit.h>
Expand Down
20 changes: 17 additions & 3 deletions Demo/ConsoleDemo/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
// AppDelegate.m
// ConsoleDemo
//
// Created by 利辺羅 on 2013/11/13.
// Copyright (c) 2013年 PTEz. All rights reserved.
// Created by Ernesto Rivera on 2013/11/13.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import "AppDelegate.h"
Expand All @@ -15,10 +27,12 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Add the console dashboard
#ifndef MY_PRODUCTION_MACRO
// Add the console dashboard for testing builds
[DDLog addLogger:[PTEDashboard sharedDashboard].logger];

DDLogInfo(@"Added console dashboard");
#endif

[self generateRandomLogMessage];

Expand Down
16 changes: 14 additions & 2 deletions Demo/ConsoleDemo/ViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
// ViewController.h
// ConsoleDemo
//
// Created by 利辺羅 on 2013/11/13.
// Copyright (c) 2013年 PTEz. All rights reserved.
// Created by Ernesto Rivera on 2013/11/13.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 14 additions & 2 deletions Demo/ConsoleDemo/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
// ViewController.m
// ConsoleDemo
//
// Created by 利辺羅 on 2013/11/13.
// Copyright (c) 2013年 PTEz. All rights reserved.
// Created by Ernesto Rivera on 2013/11/13.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import "ViewController.h"
Expand Down
16 changes: 14 additions & 2 deletions Demo/ConsoleDemo/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
// main.m
// ConsoleDemo
//
// Created by 利辺羅 on 2013/11/13.
// Copyright (c) 2013年 PTEz. All rights reserved.
// Created by Ernesto Rivera on 2013/11/13.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import <UIKit/UIKit.h>
Expand Down
4 changes: 2 additions & 2 deletions Demo/Podfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

platform :ios, '5.0'

# For regular projects use:
# For regular projects
pod 'CocoaLumberjack'
#pod 'LumberjackConsole'

# For development:
# For development
pod 'NBUCore', :path => '../../NBUBase/NBUCore'
pod 'LumberjackConsole', :path => '../'
15 changes: 13 additions & 2 deletions Demo/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ PODS:
- CocoaLumberjack/Core
- LumberjackConsole (1.0.0):
- CocoaLumberjack (>= 1.6.3)
- LumberjackConsole/AdjustLevels
- LumberjackConsole/Base
- LumberjackConsole/Base
- NBUCore (>= 2.0.0)
- LumberjackConsole/AdjustLevels (1.0.0):
- CocoaLumberjack (>= 1.6.3)
- LumberjackConsole/Base
- NBUCore (>= 2.0.0)
- LumberjackConsole/Base (1.0.0):
- CocoaLumberjack (>= 1.6.3)
- LumberjackConsole/Base
- NBUCore (>= 2.0.0)
- NBUCore (2.0.0)

Expand All @@ -23,7 +34,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CocoaLumberjack: 0af89e0de15835a499fcc6ee5e0b6d396bc95976
LumberjackConsole: 9d8622ce6c83eac71a806f18a0441351cf15ff74
NBUCore: 11a648346e9b1847e477dd9367be857d64bc0457
LumberjackConsole: 75832319e4dd435d600a533699c805bc94fc3f38
NBUCore: 66e33f9426cbefb5ca88f3228cfc2dd36eac6e71

COCOAPODS: 0.25.0
2 changes: 1 addition & 1 deletion Source/PTEConsoleLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LumberjackConsole
//
// Created by Ernesto Rivera on 2013/05/23.
// Copyright (c) 2013 PTEz.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Source/PTEConsoleLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LumberjackConsole
//
// Created by Ernesto Rivera on 2013/05/23.
// Copyright (c) 2013 PTEz.
// Copyright (c) 2013.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 8008c81

Please sign in to comment.