84

GitHub - intmain/HairPowder: Hair Powder for iPhoneX "M" Shape pattern...

 6 years ago
source link: https://github.com/intmain/HairPowder
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

HairPowder (FuckXDesign)

Hair Powder for iPhoneX "M" Shape pattern baldness design. I hate iPhone X design. It can be rejected if you use this open source(https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/). Use this If you don't care Guidelines

Source Special Thank to https://github.com/jhl1214

Install

CocoaPods

Add pod 'HairPowder' to your Podfile.

##Usage

1. add Status Bar style to info.plist

You also can put next code to info.plist directly

	<key>UIStatusBarStyle</key>
	<string>UIStatusBarStyleLightContent</string>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>

2. Run Powder Code

You Only have to is putting import and spread() function.

import UIKit
import HairPowder

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        HairPowder.instance.spread()
        return true
    }
}

LICENSE

HairPowder is under MIT license. See the LICENSE file for more info.

이 오픈소스의 소유자

오진성 ([email protected])


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK