Giter Site home page Giter Site logo

melieskubrick / carbonkitswift Goto Github PK

View Code? Open in Web Editor NEW
120.0 120.0 34.0 100 KB

CarbonKit is an iOS OpenSource libraries collection. CarbonKit includes: CarbonSwipeRefresh CarbonTabSwipeNavigation

License: MIT License

Swift 20.48% Objective-C 79.52%

carbonkitswift's People

Contributors

meliesalves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

carbonkitswift's Issues

Can become unresponsive

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.

Tab Bar Color

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.

Tabs from Right to left

hi
can you support tabs from right to left (RLT)
...... page three , page two , page One

I hope do this.

Thanks

carbonTabSwipeNavigation call multiple times

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
    }
}

stop swiping

how to stop moving from left and right swipe's. and last and first bounce.

Custom Images in each segment

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?

Unable to navigate desired tab index o carbonswipetabnavigation

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?

Set Current Index

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.

App Crashes if it is not rootview

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.

Building error in Xcode 7.2

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.