Skip to content

Commit

Permalink
2.1
Browse files Browse the repository at this point in the history
- SIMBL compatibility
- Hooks trash tile without state change
- Shorter file count code
- Reduced count to adjust for .DS_Store file
  • Loading branch information
w0lfschild committed May 14, 2016
0 parents commit 489864f
Show file tree
Hide file tree
Showing 17 changed files with 1,452 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
binventory
===
Show the number of files in trash as badge on the trash icon.
289 changes: 289 additions & 0 deletions binventory.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
FA9B12151CB34BDA005FAC9F /* binventory.m in Sources */ = {isa = PBXBuildFile; fileRef = FA9B12141CB34BDA005FAC9F /* binventory.m */; };
FA9B121F1CB34CC9005FAC9F /* SGDirWatchDog_LICENSE.txt in Resources */ = {isa = PBXBuildFile; fileRef = FA9B121C1CB34CC9005FAC9F /* SGDirWatchDog_LICENSE.txt */; };
FA9B12201CB34CC9005FAC9F /* SGDirWatchdog.m in Sources */ = {isa = PBXBuildFile; fileRef = FA9B121E1CB34CC9005FAC9F /* SGDirWatchdog.m */; };
FB950CF81CB8D80000063F4B /* ZKSwizzle.m in Sources */ = {isa = PBXBuildFile; fileRef = FB950CF71CB8D80000063F4B /* ZKSwizzle.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
FA9B120E1CB34BDA005FAC9F /* binventory.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = binventory.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
FA9B12141CB34BDA005FAC9F /* binventory.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = binventory.m; sourceTree = "<group>"; };
FA9B12161CB34BDA005FAC9F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
FA9B121C1CB34CC9005FAC9F /* SGDirWatchDog_LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SGDirWatchDog_LICENSE.txt; sourceTree = "<group>"; };
FA9B121D1CB34CC9005FAC9F /* SGDirWatchdog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SGDirWatchdog.h; sourceTree = "<group>"; };
FA9B121E1CB34CC9005FAC9F /* SGDirWatchdog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SGDirWatchdog.m; sourceTree = "<group>"; };
FA9B12211CB34D28005FAC9F /* ECStatusLabelDescription.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ECStatusLabelDescription.h; sourceTree = "<group>"; };
FB950CF61CB8D80000063F4B /* ZKSwizzle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZKSwizzle.h; sourceTree = "<group>"; };
FB950CF71CB8D80000063F4B /* ZKSwizzle.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZKSwizzle.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
FA9B120B1CB34BDA005FAC9F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
FA9B12051CB34BDA005FAC9F = {
isa = PBXGroup;
children = (
FA9B12131CB34BDA005FAC9F /* binventory */,
FA9B120F1CB34BDA005FAC9F /* Products */,
);
sourceTree = "<group>";
};
FA9B120F1CB34BDA005FAC9F /* Products */ = {
isa = PBXGroup;
children = (
FA9B120E1CB34BDA005FAC9F /* binventory.bundle */,
);
name = Products;
sourceTree = "<group>";
};
FA9B12131CB34BDA005FAC9F /* binventory */ = {
isa = PBXGroup;
children = (
FB950CF61CB8D80000063F4B /* ZKSwizzle.h */,
FB950CF71CB8D80000063F4B /* ZKSwizzle.m */,
FA9B12211CB34D28005FAC9F /* ECStatusLabelDescription.h */,
FA9B121C1CB34CC9005FAC9F /* SGDirWatchDog_LICENSE.txt */,
FA9B121D1CB34CC9005FAC9F /* SGDirWatchdog.h */,
FA9B121E1CB34CC9005FAC9F /* SGDirWatchdog.m */,
FA9B12141CB34BDA005FAC9F /* binventory.m */,
FA9B12161CB34BDA005FAC9F /* Info.plist */,
);
path = binventory;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
FA9B120D1CB34BDA005FAC9F /* binventory */ = {
isa = PBXNativeTarget;
buildConfigurationList = FA9B12191CB34BDA005FAC9F /* Build configuration list for PBXNativeTarget "binventory" */;
buildPhases = (
FA9B120A1CB34BDA005FAC9F /* Sources */,
FA9B120B1CB34BDA005FAC9F /* Frameworks */,
FA9B120C1CB34BDA005FAC9F /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = binventory;
productName = binventory;
productReference = FA9B120E1CB34BDA005FAC9F /* binventory.bundle */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
FA9B12061CB34BDA005FAC9F /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "Alexander Zielenski";
TargetAttributes = {
FA9B120D1CB34BDA005FAC9F = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = FA9B12091CB34BDA005FAC9F /* Build configuration list for PBXProject "binventory" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = FA9B12051CB34BDA005FAC9F;
productRefGroup = FA9B120F1CB34BDA005FAC9F /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
FA9B120D1CB34BDA005FAC9F /* binventory */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
FA9B120C1CB34BDA005FAC9F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA9B121F1CB34CC9005FAC9F /* SGDirWatchDog_LICENSE.txt in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
FA9B120A1CB34BDA005FAC9F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FB950CF81CB8D80000063F4B /* ZKSwizzle.m in Sources */,
FA9B12201CB34CC9005FAC9F /* SGDirWatchdog.m in Sources */,
FA9B12151CB34BDA005FAC9F /* binventory.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
FA9B12171CB34BDA005FAC9F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
FA9B12181CB34BDA005FAC9F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
FA9B121A1CB34BDA005FAC9F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = (
/Library/Frameworks/,
"$(LOCAL_LIBRARY_DIR)/Frameworks",
"$(PROJECT_DIR)/binventory",
);
INFOPLIST_FILE = binventory/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
PRODUCT_BUNDLE_IDENTIFIER = com.alexzielenski.binventory;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = bundle;
};
name = Debug;
};
FA9B121B1CB34BDA005FAC9F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = (
/Library/Frameworks/,
"$(LOCAL_LIBRARY_DIR)/Frameworks",
"$(PROJECT_DIR)/binventory",
);
INFOPLIST_FILE = binventory/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
PRODUCT_BUNDLE_IDENTIFIER = com.alexzielenski.binventory;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = bundle;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
FA9B12091CB34BDA005FAC9F /* Build configuration list for PBXProject "binventory" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA9B12171CB34BDA005FAC9F /* Debug */,
FA9B12181CB34BDA005FAC9F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
FA9B12191CB34BDA005FAC9F /* Build configuration list for PBXNativeTarget "binventory" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA9B121A1CB34BDA005FAC9F /* Debug */,
FA9B121B1CB34BDA005FAC9F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = FA9B12061CB34BDA005FAC9F /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA9B120D1CB34BDA005FAC9F"
BuildableName = "binventory.bundle"
BlueprintName = "binventory"
ReferencedContainer = "container:binventory.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA9B120D1CB34BDA005FAC9F"
BuildableName = "binventory.bundle"
BlueprintName = "binventory"
ReferencedContainer = "container:binventory.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA9B120D1CB34BDA005FAC9F"
BuildableName = "binventory.bundle"
BlueprintName = "binventory"
ReferencedContainer = "container:binventory.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit 489864f

Please sign in to comment.