用 Swift 编写的易于使用的 iOS 常见问题解答视图
常见问题
一个易于使用的 iOS 常见问题解答视图,用 Swift 编写。
- 此视图是 UIView 的一个子类。
使用 CocoaPods 进行设置
如果您使用的是 CocoaPods,请将此文本添加到 Podfile
并运行 .pod install
use_frameworks!
target 'Your target name'
pod 'FAQView', '~> 0.5.0'
Or Add source
Simply add
FAQView.swift file to you project.
Usage
Creating a view from the code
Attributed text answers
You may use attributed text instead of plain text. Set the property of items to an NSAttributedString.attributedAnswer
Customization
Requirements
- Swift 4.0
- Xcode 9.0+
- FAQView 0.4.x is compatible with Swift 3
- iOS 9.0+
Author
Contributing
Feature requests, bug reports, and pull requests are all welcome.
License
Copyright (c) 2016-present Mukesh Thawani. Release under the MIT License.