GithubHelp home page GithubHelp logo

idev-recipes's People

Contributors

andre3k1 avatar boctor avatar jyap808 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  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

idev-recipes's Issues

CustomTabBar: Various UITabBarController behaviors are missing

  1. View Controllers aren't sent viewWill/DidAppear/Disappear during touchDownAtItemAtIndex:.
  2. Tapping an already selected tab bar item does not pop the selected view controller's navigation controller (if any) to the root VC.
  3. Using hidesBottomBarWhenPushed has no effect.

Item 1 is easy enough. Per Apple docs:

Warning: If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive (viewWill/DidAppear/Disappear). If you insert or add a view to the view hierarchy, and it has a view controller, you should send the associated view controller this message directly. Failing to send the view controller this message will prevent any associated animation from being displayed.

Alas, I'm running into some interesting dead-ends with Items 2 and 3. (Might just be pilot error.) Rather than hunting these down one by one as they crop up, I wonder if its desirable to subclass UITabBarController itself, but just draw it in the most excellent way you've done here? Pros/cons? (Con: Apple does not advise subclassing it!)

Please add a license

It would be nice if you could add an MIT or BSD style license for this code if you intend it to be open source.

Start position of TabBarRow in CustomTabBar

Hello @boctor:

I've found that when you start the CustomTabBar example the TabBarRow is slightly moved to the right, and
I've found a fix, maybe this can help you.

[Class] CustomTabBar
[method] - (void) addTabBarArrowAtIndex:(NSUInteger)itemIndex

Change:

tabBarArrow.frame = CGRectMake([self horizontalLocationFor:itemIndex], verticalLocation, tabBarArrowImage.size.width, tabBarArrowImage.size.height);

To:

tabBarArrow.frame = CGRectMake([self horizontalLocationFor:itemIndex] - 5, verticalLocation, tabBarArrowImage.size.width, tabBarArrowImage.size.height);

That's all.

VerticalSwipeArticle

I would like to use the VerticalSwipeArticle with a UITableViewController but for some reason it does not work. None of the delegates methods get called. I duplicated from the Sample Project.

Does the VerticalSwipeArticle require a UIViewControler as a base or am I doing something wrong?

Any help is appreciated.
Thank you.

Delete button shows up

When you touch and hold for a few seconds, then swipe to the right, the delete button shows up.

Swift version

Hi!

Thanks you very much for this valuable contribution.
I have just created a version of this solution in Swift, you can take a look in this repository.

Thanks!

Silly code inside CustomSegmentedControl class

Your CustomSegmentedControl and CustomSegmentedControlsViewController are closely connected. So it takes a lot of time to recreate the first one as a separate control.
Why did you transfer a half of parameters from the first class to the second one? Such as offset, CapLocation.
Some extra parameters: TAG_VALUE
Why do you declare buttons as array of dictionaries of arrays and even make it static?
And finally WHY do you customise the buttons of your custom segmented control completely outside it? Ponder "custom segmenter control" meaning.

Issue with Uinavigation Background image

hello everyone, i am using the example where we have custom UINavigation background image :

[customNavigationBar setBackgroundWith:[UIImage imageNamed:@"navigationBarBackgroundRetro.png"]];

I have created a Uinavigation Bar project and imported the required files. i am getting the following error :

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setBackgroundWith:]: unrecognized selector sent to instance.

Many thanks :)

CustomSegmentedControls crashes in iOS3.x

the call to UIGraphicsBeginImageContextWithOptions

in CustomSegmentedControlsViewController is not OS3.x friendly. It will crash because the call is a C call and not Obj C.

Here is a fix ( May not work well with non opaque images, but stops the crashing):

    CGSize size = CGSizeMake(buttonWidth, image.size.height);
if (UIGraphicsBeginImageContextWithOptions!=NULL) {
    UIGraphicsBeginImageContextWithOptions(size, NO, 0.0);
} else {
    UIGraphicsBeginImageContext(size);  
}

Images @3x missing

Hi Peter!
Thanks a lot for this excellent TabBar. I use it in my app Toeppersee.
But would you care to add @3x images for iPhone 6 Plus?
Regards,
Sebastian

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.