Skip to content

Commit

Permalink
Merge pull request #1 from mindsnacks/feature/ENG-2004_Create_Standal…
Browse files Browse the repository at this point in the history
…one_Frameworks

ENG-2004: Create standalone frameworks
  • Loading branch information
jerelevine authored Apr 6, 2020
2 parents f2a8a5c + 2bfe9e8 commit d1461b1
Show file tree
Hide file tree
Showing 11 changed files with 1,395 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
# UIScaler
UI scaling tool for iOS and macOS apps

UIScaler is a UI scaling tool for iOS and macOS apps with Swift and Objective-C compatibility. It can be used scaling values for different device sizes. Common use cases include scaling layout constraint constants and font sizes. It's intended to be used when Autolayout doesn't provide enough flexibility or power.

## Installation
### Installation with Carthage
To integrate UIScaler, add the following to your `Cartfile`.
```
github "mindsnack/UIScaler" ~> 0.1.0
```

Since this is a private repository, you made need to add `--use-ssh` to Carthage update commands.
```
carthage update UIScaler --use-ssh --platform iOS
```

## TODO
- Usage documentation
- Unit tests
- Code examples documentation
- Example project
22 changes: 22 additions & 0 deletions UIScaler/Supporting Files/Info.plist
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>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
12 changes: 12 additions & 0 deletions UIScaler/Supporting Files/UIScaler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#import <Foundation/Foundation.h>

//! Project version number for UIScaler.
FOUNDATION_EXPORT double UIScalerVersionNumber;

//! Project version string for UIScaler.
FOUNDATION_EXPORT const unsigned char UIScalerVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <UIScaler/PublicHeader.h>

#import <UIScaler/MSUIScalerMacros.h>
#import <UIScaler/map.h>
Loading

0 comments on commit d1461b1

Please sign in to comment.