Description
CITreeView created to implement and maintain that wanted TreeView structures for IOS platforms easy way. CITreeView provides endless treeview structure. You just add your data to CITreeview datasource.
CITreeView alternatives and similar libraries
Based on the "App Store" category.
Alternatively, view CITreeView alternatives based on common mentions on social networks and blogs.
-
appirater
A utility that reminds your iPhone app's users to review the app. -
Siren
Notify users when a new version of your app is available and prompt them to upgrade. -
Harpy
Notify users when a new version of your iOS app is available, and prompt them with the App Store link. -
📲 App Version
Keep users on the up-to date version of your App. -
(🧪 Early Alpha)🤙 TamoTam. HangOut. Offline.
(🧪 Late Alpha) 🤙 TamoTam. HangOut. Offline. -
Appstore Review Guidelines
A curated list of guideline which has to be taken care before submitting your application to Appstore. -
App Release Checklist
A checklist to pore over before you ship that amazing app that has taken ages to complete, but you don't want to rush out in case you commit a schoolboy error that will end up making you look dumber than you are. -
Mobile Action
Lets you track your App Store visibility in terms of keywords and competitors. -
Apple's Common App Rejections Styleguide
Highlighted some of the most common issues that cause apps to get rejected. -
Average App Store Review Times
This site tracks the average App Store review times for both the iOS and the Mac App Store using data crowdsourced from iOS and Mac developers.
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 CITreeView or a related project?
README
CITreeView
CITreeView created to implement and maintain that wanted TreeView structures for IOS platforms easy way. CITreeView provides endless treeview structure. You just add your data to CITreeview datasource.
|
Installation
CocoaPods (Recommended)
- Add additional entry to your Podfile.
pod 'CITreeView', '~> 1.6.1'
- Pod Install
pod install
Manual
- Download .zip file
- Just drag and drop CITreeViewClasses folder to your project
Usage
Initialization
- Firstly, import CITreeView
import CITreeView
- Add CITreeViewDelegate and CITreeViewDataSource to your view controller
class ViewController:UIViewController,CITreeViewDelegate,CITreeViewDataSource
- Initialize and configure CITreeView
let ciTreeView = CITreeView.init(frame: self.view.bounds, style: UITableViewStyle.plain)
ciTreeView.treeViewDelegate = self
ciTreeView.treeViewDataSource = self
self.view.addSubview(ciTreeView)
- Implement required methods of the CITreeView's delegates
func treeView(_ treeView: CITreeView, atIndexPath indexPath: IndexPath, withTreeViewNode treeViewNode: CITreeViewNode) -> UITableViewCell {
return cell;
}
func treeViewSelectedNodeChildren(for treeViewNodeItem: AnyObject) -> [AnyObject] {
if let dataObj = treeViewNodeItem as? CITreeViewData {
return dataObj.children
}
return []
}
func treeViewDataArray() -> [AnyObject] {
return yourDataArray
}
func treeView(_ tableView: CITreeView, heightForRowAt indexPath: IndexPath, withTreeViewNode treeViewNode:CITreeViewNode) -> CGFloat {
return UITableViewAutomaticDimension
}
func treeView(_ treeView: CITreeView, didSelectRowAt treeViewNode:CITreeViewNode) {}
func willExpandTreeViewNode(treeViewNode: CITreeViewNode, atIndexPath: IndexPath) {}
func didExpandTreeViewNode(treeViewNode: CITreeViewNode, atIndexPath: IndexPath) {}
func willCollapseTreeViewNode(treeViewNode: CITreeViewNode, atIndexPath: IndexPath) {}
func didCollapseTreeViewNode(treeViewNode: CITreeViewNode, atIndexPath: IndexPath) {}
Features
- You can only open one node at a time if you wish. If another parent node is selected while a node is opened, the open nodes will closed automatically.
ciTreeView.collapseNoneSelectedRows = true
Recently Added Features
1. connect CITreeView delegate and datasource with interface builder
2. expand all rows with expandAllRows()
3. collapse all rows with collapseAllRows()
4. get parent node of selected node as CITreeViewNode.parentNode
5. reload data without lose rows states that expanded or collapses with reloadDataWithoutChangingRowStates()
License
MIT licensed, Copyright (c) 2018 Cenk Işık, @cekjacks
*Note that all licence references and agreements mentioned in the CITreeView README section above
are relevant to that project's source code only.