iOS按鈕:LGRadioButtonsView
LGRadioButtonsView 是 radio button 在 iOS 的實現。
Installation
With source code
Download repository, then add LGRadioButtonsView directory to your project.
With CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the "Get Started" section for more details.
Podfile
platform :ios, '6.0' pod 'LGRadioButtonsView', '~> 1.0.0'
Usage
In the source files where you need to use the library, import the header file:
#import "LGRadioButtonsView.h"
Initialization
You have several methods for initialization:
- (instancetype)initWithNumberOfButtons:(NSUInteger)numberOfButtons;
More init methods you can find in LGRadioButtonsView.h
本文由用戶 7n5e 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!