forked from youknowone/UI7Kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ef2e3ae
Showing
59 changed files
with
4,632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Backup files from text editors | ||
*~ | ||
*.DS_Store | ||
.*.swp | ||
.hg | ||
.hgignore | ||
.svn | ||
.svnignore | ||
|
||
# Xcode crap | ||
*mode1v3 | ||
*pbxuser | ||
*perspectivev3 | ||
*xcuserdata* | ||
*.xcworkspace* | ||
# Junk files on Mac OS X | ||
*.DS_Store | ||
|
||
build | ||
include | ||
docs | ||
|
||
#pods | ||
Podfile.lock | ||
Pods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2013, Jeong YunWon <jeong+ui7kit@youknowone.org> | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
The views and conclusions contained in the software and documentation are those | ||
of the authors and should not be interpreted as representing official policies, | ||
either expressed or implied, of the FreeBSD Project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
doc: docclean | ||
doxygen doxygen.conf | ||
#appledoc -p FoundationExtension --docset-bundle-id=org.youknowone.FoundationExtension F*Extension | ||
|
||
docclean: | ||
rm -rf docs/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
platform :ios | ||
|
||
pod 'FoundationExtension' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
UI7Kit | ||
====== | ||
|
||
UI7Kit is a GUI toolkit to implement iOS7 look & feel UIKit under iOS5/iOS6. It is also supported that patching UIKit to UI7Kit in runtime. | ||
|
||
Goal | ||
---- | ||
- Full-featured copy of UIKit for iOS7 look & feel (Except status bar) | ||
- Patch the classic UIKit to UI7Kit in runtime to reduce code rewriting for legacy codes. | ||
|
||
How to use | ||
---------- | ||
Case 1: Dynamic patch | ||
|
||
#import <UI7Kit/UI7Kit.h> | ||
UI7KitPatchAll(NO); // in main.m, before UIApplicationMain() | ||
|
||
Case 2: Partial usage: Use UI7<class> instead of UI<class>. | ||
ex) UI7NavigationController, instead of UINavigationController | ||
|
||
Case 3: Partial patch | ||
|
||
#import <UI7Kit/UI7Kit.h> | ||
[UI7<class> patch]; // ex) [UI7TableView patch]; | ||
|
||
Example | ||
------- | ||
. | ||
|
||
|
||
How to run test app | ||
------------------- | ||
Download source code | ||
|
||
# Copy and paste this lines | ||
git clone git://github.com/youknowone/UI7Kit.git | ||
cd UI7Kit | ||
pod install | ||
open UI7Kit.xcworkspace # You should open xcwordspace | ||
|
||
If you don't have cocoapods, visit http://www.cocoapods.org or follow steps below: | ||
|
||
# At first, install Commoand Line Tools from XCode->Preferences->Downloads. | ||
sudo gem install cocoapods # May takes long time | ||
pod setup # Do not sudo here | ||
|
||
Run test app now. | ||
|
||
|
||
How to install to my project | ||
---------------------------- | ||
NOTE: This project is very premature yet. | ||
|
||
If you don't have cocoapods, visit http://www.cocoapods.org or follow steps below: | ||
|
||
# Install Commoand Line Tools in XCode->Preferences->Downloads first. | ||
sudo gem install cocoapods | ||
pod setup # Do not sudo here | ||
|
||
If you have Podfile, add 'UI7Kit'. Or follow steps below: | ||
|
||
# Copy and paste this lines | ||
echo "platform :ios" > Podfile | ||
echo "pod 'UI7Kit'" >> Podfile | ||
pod install | ||
open *.xcworkspace | ||
|
||
This command will generate or edit `YourProject.xcworkspace`. | ||
Open this instead of your original `YourProject.xcodeproj`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.