Popularity
0.6
Declining
Activity
0.0
Stable
7
3
4
Description
PLMenuBar is a customized menubar for tvOS, simple and easy to use.
Requirement
- XCode 7.3
Support
- Support desc detail view
- Support combo detail view
- Magic
Code Quality Rank:
L4
Programming language: Swift
License: MIT License
Latest version: v0.0.1
PLMenuBar alternatives and similar libraries
Based on the "Apple TV" category.
Alternatively, view PLMenuBar alternatives based on common mentions on social networks and blogs.
-
Swift-GA-Tracker-for-Apple-tvOS
Google Analytics tracker for Apple tvOS provides an easy integration of Google Analytics’ measurement protocol for Apple TV. -
TvOSCustomizableTableViewCell
Light wrapper of UITableViewCell that allows extra customization for tvOS
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
* 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 PLMenuBar or a related project?
README
PLMenuBar
PLMenuBar is a customized menubar for tvOS, simple and easy to use.
Preview
Requirement
- XCode 7.3
Support
- Support desc detail view
- Support combo detail view
- Magic
Delegate
@objc public protocol PLMenuBarDelegate: NSObjectProtocol {
func numberOfItemsInMenubar() -> Int;
func menuBar(menuBar: PLMenuBarView, titleForItemAtIndex index: Int) -> String;
optional func menuBar(menuBar: PLMenuBarView, detailItemForItemAtIndex index: Int) -> PLMenuDetailItem;
optional func menuBar(menuBar: PLMenuBarView, didSelectItemAtIndex index: Int);
optional func menuBar(menuBar: PLMenuBarView, didSelectDetailAtRow row: Int, Section section: Int, forItemAtIndex index: Int);
}
Usage
self.menuDetailItems = [
PLMenuDetailDescItem(title: "TabBarItem with Desc", text: "Hello, World"),
PLMenuDetailItem(title: "TabBarItem with Nothing"),
PLMenuDetailComboItem(title: "TabBarItem with Combo", items: [
PLMenuComboSection(title: "Section1", items: ["option1", "option2"], preferredIndex: 1),
PLMenuComboSection(title: "Section2", items: ["option1", "option2"], preferredIndex: 0)
])
];
self.menuBar = PLMenuBarView();
self.menuBar.delegate = self;
self.view.addSubview(menuBar);