Skip to content

Commit

Permalink
调整项目
Browse files Browse the repository at this point in the history
  • Loading branch information
huangboju committed Mar 16, 2017
1 parent 437f5ea commit 37baa74
Show file tree
Hide file tree
Showing 8 changed files with 129 additions and 281 deletions.
4 changes: 2 additions & 2 deletions ETNavBarTransparent/ETNavBarTransparent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension UIColor {
extension DispatchQueue {

private static var _onceTracker = [String]()

public class func once(token: String, block: () -> Void) {
objc_sync_enter(self)
defer { objc_sync_exit(self) }
Expand Down Expand Up @@ -233,7 +233,7 @@ extension UIViewController {
navigationController?.setNeedsNavigationBackground(alpha: alpha)
}
}

open var navBarTintColor: UIColor {
get {
guard let tintColor = objc_getAssociatedObject(self, &AssociatedKeys.navBarTintColor) as? UIColor else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
373664FC1E6E9BE000239537 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 373664FA1E6E9BE000239537 /* LaunchScreen.storyboard */; };
3736650D1E6E9C8E00239537 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3736650B1E6E9C8E00239537 /* MainViewController.swift */; };
3736650E1E6E9C8E00239537 /* ProfileViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3736650C1E6E9C8E00239537 /* ProfileViewController.swift */; };
378A88981E7063C1008AE1EC /* ETNavBarTransparent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 378A88971E7063C1008AE1EC /* ETNavBarTransparent.swift */; };
D81840871E7A32890081479E /* ETNavBarTransparent.swift in Sources */ = {isa = PBXBuildFile; fileRef = D81840861E7A32890081479E /* ETNavBarTransparent.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -25,7 +25,7 @@
373664FD1E6E9BE000239537 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3736650B1E6E9C8E00239537 /* MainViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };
3736650C1E6E9C8E00239537 /* ProfileViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProfileViewController.swift; sourceTree = "<group>"; };
378A88971E7063C1008AE1EC /* ETNavBarTransparent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ETNavBarTransparent.swift; sourceTree = "<group>"; };
D81840861E7A32890081479E /* ETNavBarTransparent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ETNavBarTransparent.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -58,7 +58,7 @@
373664F01E6E9BE000239537 /* ETNavBarTransparentDemo */ = {
isa = PBXGroup;
children = (
378A88961E7063C1008AE1EC /* ETNavBarTransparent */,
D81840851E7A32890081479E /* ETNavBarTransparent */,
373664F11E6E9BE000239537 /* AppDelegate.swift */,
3736650B1E6E9C8E00239537 /* MainViewController.swift */,
3736650C1E6E9C8E00239537 /* ProfileViewController.swift */,
Expand All @@ -70,12 +70,13 @@
path = ETNavBarTransparentDemo;
sourceTree = "<group>";
};
378A88961E7063C1008AE1EC /* ETNavBarTransparent */ = {
D81840851E7A32890081479E /* ETNavBarTransparent */ = {
isa = PBXGroup;
children = (
378A88971E7063C1008AE1EC /* ETNavBarTransparent.swift */,
D81840861E7A32890081479E /* ETNavBarTransparent.swift */,
);
path = ETNavBarTransparent;
name = ETNavBarTransparent;
path = ../../ETNavBarTransparent;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand Down Expand Up @@ -152,7 +153,7 @@
buildActionMask = 2147483647;
files = (
3736650D1E6E9C8E00239537 /* MainViewController.swift in Sources */,
378A88981E7063C1008AE1EC /* ETNavBarTransparent.swift in Sources */,
D81840871E7A32890081479E /* ETNavBarTransparent.swift in Sources */,
3736650E1E6E9C8E00239537 /* ProfileViewController.swift in Sources */,
373664F21E6E9BE000239537 /* AppDelegate.swift in Sources */,
);
Expand Down
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,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "373664ED1E6E9BE000239537"
BuildableName = "ETNavBarTransparentDemo.app"
BlueprintName = "ETNavBarTransparentDemo"
ReferencedContainer = "container:ETNavBarTransparentDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "373664ED1E6E9BE000239537"
BuildableName = "ETNavBarTransparentDemo.app"
BlueprintName = "ETNavBarTransparentDemo"
ReferencedContainer = "container:ETNavBarTransparentDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "373664ED1E6E9BE000239537"
BuildableName = "ETNavBarTransparentDemo.app"
BlueprintName = "ETNavBarTransparentDemo"
ReferencedContainer = "container:ETNavBarTransparentDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "373664ED1E6E9BE000239537"
BuildableName = "ETNavBarTransparentDemo.app"
BlueprintName = "ETNavBarTransparentDemo"
ReferencedContainer = "container:ETNavBarTransparentDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>SchemeUserState</key>
<dict>
<key>ETNavBarTransparentDemo.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>373664ED1E6E9BE000239537</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 37baa74

Please sign in to comment.