Skip to content

Commit

Permalink
GDPerformanceView on swift
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-gavrilov committed Jan 4, 2017
0 parents commit d7022e0
Show file tree
Hide file tree
Showing 23 changed files with 1,458 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
# Xcode
.DS_Store
build/
DerivedData
.idea/
14 changes: 14 additions & 0 deletions GDPerformanceView-Swift.podspec
@@ -0,0 +1,14 @@
Pod::Spec.new do |s|
s.name = "GDPerformanceView-Swift"
s.version = "1.0.0"
s.summary = "Shows FPS, CPU usage, app and iOS versions above the status bar."
s.homepage = "https://github.com/dani-gavrilov/GDPerformanceView-Swift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Gavrilov Daniil" => "daniilmbox@gmail.com" }
s.platform = :ios, "8.0"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/dani-gavrilov/GDPerformanceView-Swift.git", :tag => "1.0.0" }
s.source_files = "GDPerformanceView-Swift/GDPerformanceMonitoring/*"
s.frameworks = "UIKit", "Foundation", "QuartzCore"
s.requires_arc = true
end
332 changes: 332 additions & 0 deletions GDPerformanceView-Swift.xcodeproj/project.pbxproj
@@ -0,0 +1,332 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
428FE57F1E1D268100F85C8B /* GDPerformanceMonitorDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 428FE57E1E1D268100F85C8B /* GDPerformanceMonitorDelegate.swift */; };
42AD06F31E1D18C400A5C840 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42AD06E71E1D18C400A5C840 /* AppDelegate.swift */; };
42AD06F41E1D18C400A5C840 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 42AD06E81E1D18C400A5C840 /* Assets.xcassets */; };
42AD06F51E1D18C400A5C840 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42AD06E91E1D18C400A5C840 /* LaunchScreen.storyboard */; };
42AD06F61E1D18C400A5C840 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42AD06EB1E1D18C400A5C840 /* Main.storyboard */; };
42AD06F71E1D18C400A5C840 /* GDMarginLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42AD06EE1E1D18C400A5C840 /* GDMarginLabel.swift */; };
42AD06F81E1D18C400A5C840 /* GDPerformanceMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42AD06EF1E1D18C400A5C840 /* GDPerformanceMonitor.swift */; };
42AD06F91E1D18C400A5C840 /* GDPerformanceView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42AD06F01E1D18C400A5C840 /* GDPerformanceView.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
4237B6D81E0FE22A0059FF8B /* GDPerformanceView-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "GDPerformanceView-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
428FE57E1E1D268100F85C8B /* GDPerformanceMonitorDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GDPerformanceMonitorDelegate.swift; sourceTree = "<group>"; };
42AD06E71E1D18C400A5C840 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
42AD06E81E1D18C400A5C840 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
42AD06EA1E1D18C400A5C840 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
42AD06EC1E1D18C400A5C840 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
42AD06EE1E1D18C400A5C840 /* GDMarginLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GDMarginLabel.swift; sourceTree = "<group>"; };
42AD06EF1E1D18C400A5C840 /* GDPerformanceMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GDPerformanceMonitor.swift; sourceTree = "<group>"; };
42AD06F01E1D18C400A5C840 /* GDPerformanceView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GDPerformanceView.swift; sourceTree = "<group>"; };
42AD06F11E1D18C400A5C840 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
4237B6CF1E0FE2290059FF8B = {
isa = PBXGroup;
children = (
42AD06E61E1D18C400A5C840 /* GDPerformanceView-Swift */,
4237B6D91E0FE22A0059FF8B /* Products */,
);
sourceTree = "<group>";
};
4237B6D91E0FE22A0059FF8B /* Products */ = {
isa = PBXGroup;
children = (
4237B6D81E0FE22A0059FF8B /* GDPerformanceView-Swift.app */,
);
name = Products;
sourceTree = "<group>";
};
42AD06E61E1D18C400A5C840 /* GDPerformanceView-Swift */ = {
isa = PBXGroup;
children = (
42AD06ED1E1D18C400A5C840 /* GDPerformanceMonitoring */,
42AD06E71E1D18C400A5C840 /* AppDelegate.swift */,
42AD06E81E1D18C400A5C840 /* Assets.xcassets */,
42AD06E91E1D18C400A5C840 /* LaunchScreen.storyboard */,
42AD06EB1E1D18C400A5C840 /* Main.storyboard */,
42AD06F11E1D18C400A5C840 /* Info.plist */,
);
path = "GDPerformanceView-Swift";
sourceTree = "<group>";
};
42AD06ED1E1D18C400A5C840 /* GDPerformanceMonitoring */ = {
isa = PBXGroup;
children = (
42AD06EE1E1D18C400A5C840 /* GDMarginLabel.swift */,
42AD06EF1E1D18C400A5C840 /* GDPerformanceMonitor.swift */,
42AD06F01E1D18C400A5C840 /* GDPerformanceView.swift */,
428FE57E1E1D268100F85C8B /* GDPerformanceMonitorDelegate.swift */,
);
path = GDPerformanceMonitoring;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
4237B6D71E0FE2290059FF8B /* GDPerformanceView-Swift */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4237B6EA1E0FE22A0059FF8B /* Build configuration list for PBXNativeTarget "GDPerformanceView-Swift" */;
buildPhases = (
4237B6D41E0FE2290059FF8B /* Sources */,
4237B6D51E0FE2290059FF8B /* Frameworks */,
4237B6D61E0FE2290059FF8B /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "GDPerformanceView-Swift";
productName = "GDPerfomanceView-Swift";
productReference = 4237B6D81E0FE22A0059FF8B /* GDPerformanceView-Swift.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
4237B6D01E0FE2290059FF8B /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0820;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = "Daniil Gavrilov";
TargetAttributes = {
4237B6D71E0FE2290059FF8B = {
CreatedOnToolsVersion = 8.2;
DevelopmentTeam = RU64C364MT;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 4237B6D31E0FE2290059FF8B /* Build configuration list for PBXProject "GDPerformanceView-Swift" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 4237B6CF1E0FE2290059FF8B;
productRefGroup = 4237B6D91E0FE22A0059FF8B /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
4237B6D71E0FE2290059FF8B /* GDPerformanceView-Swift */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
4237B6D61E0FE2290059FF8B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
42AD06F61E1D18C400A5C840 /* Main.storyboard in Resources */,
42AD06F41E1D18C400A5C840 /* Assets.xcassets in Resources */,
42AD06F51E1D18C400A5C840 /* LaunchScreen.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
4237B6D41E0FE2290059FF8B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
42AD06F31E1D18C400A5C840 /* AppDelegate.swift in Sources */,
42AD06F71E1D18C400A5C840 /* GDMarginLabel.swift in Sources */,
42AD06F91E1D18C400A5C840 /* GDPerformanceView.swift in Sources */,
428FE57F1E1D268100F85C8B /* GDPerformanceMonitorDelegate.swift in Sources */,
42AD06F81E1D18C400A5C840 /* GDPerformanceMonitor.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
42AD06E91E1D18C400A5C840 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
42AD06EA1E1D18C400A5C840 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
42AD06EB1E1D18C400A5C840 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
42AD06EC1E1D18C400A5C840 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
4237B6E81E0FE22A0059FF8B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
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;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
4237B6E91E0FE22A0059FF8B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
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;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
4237B6EB1E0FE22A0059FF8B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = RU64C364MT;
INFOPLIST_FILE = "GDPerformanceView-Swift/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "GD.GDPerformanceView-Swift";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
4237B6EC1E0FE22A0059FF8B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = RU64C364MT;
INFOPLIST_FILE = "GDPerformanceView-Swift/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "GD.GDPerformanceView-Swift";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
4237B6D31E0FE2290059FF8B /* Build configuration list for PBXProject "GDPerformanceView-Swift" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4237B6E81E0FE22A0059FF8B /* Debug */,
4237B6E91E0FE22A0059FF8B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4237B6EA1E0FE22A0059FF8B /* Build configuration list for PBXNativeTarget "GDPerformanceView-Swift" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4237B6EB1E0FE22A0059FF8B /* Debug */,
4237B6EC1E0FE22A0059FF8B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4237B6D01E0FE2290059FF8B /* Project object */;
}

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

Binary file not shown.
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>

0 comments on commit d7022e0

Please sign in to comment.