Skip to content

Commit

Permalink
Add Adjust Levels subspec
Browse files Browse the repository at this point in the history
  • Loading branch information
利辺羅エルネスト committed Nov 14, 2013
1 parent 1c70c68 commit 2cba421
Show file tree
Hide file tree
Showing 4 changed files with 643 additions and 3 deletions.
18 changes: 15 additions & 3 deletions LumberjackConsole.podspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@


Pod::Spec.new do |s|

s.name = "LumberjackConsole"
s.version = "1.0.0"
s.summary = "On-device CocoaLumberjack console with support for search, filters and more."
s.homepage = "http://ptez.github.io/LumberjackConsole"

s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { "PTEz" => "", "Ernesto Rivera" => "[email protected]" }
s.author = { "Ernesto Rivera" => "[email protected]" }
s.screenshots = [ "https://raw.github.com/wiki/CyberAgent/iOS-NBUCore/images/Dashboard.png",
"https://raw.github.com/wiki/CyberAgent/iOS-NBUCore/images/Dashboard_minimized.png",
"https://raw.github.com/wiki/CyberAgent/iOS-NBUCore/images/Dashboard_filter.png" ]
s.source = { :git => "https://github.com/PTEz/LumberjackConsole.git", :tag => "#{s.version}" }

s.platform = :ios
s.requires_arc = true
s.source_files = 'Source/*.{h,m}'
s.resources = 'Source/*.{xib}'
s.preserve_paths = "README.*", "NOTICE", "*.xcconfig"

s.dependency 'NBUCore', '>= 2.0.0'
s.dependency 'CocoaLumberjack', '>= 1.6.3'

s.subspec 'Base' do |sub|
sub.source_files = 'Source/*.{h,m}'
sub.resources = 'Source/*.{xib}'
end

s.subspec 'AdjustLevels' do |sub|
s.dependency 'LumberjackConsole/Base'
sub.source_files = 'Source/Adjust Levels/*.{h,m}'
sub.resources = 'Source/Adjust Levels/*.{xib}'
end

end

321 changes: 321 additions & 0 deletions Source/Adjust Levels/PTEAdjustLevelsCell.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,321 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1280</int>
<string key="IBDocument.SystemVersion">13A598</string>
<string key="IBDocument.InterfaceBuilderVersion">4511</string>
<string key="IBDocument.AppKitVersion">1265</string>
<string key="IBDocument.HIToolboxVersion">695.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">3745</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUILabel</string>
<string>IBUIStepper</string>
<string>IBUITableViewCell</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="352893876">
<object class="IBProxyObject" id="542123290">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="217675218">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUITableViewCell" id="684636141">
<reference key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIView" id="686710101">
<reference key="NSNextResponder" ref="684636141"/>
<int key="NSvFlags">256</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUILabel" id="895167482">
<reference key="NSNextResponder" ref="686710101"/>
<int key="NSvFlags">274</int>
<string key="NSFrame">{{15, 10}, {168, 38}}</string>
<reference key="NSSuperview" ref="686710101"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="690121253"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<string key="NSHuggingPriority">{251, 251}</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Label</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC45MDE5NjA3OTAyIDAuOTAxOTYwNzkwMiAwLjkwMTk2MDc5MDIAA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
<object class="IBUIFontDescription" key="IBUIFontDescription">
<int key="type">2</int>
<double key="pointSize">17</double>
</object>
<object class="NSFont" key="IBUIFont">
<string key="NSName">HelveticaNeue-Bold</string>
<double key="NSSize">17</double>
<int key="NSfFlags">16</int>
</object>
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
</object>
<object class="IBUIStepper" id="1066670586">
<reference key="NSNextResponder" ref="686710101"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{206, 23}, {94, 27}}</string>
<reference key="NSSuperview" ref="686710101"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<string key="NSHuggingPriority">{750, 750}</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<bool key="IBUIAutorepeat">NO</bool>
<double key="IBUIMaximumValue">5</double>
</object>
<object class="IBUILabel" id="690121253">
<reference key="NSNextResponder" ref="686710101"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{206, 8}, {94, 14}}</string>
<reference key="NSSuperview" ref="686710101"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1066670586"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<string key="NSHuggingPriority">{251, 251}</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Label</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAwIDAAA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
<int key="IBUITextAlignment">1</int>
<object class="IBUIFontDescription" key="IBUIFontDescription">
<int key="type">1</int>
<double key="pointSize">13</double>
</object>
<object class="NSFont" key="IBUIFont">
<string key="NSName">HelveticaNeue</string>
<double key="NSSize">13</double>
<int key="NSfFlags">16</int>
</object>
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
</object>
</array>
<string key="NSFrameSize">{320, 57}</string>
<reference key="NSSuperview" ref="684636141"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="895167482"/>
<string key="NSReuseIdentifierKey">_NS:12</string>
<object class="NSColor" key="IBUIBackgroundColor" id="202031615">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">4</int>
<bool key="IBUIMultipleTouchEnabled">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
<string key="NSFrameSize">{320, 58}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="686710101"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<reference key="IBUIBackgroundColor" ref="202031615"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUISelectionStyle">0</int>
<float key="IBUIIndentationWidth">15</float>
<reference key="IBUIContentView" ref="686710101"/>
<string key="IBUIReuseIdentifier">PTEAdjustLevelsCell</string>
<real value="60" key="IBUIRowHeight"/>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<bool key="usesAutoincrementingIDs">NO</bool>
<array class="NSMutableArray" key="connectionRecords">
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">nameLabel</string>
<reference key="source" ref="684636141"/>
<reference key="destination" ref="895167482"/>
</object>
<string key="id">WBx-cE-hvJ</string>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">levelLabel</string>
<reference key="source" ref="684636141"/>
<reference key="destination" ref="690121253"/>
</object>
<string key="id">yUy-pA-ipu</string>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">levelStepper</string>
<reference key="source" ref="684636141"/>
<reference key="destination" ref="1066670586"/>
</object>
<string key="id">0el-08-lyR</string>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">stepperValueChanged:</string>
<reference key="source" ref="1066670586"/>
<reference key="destination" ref="217675218"/>
<int key="IBEventType">13</int>
</object>
<string key="id">m9q-N8-LTq</string>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<string key="id">0</string>
<array key="object" id="0"/>
<reference key="children" ref="352893876"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<string key="id">-1</string>
<reference key="object" ref="542123290"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<string key="id">-2</string>
<reference key="object" ref="217675218"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<string key="id">QxI-yo-nEs</string>
<reference key="object" ref="684636141"/>
<array class="NSMutableArray" key="children">
<reference ref="895167482"/>
<reference ref="1066670586"/>
<reference ref="690121253"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<string key="id">Gxy-Rj-k4Q</string>
<reference key="object" ref="895167482"/>
<reference key="parent" ref="684636141"/>
</object>
<object class="IBObjectRecord">
<string key="id">uyn-fJ-YO8</string>
<reference key="object" ref="1066670586"/>
<reference key="parent" ref="684636141"/>
</object>
<object class="IBObjectRecord">
<string key="id">aoD-YL-Qc0</string>
<reference key="object" ref="690121253"/>
<reference key="parent" ref="684636141"/>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<boolean value="NO" key="-1.showNotes"/>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<boolean value="NO" key="-2.showNotes"/>
<string key="Gxy-Rj-k4Q.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="QxI-yo-nEs.CustomClassName">PTEAdjustLevelsCell</string>
<string key="QxI-yo-nEs.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="aoD-YL-Qc0.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="uyn-fJ-YO8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">PTEAdjustLevelsCell</string>
<string key="superclassName">UITableViewCell</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="levelLabel">UILabel</string>
<string key="levelStepper">UIStepper</string>
<string key="nameLabel">UILabel</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="levelLabel">
<string key="name">levelLabel</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo" key="levelStepper">
<string key="name">levelStepper</string>
<string key="candidateClassName">UIStepper</string>
</object>
<object class="IBToOneOutletInfo" key="nameLabel">
<string key="name">nameLabel</string>
<string key="candidateClassName">UILabel</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/PTEAdjustLevelsCell.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">PTEAdjustLevelsTableView</string>
<string key="superclassName">UITableView</string>
<object class="NSMutableDictionary" key="actions">
<string key="NS.key.0">stepperValueChanged:</string>
<string key="NS.object.0">UIStepper</string>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<string key="NS.key.0">stepperValueChanged:</string>
<object class="IBActionInfo" key="NS.object.0">
<string key="name">stepperValueChanged:</string>
<string key="candidateClassName">UIStepper</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/PTEAdjustLevelsTableView.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">YES</bool>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<integer value="1280" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<integer value="4600" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">3745</string>
</data>
</archive>
37 changes: 37 additions & 0 deletions Source/Adjust Levels/PTEAdjustLevelsTableView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// PTEAdjustLevelsTableView.h
// LumberjackConsole
//
// Created by Ernesto Rivera on 2013/10/09.
// 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.
//

/**
*/
@interface PTEAdjustLevelsTableView : UITableView

@end


/**
*/
@interface PTEAdjustLevelsCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel * nameLabel;
@property (weak, nonatomic) IBOutlet UILabel * levelLabel;
@property (weak, nonatomic) IBOutlet UIStepper * levelStepper;

@end

Loading

0 comments on commit 2cba421

Please sign in to comment.