News for hackers. Stuff that matters.
Re:Oh shit, my weekend project turned into an App Store Best... by _-___________-_ on Thursday September 19, 2019 @02:39AM (#21013867)
That's a strange statement. It's a very simple app, which specific guidelines do you think should have taken significant time for him to write code that complies to?

In my experience the guidelines are mostly common sense once you get used to the "Apple way", and are straightforward to comply with, especially if you're already familiar with them (OP had submitted several apps before).

Re:Oh shit, my weekend project turned into an App Store Best... by mister_hn on Thursday September 19, 2019 @02:51AM (#21013922)
still, claiming to hacking a mobile app together in one hour is something strange as well. Does the "hour of code" includes setting up project in the IDE, setting a repo, testing it, making it AppStore-ready?

Options are:

a. you have already the code somewhere (own sources, StackOverflow, GitHub, etc.) b. you are bluffing

Re:Oh shit, my weekend project turned into an App Store Best... by fingerlocks on Thursday September 19, 2019 @04:19AM (#21014342)
I could believe it if you counted only the time taken to type just literal code. Probably discounted the time it would take to build the UI .xib, wire up all the event-handler delegates, and set all your layout constraints for the various screen sizes.

And doesn't this use the camera and/or photos API? Not hard, but somewhat time consuming to set up your boilerplate for these. Also handling permissions request, response, & error handling. Probably copy/pasted from another project so it wouldn't count?

Yeah I'm skeptical, but also sounds like a fun challenge.

Re:Oh shit, my weekend project turned into an App Store Best... by megablast on Thursday September 19, 2019 @04:26AM (#21014386)
Load xcode, create a project, setup a repo can take 10 seconds. I just did it. Testing it takes longer. You can create a blank app and install it on a phone in 30 seconds. It really is that quick.

Of course, writing it in 1 hour is a bit ridiculous. Did he have the icon images ready?

Re:Oh shit, my weekend project turned into an App Store Best... by gmueckl on Thursday September 19, 2019 @10:11AM (#21016315)
The article states that icons and other polish is excluded from that time and were done later.
Re:Oh shit, my weekend project turned into an App Store Best... by RugnirViking on Thursday September 19, 2019 @03:02AM (#21013975)
Setting up a project in the IDE takes maybe a couple minuites at worst.

you wouldn't bother making a repo for something like this. Testing is done while programming, and the process of putting it on the app store presumably wasn't counted as 'programming'

Re:Oh shit, my weekend project turned into an App Store Best... by maccard on Thursday September 19, 2019 @04:58AM (#21014517)
Does it even? Last time I checked, it took <1 minute to launch xcode, use a template and deploy it to a device (assuming you're set up to develop already). Every IDE I've used in the last decade will detect "hey, you're starting a new project, would you like a git repo?"
Re:Oh shit, my weekend project turned into an App Store Best... by trevyn on Thursday September 19, 2019 @02:55AM (#21013945)
My first app store submission was a challenge to go from idea to submitted app on one laptop battery charge (2-3 hours?) and was approved on the first try, so it’s definitely possible.
Re:Oh shit, my weekend project turned into an App Store Best... by samwhiteUK on Thursday September 19, 2019 @05:02AM (#21014529)
Sounds like you need a new laptop
Re:Oh shit, my weekend project turned into an App Store Best... by bengale on Thursday September 19, 2019 @03:36AM (#21014140)
> setting a repo

`git init`? Clicking create repo in GitHub?

> setting up project in the IDE

are you doing this stuff blindfolded or something?

Re:Oh shit, my weekend project turned into an App Store Best... by mister_hn on Thursday September 19, 2019 @06:03AM (#21014819)
you forgot the "git remote add" part. That takes a couple of minutes
Re:Oh shit, my weekend project turned into an App Store Best... by bryanrasmussen on Thursday September 19, 2019 @10:21AM (#21016423)
I'm supposing that he naturally made the project appstore ready because he knew what the requirements for that were, as in he did not write what he needed and then fixed it, he instead did not write anything that went out of guidelines.

As far as the other stuff, this reminds me of recruiters who send you a coding project that they say will take 2-3 hours that generally takes 4-6 if there isn't some major problem. The extra time is of course setting everything up choosing what dependencies you need etc, because every project is slightly different and you are unlikely to have everything that is needed for that one project. The actual coding is probably 2-3 hours.

So perhaps he already had everything his system needed, if so I expect it might have taken 1 hour to code (because he was very comfortable and knew exactly what he would need to do) and some minutes to make git repo, push code. Then add another hour to time compiling and submitting to app store.

If he knew what he needed to do in the code of course that was probably from thinking about it for weeks beforehand.

Re:Oh shit, my weekend project turned into an App Store Best... by codesternews on Thursday September 19, 2019 @04:16AM (#21014329)
There are many open source project which have drag and drop gesture and all the needed feature.

He just might have to combine two projects and some programming and replacement of icons.

Re:Oh shit, my weekend project turned into an App Store Best... by rumanator on Thursday September 19, 2019 @03:00AM (#21013967)
I have no experience with iOS development but I do have in Android, and in Android it is quite possible and even uneventful to put together an application that allows users to navigate through half a dozen activities and fragments in about an hour of work.
Re:Oh shit, my weekend project turned into an App Store Best... by TheSpiceIsLife on Thursday September 19, 2019 @03:24AM (#21014074)
Where do you draw the line?

Does the 1hr include the hour you spent driving to the shop and back for a loaf of bread and a bottle of milk?

Re:Oh shit, my weekend project turned into an App Store Best... by tannerc on Thursday September 19, 2019 @08:39AM (#21015571)
This is accurate. I should have possibly mentioned in more detail that at the time I had a lot of experience with prior apps, so whipping another one together—particularly for such a simple concept—is trivial.

I’m surprised anyone here thinks something like Snaplight would take more than an hour to build (no repos, testing on device but otherwise no tests, simple permissions, uncomplicated UI that only improved post-launch, etc.).

Re:Oh shit, my weekend project turned into an App Store Best... by Liquid_Fire on Thursday September 19, 2019 @09:23AM (#21015889)
> I’m surprised anyone here thinks something like Snaplight would take more than an hour to build

I think it would take me longer just to make the icon, having never done anything like that before.

Think about all the skills you had previously built up that allowed you to make it in an hour. If someone lacks even one of them, they would never be able to do it so quickly.

Re:Oh shit, my weekend project turned into an App Store Best... by giarc on Thursday September 19, 2019 @10:03AM (#21016253)
Likely just used some stock icons or had previously designed them for another project and never used them.
Re:Oh shit, my weekend project turned into an App Store Best... by tannerc on Thursday September 19, 2019 @10:07AM (#21016283)
I’m a full-time designer and designed everything in the app from scratch.
Re:Oh shit, my weekend project turned into an App Store Best... by sizzle on Thursday September 19, 2019 @07:06PM (#21021637)
Hi Tanner, big fan of your design portfolio. As a fellow designer, what inspired/motivated you to make the jump into learning how to code?

Was it simply scratching the itch to make higher fidelity prototypes?

PS- should designers code? ;)

Re:Oh shit, my weekend project turned into an App Store Best... by tannerc on Friday September 20, 2019 @11:08AM (#21027521)
Thank you for the kind words!

I started coding long, long ago in order to build my web portfolio (back before site builders were a thing). As a result I saw how empowering coding can be.

I've always felt being able to code software gives you an ability to solve a lot of your own problems with technology. e.g. I have a lot of private tools I've designed and coded to help me in my day job (such as this simple one I recently open sourced: https://tannerchristensen.com/spf).

If you're a designer who works on digital products, I think it's only advantageous to know some programming. It gives you empathy for your engineering peers, gives you more insight into how what you design will actually get built (and the constraints/advantages of the technology), and helps you see problems in different—often more linear and logical—ways.

Learning to code is not for everyone, but learning a little can go a long way. At least learning the basics of code structure, loops, memory allocation and management, etc. would be my suggestion.