Giter Club home page Giter Club logo

Comments (12)

phimage avatar phimage commented on May 14, 2024 2

Hi guys, I have some code which can help

I make a proof of concept project
Here a video https://www.dropbox.com/s/pj61i4t2m86cl8p/Ibfakery.mov?dl=0
https://github.com/phimage/IBFakery

In user defined runtime attributes

  • to the left we assign the type of data
  • to the right, the field where the value must be set

I use swift framework https://github.com/vadymmarkov/Fakery for my fake data
And I make a little code for random colors (but other frameworks could be used like https://github.com/nvzqz/RandomKit)
A KVC compliant framework for fake and random data will be more easy to integrate

from ibanimatable.

tbaranes avatar tbaranes commented on May 14, 2024

Random color, random gradient? (we can even go further and play with Chameleon to have a nice result)

from ibanimatable.

JakeLin avatar JakeLin commented on May 14, 2024

Yes, I don't think random color or gradient is useful, I rather choose them in predefined color/gradient set. random name, avatar and image will be very helpful for prototyping since all of us are I am lazy.

from ibanimatable.

tbaranes avatar tbaranes commented on May 14, 2024

Depending, it would be nice to randomise a gradient / color relative to a defined background. For example, when prototyping, we could just specify a color, and have everything around nice.

Nevertheless, I agree with you that is less useful than names, address...

from ibanimatable.

JakeLin avatar JakeLin commented on May 14, 2024

Well, that app must be very smart to create relevant colors. it is something like this https://color.adobe.com/

from ibanimatable.

tbaranes avatar tbaranes commented on May 14, 2024

Exactly! That's why I was saying it shouldn't be a priority 😆

from ibanimatable.

lexrus avatar lexrus commented on May 14, 2024

https://github.com/timuric/Content-generator-sketch-plugin
http://www.invisionapp.com/craft
It would be awesome if we can do the same things in storyboard.
How about we start from an easy one, names label. Implement as a protocol extension in a CocoaPods sub spec called 'Prototyping'.

from ibanimatable.

JakeLin avatar JakeLin commented on May 14, 2024

@lexrus that's why I am thinking of, there are some dataset when we work on it like http://uinames.com/ and http://www.radfaces.com/

May create PrototypableLable: AnimatableLable to add on those properties, but I am not sure can we build another Pod within the same framework? Or we can have a Prototyping framework based on IBAnimatable framework?

from ibanimatable.

tbaranes avatar tbaranes commented on May 14, 2024

We can create a subspec if we want to keep everything in IBAnimatable. That means we can specify in our Podfile which spec we wants:

pod 'IBAnimatable'
pod 'IBAnimatable/Prototyping'

However, I'm not sure that it's a good idea to keep everything in IBAnimatable since a prototyping framework is a big job apart.

from ibanimatable.

JakeLin avatar JakeLin commented on May 14, 2024

@phimage it is very cool. I see the code is quite small but super powerful 💪

from ibanimatable.

tbaranes avatar tbaranes commented on May 14, 2024

Should we move that issue in a dedicated project and why not adding that project in IBAnimatable organization (if that's ok with you @phimage)? 🙃

from ibanimatable.

phimage avatar phimage commented on May 14, 2024

Yes, it's ok with me
The idea come after reading this issue

from ibanimatable.

Related Issues (20)

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.