Git Product home page Git Product logo

dmpagerviewcontroller's Introduction

Hello ๐Ÿ‘‹ I'm Daniele and I work as Mobile Tech Lead Manager at ImmobiliareLabs, the IT dept of Immobiliare.it.
I'm a passionate software engineer with a love for minimalism, product design and sushi.
I started programming on macOS in 2000 and iOS on 2007.

malcommac

OpenSource Projects

Maintaing and developing tools consumes resources and time.
While I enjoy making them your support is foundamental to allow me continue its development.
Consider becoming a Sponsor](https://github.com/sponsors/malcommac) of my works.

RealHTTP is lightweight await/async http client made for Swift.

RealFlags makes it easy to configure feature flags in your codebase.

Before async await there was promises. Hydra is a fast full-featured promise library for Swift.

Async/await client to interact with GitLab API v4 with Swift

With over 3 milion of downloads on CocoaPods, since 2015 SwiftDate is the #1 toolkit to parse, validate, manipulate, compare and display dates.

It allows you to use all system's location based services (plus external services like Google Maps, MapBox, OpenStreet and Nokia Here) directly from an easy to use and elegant APIs set.

SwiftRichString is a library which allows to create and manipulate attributed strings easily on all Apple Platforms.

Create complex scrollable layout using UIViewControllers or plain UIViews and simplify your code.

dmpagerviewcontroller's People

Contributors

malcommac 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

dmpagerviewcontroller's Issues

Search Bar in View Bug

When I use a SearchBar in one of the Views, there is a bug that after a select the cancel option to close the search, the view does ot load any of it's content.

Failed to build Example.

ld: library not found for -lPods-DMPagerViewController-DMPagerViewController

clang: error: linker command failed with exit code 1 (use -v to see invocation)

what's the problem with it ?

anyone help ?

Navigationbaritem spacing

Is there a way to set the spacing between each item so that the when you have 3 buttons: A, B, C and B is the chosen item, A is almost touching the left edge, B remains in the center, and C is almost touching the right edge?

There are some bugs

  • (void)setRenderingMode:(DMPagerNavigationBarItemMode)renderingMode {
    if (_renderingMode != renderingMode) return;
    _renderingMode = renderingMode;
    _iconView.hidden = !(_renderingMode == DMPagerNavigationBarItemModeOnlyImage || _renderingMode == DMPagerNavigationBarItemModeTextAndImage);
    _iconView.hidden = !(_renderingMode == DMPagerNavigationBarItemModeOnlyText || _renderingMode == DMPagerNavigationBarItemModeTextAndImage);
    [self layoutSubviews];
    }

should be like this:

  • (void)setRenderingMode:(DMPagerNavigationBarItemMode)renderingMode {
    if (_renderingMode == renderingMode) return;
    _renderingMode = renderingMode;
    _iconView.hidden = !(_renderingMode == DMPagerNavigationBarItemModeOnlyImage || _renderingMode == DMPagerNavigationBarItemModeTextAndImage);
    [self layoutSubviews];
    }

Changing Icon

The following is in swift

Is there a way to programatically change the icon from one image to another. (I.E an active image is the word "Search" and the inactive is a picture of a magnifying glass)

I am successfully creating the view controller with the text icon by:

searchViewController.pagerObj = DMPagerNavigationBarItem.newItemWithText(NSAttributedString(string: "Search", attributes: textAttributes! as [NSObject : AnyObject]), andIcon:UIImage(named: nil))

I am successfully determining when my searchViewController becomes active/inactive however I am unable to change the icon using:

searchViewController.pagerObj = DMPagerNavigationBarItem.newItemWithText(NSAttributedString(string: "", attributes: textAttributes! as [NSObject : AnyObject]), andIcon:UIImage(named: "searchImage"))

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.