Skip to content

Commit

Permalink
Fixed header copying for archiving.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGessner committed Apr 27, 2015
1 parent 0e4b37b commit 6f71ac9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 39 deletions.
64 changes: 33 additions & 31 deletions JGProgressHUD/JGProgressHUD.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,40 @@
6BC018B3197B2ABF00DA4C49 /* JGProgressHUDRingIndicatorView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC018AB197B2ABF00DA4C49 /* JGProgressHUDRingIndicatorView.m */; };
6BC018B7197B2BC700DA4C49 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BC018B6197B2BC700DA4C49 /* UIKit.framework */; };
6BC018B9197B2BCB00DA4C49 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BC018B8197B2BCB00DA4C49 /* QuartzCore.framework */; };
6BFF2C7B19B5172F0018F3E7 /* JGProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC0189C197B2ABF00DA4C49 /* JGProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C7C19B5172F0018F3E7 /* JGProgressHUDAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC0189E197B2ABF00DA4C49 /* JGProgressHUDAnimation.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C7D19B5172F0018F3E7 /* JGProgressHUDFadeAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018A0197B2ABF00DA4C49 /* JGProgressHUDFadeAnimation.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C7E19B5172F0018F3E7 /* JGProgressHUDFadeZoomAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018A2197B2ABF00DA4C49 /* JGProgressHUDFadeZoomAnimation.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C7F19B5172F0018F3E7 /* JGProgressHUDIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018A6197B2ABF00DA4C49 /* JGProgressHUDIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C8019B5172F0018F3E7 /* JGProgressHUDIndeterminateIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018A4197B2ABF00DA4C49 /* JGProgressHUDIndeterminateIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C8119B5172F0018F3E7 /* JGProgressHUDPieIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018A8197B2ABF00DA4C49 /* JGProgressHUDPieIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C8219B5172F0018F3E7 /* JGProgressHUDRingIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC018AA197B2ABF00DA4C49 /* JGProgressHUDRingIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C8319B5172F0018F3E7 /* JGProgressHUDSuccessIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B60B25219A3B78B00ED1A4E /* JGProgressHUDSuccessIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BFF2C8419B5172F0018F3E7 /* JGProgressHUDErrorIndicatorView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B60B25519A3BC3C00ED1A4E /* JGProgressHUDErrorIndicatorView.h */; settings = {ATTRIBUTES = (Public, ); }; };
6BF7DC4B1AEE6D39000A0AE0 /* JGProgressHUD.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC0189C197B2ABF00DA4C49 /* JGProgressHUD.h */; };
6BF7DC4C1AEE6D39000A0AE0 /* JGProgressHUDAnimation.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC0189E197B2ABF00DA4C49 /* JGProgressHUDAnimation.h */; };
6BF7DC4D1AEE6D39000A0AE0 /* JGProgressHUDFadeAnimation.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018A0197B2ABF00DA4C49 /* JGProgressHUDFadeAnimation.h */; };
6BF7DC4E1AEE6D39000A0AE0 /* JGProgressHUDFadeZoomAnimation.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018A2197B2ABF00DA4C49 /* JGProgressHUDFadeZoomAnimation.h */; };
6BF7DC4F1AEE6D39000A0AE0 /* JGProgressHUDIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018A6197B2ABF00DA4C49 /* JGProgressHUDIndicatorView.h */; };
6BF7DC501AEE6D39000A0AE0 /* JGProgressHUDIndeterminateIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018A4197B2ABF00DA4C49 /* JGProgressHUDIndeterminateIndicatorView.h */; };
6BF7DC511AEE6D39000A0AE0 /* JGProgressHUDPieIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018A8197B2ABF00DA4C49 /* JGProgressHUDPieIndicatorView.h */; };
6BF7DC521AEE6D39000A0AE0 /* JGProgressHUDRingIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6BC018AA197B2ABF00DA4C49 /* JGProgressHUDRingIndicatorView.h */; };
6BF7DC531AEE6D39000A0AE0 /* JGProgressHUDSuccessIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6B60B25219A3B78B00ED1A4E /* JGProgressHUDSuccessIndicatorView.h */; };
6BF7DC541AEE6D39000A0AE0 /* JGProgressHUDErrorIndicatorView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6B60B25519A3BC3C00ED1A4E /* JGProgressHUDErrorIndicatorView.h */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
6BF7DC4A1AEE6D1D000A0AE0 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = include;
dstSubfolderSpec = 16;
files = (
6BF7DC4B1AEE6D39000A0AE0 /* JGProgressHUD.h in CopyFiles */,
6BF7DC4C1AEE6D39000A0AE0 /* JGProgressHUDAnimation.h in CopyFiles */,
6BF7DC4D1AEE6D39000A0AE0 /* JGProgressHUDFadeAnimation.h in CopyFiles */,
6BF7DC4E1AEE6D39000A0AE0 /* JGProgressHUDFadeZoomAnimation.h in CopyFiles */,
6BF7DC4F1AEE6D39000A0AE0 /* JGProgressHUDIndicatorView.h in CopyFiles */,
6BF7DC501AEE6D39000A0AE0 /* JGProgressHUDIndeterminateIndicatorView.h in CopyFiles */,
6BF7DC511AEE6D39000A0AE0 /* JGProgressHUDPieIndicatorView.h in CopyFiles */,
6BF7DC521AEE6D39000A0AE0 /* JGProgressHUDRingIndicatorView.h in CopyFiles */,
6BF7DC531AEE6D39000A0AE0 /* JGProgressHUDSuccessIndicatorView.h in CopyFiles */,
6BF7DC541AEE6D39000A0AE0 /* JGProgressHUDErrorIndicatorView.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
6B29118C19CA0D4500E93DF9 /* jg_hud_error@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "jg_hud_error@3x.png"; path = "JGProgressHUD/JGProgressHUD Resources.bundle/jg_hud_error@3x.png"; sourceTree = SOURCE_ROOT; };
6B29118D19CA0D4500E93DF9 /* jg_hud_success@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "jg_hud_success@3x.png"; path = "JGProgressHUD/JGProgressHUD Resources.bundle/jg_hud_success@3x.png"; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -193,26 +215,6 @@
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
6BFF2C7A19B517170018F3E7 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
6BFF2C7B19B5172F0018F3E7 /* JGProgressHUD.h in Headers */,
6BFF2C7C19B5172F0018F3E7 /* JGProgressHUDAnimation.h in Headers */,
6BFF2C7D19B5172F0018F3E7 /* JGProgressHUDFadeAnimation.h in Headers */,
6BFF2C7E19B5172F0018F3E7 /* JGProgressHUDFadeZoomAnimation.h in Headers */,
6BFF2C7F19B5172F0018F3E7 /* JGProgressHUDIndicatorView.h in Headers */,
6BFF2C8019B5172F0018F3E7 /* JGProgressHUDIndeterminateIndicatorView.h in Headers */,
6BFF2C8119B5172F0018F3E7 /* JGProgressHUDPieIndicatorView.h in Headers */,
6BFF2C8219B5172F0018F3E7 /* JGProgressHUDRingIndicatorView.h in Headers */,
6BFF2C8319B5172F0018F3E7 /* JGProgressHUDSuccessIndicatorView.h in Headers */,
6BFF2C8419B5172F0018F3E7 /* JGProgressHUDErrorIndicatorView.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
6B60B23F19A3B3C500ED1A4E /* JGProgressHUD Resources */ = {
isa = PBXNativeTarget;
Expand All @@ -237,7 +239,7 @@
buildPhases = (
6BC0186F197B2AA500DA4C49 /* Sources */,
6BC01870197B2AA500DA4C49 /* Frameworks */,
6BFF2C7A19B517170018F3E7 /* Headers */,
6BF7DC4A1AEE6D1D000A0AE0 /* CopyFiles */,
);
buildRules = (
);
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Overview
• Easy extensibility and customization (custom animations, indicator views and more).<br>
• Up to date and modern, example: Blurred HUD (iOS 8), parallax effect (iOS 7).<br>
• Backward compatibility to iOS 5.<br>
• Well documented.<br>
• Well documented and maintained.<br>
• Detects and repositions when Keyboards appear/disappear.<br>
• And most importantly, it looks good!<br>
<br>
Expand Down Expand Up @@ -53,9 +53,11 @@ Requirements
=================

• Base SDK of iOS 8 or higher.<br>
• Deployment target of iOS 5 or higher.<br>
• Deployment target of iOS 5.0 or higher.<br>
• ARC.

• JGProgressHUD can also be used by projects written in Swift. You just need to import `JGProgressHUD.h` in the Objective-C bridging header.

Documentation
================
Detailed documentation can be found on <a href="http://cocoadocs.org/docsets/JGProgressHUD">CocoaDocs</a>.<br><br>
Expand Down Expand Up @@ -86,18 +88,23 @@ pod 'JGProgressHUD'
<br>
OR:
<br><br>
<b>As static library:</b><br>
Ideally you should use JGProgressHUD as a static library:<br>
Drag the `JGProgressHUD.xcodeproj` file into your Xcode project. Next, add `JGProgressHUD` and `JGProgressHUD Resources` as Target Dependency in your project's "Build Phases". Then add libJGProgressHUD.a in "Link Binary With Libraries". From the `JGProgressHUD.xcodeproj`'s Products Directory drag the `JGProgressHUD Resources.bundle` into your project's "Copy Bundle Resources". Finally, make sure you have set the `-ObjC` flag in Other Linker Flags.<br><br>
<b>Static Library:</b><br>
1. Drag the `JGProgressHUD.xcodeproj` file into your Xcode project.<br>
2. Add `JGProgressHUD` and `JGProgressHUD Resources` as Target Dependency in your project's "Build Phases" section.
3. Add libJGProgressHUD.a in "Link Binary With Libraries".<br>
4. From the `JGProgressHUD.xcodeproj`'s "Products" Directory drag the `JGProgressHUD Resources.bundle` into your project's "Copy Bundle Resources" section.<br>
5. Finally, make sure you have added the `-ObjC` flag in Other Linker Flags.<br><br>
See the <a href="JGProgressHUD%20Tests">JGProgressHUD Tests</a> project for an example implementation of JGProgressHUD as static library.
<br><br>
OR:
<br><br>
<b>Using source files:</b><br>
<b>Source Files:</b><br>
Add all files from <a href="JGProgressHUD/JGProgressHUD">JGProgressHUD</a> to your project.
<br><br>
After you have included JGProgressHUD as static library or source files simply import `JGProgressHUD.h`.
<br><br>
After you have included JGProgressHUD as static library or source files simply import `JGProgressHUD.h` like this:
```objc
#import "JGProgressHUD.h"
```
####RubyMotion
An example of JGProgressHUD in a RubyMotion project can be found [here](https://github.com/IconoclastLabs/rm-jgprogresshud-example).

Expand Down

0 comments on commit 6f71ac9

Please sign in to comment.