Skip to content

View controller listing CocoaPods acknowledgements

License

Notifications You must be signed in to change notification settings

patrickcapadmi/AcknowList

Repository files navigation

AcknowList

Ready to use “Acknowledgements” / “Licenses” / “Credits” view controller forCocoaPods.

Written in Swift 4.2 (for Objective-C, you can useVTAcknowledgementsViewController).

Platform iOS Swift 4.2 Build Status CocoaPods compatible MIT license

iPhone screenshot 1iPhone screenshot 2

How to Install

This project is only useful if you use CocoaPods, so let’s assume that you’re indeed using CocoaPods.

  1. Addpod 'AcknowList'in yourPodfile.
  2. Import thePods-acknowledgements.plistfile from the generatedPods/Target Support Filesfolder to your main app project (so you need to runpod installat least once before using this pod; don’t copy the file itself, just add a reference).
    This file is generated atPods/Target Support Files/Pods-{project}/Pods-{project}-acknowledgements.plist.

How to Use

TheAcknowListViewControllerinstance is usually pushed to an existingUINavigationController.

letviewController=AcknowListViewController()
navigationController?.pushViewController(viewController,animated:true)

Customization

If your.plistfile is named something other thanPods-acknowledgements.plist(e.g.if you’re using custom build targets), you can initialize the view controller with a custom path.

letviewController=AcknowListViewController(fileNamed:"Pods-AcknowExample-acknowledgements")
letpath=Bundle.main.path(forResource:"Pods-AcknowExample-acknowledgements",ofType:"plist")
letviewController=AcknowListViewController(acknowledgementsPlistPath:path)

Apple TV

AcknowList is also compatible with tvOS for Apple TV apps.

Apple TV screenshot 1Apple TV screenshot 2

Requirements

AcknowList is written in Swift 4.2, requires iOS 8.0 or tvOS 9.0 and above, Xcode 10.0 and above.

Credits

AcknowList was created byVincent Tourraine,and improved by a growinglist of contributors.

License

AcknowList is available under the MIT license. See theLICENSE.txtfile for more info.

About

View controller listing CocoaPods acknowledgements

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%