Giter Site home page Giter Site logo

dminspectorpalette'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.

dminspectorpalette's People

Contributors

macpatch avatar malcommac avatar mz2 avatar odrobnik 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dminspectorpalette's Issues

setState does not take into consideration the useAnimation flag

Thanks for the useful software. One small remark.

If you read - (void) setState:(DMPaletteState)state forSection:(DMPaletteSectionView *) targetSection animated:(BOOL)animate {

... you will notice that the function is invoked with with a static YES for the animated argument like this:

[self setState:state
   forSections:[NSIndexSet indexSetWithIndex:[contentSectionViews indexOfObject:targetSection]]
      animated:YES];

It should be like this:

[self setState:state
   forSections:[NSIndexSet indexSetWithIndex:[contentSectionViews indexOfObject:targetSection]]
      animated:animate];

Otherwise the useAnimation property will not be taken into consideration.

Layout still needs update after calling -[DMPaletteContainer layout].

I received this lengthy error message on first implementing DMInspectorPalette in one of my projects:

Layout still needs update after calling -[DMPaletteContainer layout].  DMPaletteContainer or one of its superclasses may have overridden -layout without calling super. Or, something may have dirtied layout in the middle of updating it.  Both are programming errors in Cocoa Autolayout.  The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed.

This happened on OS X 10.8.2 with Xcode 4.6 using the 10.8 SDK.

I found that setting the scrollbars to automatically hide in init removed that message ([self setAutohidesScrollers:YES]).

I also got the message when resizing the window to a smaller size. I fixed this by reversing the order of the two method calls in the -(void)layout method.

content size incorrect after collapsing section

I am using this in a split view that allows width changing. If you collapse a section and then change the frame width there are two problems:

Incorrect content size

  1. collapse a section
  2. drag to change width on split view
  3. expand section

Notice that the bottom is cut off, because the scroll view content size is still the smaller one. As soon as you drag again the missing part appears.

Jumping sections

  1. collapse a section
  2. drag to change width

Notice that the position of the section view header below the collapsed on jumps up by one or two pixels as soon as the width is changed

Please add semantic version tags

I’ve recently added DMInspectorPalette to the CocoaPods package manager repo.

CocoaPods is a tool for managing dependencies for OSX and iOS Xcode projects and provides a central repository for iOS/OSX libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.

However, DMInspectorPalette doesn't have any version tags. I’ve added the current HEAD as version 0.0.1, but a version tag will make dependency resolution much easier.

Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.

In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:

$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

Thanks!

Specify License

Could you please specify a software license for your project? Something like MIT (and specifically non-GPL) would be great.

Extract Library Source Code & Move Example Project to Subdirectory

A general convention for open source Objective-C projects is to have the library / framework source code in a top-level directory named for the project, and then an example application in a separate directory.

So in this case, DMPaletteContainer.{h,m} and DMPaletteSectionView.{h,m} would be in the DMInspectorPalette directory, which would then be referenced from the example app in the Example directory.

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.