VTAcknowledgementsViewController alternatives and similar libraries
Based on the "Utility" category.
Alternatively, view VTAcknowledgementsViewController alternatives based on common mentions on social networks and blogs.
-
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity. -
InAppSettingsKit
This iOS framework allows settings to be in-app in addition to or instead of being in the Settings app. -
Reusable
A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…) -
SwiftLinkPreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. -
BFKit-Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster. -
SwiftFoundation
Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux) -
AssistantKit
Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift. -
DeviceGuru
DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. Please ⭐️ this repo on the top right corner to make this repo popular. -
ZamzamKit
A Swift package for rapid development using a collection of micro utility extensions for Standard Library, Foundation, and other native frameworks.
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of VTAcknowledgementsViewController or a related project?
README
VTAcknowledgementsViewController
Acknowledgements screen displaying a list of licences, for example from CocoaPods dependencies.
Also available in Swift with AcknowList.
Features
- Automatically load acknowledgments from CocoaPods-generated file
- Remove unnecessary line breaks from licences for better text wrapping
- Optional list header and footer
- Tappable links in header, footer, and acknowledgment text
- Storyboard support
- Dark Mode support
- Dynamic Type support, with automatic font adjustment
- Localized in 12 languages
How to Install
CocoaPods is the most common solution to install this library.
- Add
pod 'VTAcknowledgementsViewController'
to yourPodfile
. - Run
pod install
. - Add the
Pods-#target#-acknowledgements.plist
file generated by CocoaPods inPods/Target Support Files/Pods-#target#/
to your main target (drag and drop the file in your Xcode project). Don’t copy the file, leaveCopy items if needed
unchecked.
Initialization
The VTAcknowledgementsViewController
instance is usually pushed to an existing UINavigationController
.
VTAcknowledgementsViewController *viewController = [VTAcknowledgementsViewController acknowledgementsViewController];
[self.navigationController pushViewController:viewController animated:YES];
By default, the controller will try to guess the name of your .plist
file, based on the bundle name (Pods-#bundle-name#-acknowledgements.plist
). If that doesn’t match the file you’re looking for, you can initialize the view controller with a custom file name or path.
viewController = [[VTAcknowledgementsViewController alloc] initWithFileNamed:@"Pods-MyTarget-acknowledgements"];
NSString *path = [[NSBundle mainBundle] pathForResource:@"Pods-MyTarget-acknowledgements" ofType:@"plist"];
viewController = [[VTAcknowledgementsViewController alloc] initWithPath:path];
Customization
If you need to include licenses that are not part of the generated plist
file, or if you don’t want to use the generated plist
at all, you can easily create new VTAcknowledgement
instances, and set them as the acknowledgements array of the controller.
VTAcknowledgement *customLicense = [[VTAcknowledgement alloc] initWithTitle:@"..." text:@"..." license:nil];
viewController.acknowledgements = @[customLicense];
The controller can also display a header and a footer. By default, they are loaded from the generated plist
file, but you can also directly change the properties values.
viewController.headerText = @"We love open source software.";
viewController.footerText = @"Powered by CocoaPods.org";
The controller title is a localized value for “acknowledgements”. You might want to use this localized value for the button presenting the controller.
NSString *localizedTitle = [VTAcknowledgementsViewController localizedTitle];
[button setTitle:localizedTitle forState:UIControlStateNormal];
If you need to further customize the appearance or behavior of this pod, feel free to subclass its classes.
Apple TV
VTAcknowledgementsViewController is also compatible with tvOS for Apple TV apps.
Requirements
VTAcknowledgementsViewController supports iOS 8.0 or tvOS 9.0 and above, and requires Xcode 11.0 and above. If you need lower requirements, look for an older version of this repository.
Credits
VTAcknowledgementsViewController was created by Vincent Tourraine, and improved by a growing list of contributors.
License
VTAcknowledgementsViewController is available under the MIT license. See the [LICENSE.md](./LICENSE.md) file for more info.
*Note that all licence references and agreements mentioned in the VTAcknowledgementsViewController README section above
are relevant to that project's source code only.