Live data from Hacker News

Show HN: FlatUIKit - Flat UI components for iOS

github.com

21–30 of 61 posts

Re: Show HN: FlatUIKit - Flat UI components for iOS

#21
post #8

Earlier quoted context omitted.

This total disregard for platform conventions does your users a disservice by making moot the effort they've spent learning how the platform operates and what to expect from UI elements and interactions. On top of that, you have to reinvent all the native components you otherwise would get for free, and your app looks like an ugly odd duckling on the platform. Why do this? It demonstrates an insane level of condensio…

Yeah. Fuck that guy for publishing code for us to look at and maybe use.

What would you do if I published a broken password hashing scheme and encouraged others to use it?

Re: Show HN: FlatUIKit - Flat UI components for iOS

#22

Earlier quoted context omitted.

Yeah, he should definitely be burned at the stake for not following the mighty HIG. And releasing the code, what an outrage! Now other developers will fall victim to this ignominous tendency of innovation!

Or, perhaps, the standing community can help enforce community and platform norms, as we're apt to do, by explaining what those norms are, and why. And then, perhaps, we will preserve one of the things that has made iOS, and Mac OS X before it, such a pleasant platform to use: platform consistency. Oh, the horror.

Please watch Apple's 1984 commercial again.

http://youtu.be/2zfqw8nhUwA

Re: Show HN: FlatUIKit - Flat UI components for iOS

#23

Earlier quoted context omitted.

Or, perhaps, the standing community can help enforce community and platform norms, as we're apt to do, by explaining what those norms are, and why. And then, perhaps, we will preserve one of the things that has made iOS, and Mac OS X before it, such a pleasant platform to use: platform consistency. Oh, the horror.

Please watch Apple's 1984 commercial again. http://youtu.be/2zfqw8nhUwA

Apple's 1984 commercial was targeted at their users, not developers -- at least not in the way you're thinking.

The first Apple HIG was published in 1977 for the original Apple II. It was written by Bruce Tognazzini: http://en.wikipedia.org/wiki/Bruce_Tognazzini#Background

He and his partner, John David Eisenberg, wrote Apple Presents...Apple, the disk that taught new Apple II owners how to use the computer. This disk became a self-fulfilling prophesy: At the time of its authoring, there was no standard Apple II interface. Because new owners were all being taught Tog and David's interface, developers soon began writing to it, aided by Tog's Apple Human Interface Guidelines, and reinforced by AppleWorks, a suite of productivity applications for the Apple II into which Tog had also incorporated the same interface.

And thus interface standardization was born, out of the cumulative, compounding benefit of fulfilled user expectation.

As developers, it's our job to be the wizards behind the curtain. The users are the star of the show, not us, or our egos.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#25

Great job, Jack! I love when companies open source their projects. Aside from sharing knowledge, they're a great 'passive' way to recruit.

Thanks! It feels good to get this out there - we want (and plan) to open-source more stuff but have been so busy that we haven't had the time. Deliberately writing this to be open-sourced also made me a lot more considerate when developing it and improved the code quality as a result.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#26
FlatUIKit reminds me of following the projects on Github: https://github.com/domesticcatsoftware/DCControls & https://github.com/domesticcatsoftware

I personally had to fork the DCRoundSwitch project to make it more FlatUI like. I am glad there are other efforts out there to help grow this component set.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#27

Hey everybody, creator here. Let me know if you have any questions/comments/feature requests - I'm going to keep working on this.

One of the interesting pull requests that came out of https://github.com/domesticcatsoftware/DCRoundSwitch was to support accessibilityValue . I for one would like to make a request for it. DCRoundSwitch was my first introduction to the power of the Core Graphics layer. I now believe that you can draw almost anything instead of heavy reliance on design images. Best.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#28

Earlier quoted context omitted.

Please watch Apple's 1984 commercial again. http://youtu.be/2zfqw8nhUwA

Apple's 1984 commercial was targeted at their users, not developers -- at least not in the way you're thinking. The first Apple HIG was published in 1977 for the original Apple II. It was written by Bruce Tognazzini: http://en.wikipedia.org/wiki/Bruce_Tognazzini#Background He and his partner, John David Eisenberg, wrote Apple Presents...Apple, the disk that taught new Apple II owners how to use the computer. This dis…

I've never wished HN had a "Ban Button" before today. He released something that represents a lot of work on his part and you come in here and shit on it. If you don't like it you move along, you don't wage a holy war of negative comments.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#29
post #8

Earlier quoted context omitted.

Yeah. Fuck that guy for publishing code for us to look at and maybe use.

What would you do if I published a broken password hashing scheme and encouraged others to use it?

Poor analogy. A broken password hash cat put me at risk for a long time. A bad UI is instantly fixed by simply not using the app anymore.

Re: Show HN: FlatUIKit - Flat UI components for iOS

#30
post #27

Hey everybody, creator here. Let me know if you have any questions/comments/feature requests - I'm going to keep working on this.

One of the interesting pull requests that came out of https://github.com/domesticcatsoftware/DCRoundSwitch was to support accessibilityValue . I for one would like to make a request for it. DCRoundSwitch was my first introduction to the power of the Core Graphics layer. I now believe that you can draw almost anything instead of heavy reliance on design images. Best.

That's a really good observation re: accessibility, and something that had totally slipped my mind. I'll add accessibility support for FUISwitch and FUIAlertView in the next release (everything else, being a subclass/category of existing UIKit stuff, should have it already).

I'm using CoreGraphics for a lot of stuff here, just not actually in the controls' drawRect methods. Rather, I use CoreGraphics to produce UIImages of various sizes/shapes/colors and then use the appearance methods provided by each UIControl (e.g. setBackgroundImage) to style existing UIKit controls with said image. So there aren't any external images included in the project. I prefer this approach, as it minimally interferes with each control's existing/desired behavior (not to feed the trolls, but one of the weaknesses in the "Apple wouldn't approve of this" argument presented elsewhere in the comments is that I'm almost entirely just using existing classes/appearance customization APIs provided by UIKit).

Post reply on HN