melieskubrick / carbonkitswift Goto Github PK
View Code? Open in Web Editor NEWCarbonKit is an iOS OpenSource libraries collection. CarbonKit includes: CarbonSwipeRefresh CarbonTabSwipeNavigation
License: MIT License
CarbonKit is an iOS OpenSource libraries collection. CarbonKit includes: CarbonSwipeRefresh CarbonTabSwipeNavigation
License: MIT License
Any example how to implement it in Obj-C project ?
I want to set badge to particular segment, how can we do this?
Thanks in advance.
Start swiping to the second view controller, but do not complete it. hold the finger on the screen.
At this point, press one of the items on the top tab. You will notice the application becomes unresponsive.
A quick fix for this would be to disable the toolbar interaction while the pageController is animating.
Hi, thank you for the amazing library?
This is not an issue.
Can you please tell me how do I make the navigation bar and the tab bar control which has all the swipe options the same color, I went through the code but could not find how to set the color for tab bar.
Like this. the background for swipe options has the same color as nav bar.
https://s3.amazonaws.com/cocoacontrols_production/uploads/control_image/image/6057/iOS_Simulator_Screen_Shot_28_Mar_2015_20.42.34.png
Thank you for your help.
hi
can you support tabs from right to left (RLT)
...... page three , page two , page One
I hope do this.
Thanks
When I used to Swipe the controller 2 it called 2 times due to which next class also called .
Any Help would be much appreciated.
func carbonTabSwipeNavigation(_ carbonTabSwipeNavigation: CarbonTabSwipeNavigation, viewControllerAt index: UInt) -> UIViewController {
print("This is index(index)")
guard let storyboard = storyboard else { return UIViewController() }
switch index {
case 0:
return storyboard.instantiateViewController(withIdentifier: "SoundsController1") as! SoundsController1
case 1:
return storyboard.instantiateViewController(withIdentifier: "SoundsController2") as! SoundsController2
case 2:
return storyboard.instantiateViewController(withIdentifier: "SoundsController3") as! SoundsController3
default:
return self.storyboard!.instantiateViewController(withIdentifier: "RainSoundsController") as! RainSoundsController
}
}
how to stop moving from left and right swipe's. and last and first bounce.
how can use this?
Hi,
I tried editing the source to get the custom images but not successful. Do you know any ways to use any custom images in segments?
One issue is we are unable to refresh page since it does not enter neither viewwillappear nor viewdidload.
Another is, after specific task is done on application, for instance I need to specifically navigate to tab index 2, but it is also not possible at current conditions.
Do you have any solution advises?
How to set current index of tab with action, for example. i want to goto index 2 on carbontab, and i want to use button action.
I'm trying to implement this in my app, But in my app i had login page before the tab. when i'm trying to load the home page with the below code,
This code in loginViewController, once the login success the below code will execute and navigates to home page,
let storyBoard = UIStoryboard(name: "Main", bundle: nil)
let containerView = storyBoard.instantiateViewControllerWithIdentifier("homeView")
dispatch_async(dispatch_get_main_queue()) {
self.appDelegate.window?.rootViewController = containerView
}
In homeViewController the app getting crash at the below lines,
carbonTabSwipeNavigation = CarbonTabSwipeNavigation(items: items as [AnyObject], delegate: self)
carbonTabSwipeNavigation.insertIntoRootViewController(self)
I thought i'm setting homeviewcontroller as rootviewcontroller and again we are doing insertintorootviewcontroller in the above line, console giving the below error code.
fatal error: unexpectedly found nil while unwrapping an Optional value
so here it's crashing please, help me how to fix it.
Currently, this project is not compatible with Xcode 7.2. Few of the compilation error. I tried and fixed few of them. But there is compilation error in Core Data, which I am not able to resolve.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.