Show HN: I took over Painteresque, a 14 year old Objective-C app and rebuilt it (apps.apple.com)
The app is called Painteresque. It lets you turn photos to charcoal drawings, paintings etc while doing all the processing locally on device:
https://apps.apple.com/ca/app/painteresque-photo-to-sketch/i...
The app is entirely free to use, has no ads, third party analytics, trackers, subscriptions or other junk. It does offer 5 options for tips (which are basically consumable in app purchases), portion of which I will share with the original developer. However, based on my past experiences with tips, they are rarely given by users.
Here's a screenshot of the OLD app:
https://i.imgur.com/fPhoqlp.jpeg
The old app was built like 12-14 years ago in a combination of objective c and vanilla C. The "filters" were built in C while the UI was in objective c.
The codebase was so old that it wasn't even using ARC (Automatic Reference Counting).
The app would also instantly crash because back in those days, using the camera or adding photos to photo library didn't require declaring permission things like `NSCameraUsageDescription`, `NSLocationWhenInUseUsageDescription`.
Also had to remove obsolete frameworks to get it to run on devices iOS 12 onwards.
It was also not built for retina displays, nor handling safe area layout guides.
After fixing all these things, I got the old app to work on phone. But the UI was very rough and rudimentary. Back in those days, it would get approved by Apple. But nowadays, Apple is very strict about these things.
So, I decided to rebuild the app from scratch in Swift with, what I think, is a better UI design. I still used the old vanilla C code for the filters with some small changes and extra filters of my own. But the rest of the UI is all from scratch. I also incorporated things like `NSOperationQueue` for background processing of the image filtration as it can take a few seconds to generate. I incorporated caching of the images, preview thumbnails etc. to disk because the current phones have cameras which take humongous photos that can use a lot of ram if kept in memory.
The only package dependency the app uses is SnapKit to make auto layout simpler. The UI is made with code instead of storyboards.
The App Store screenshots are all made by me from scratch using Photopea, a browser alternative to Photoshop. The app icon is still the old icon, except I changed the background to be an off-white color instead of the old blue color to make it look a bit more modern.
Overall, this process took about 3 weeks. Most of the important work was done in about 1.5-2 weeks. The rest of the time was spent adding things like tipping in app purchases, UI improvements, tweaking the filters, adding feedback button etc.
The App Store review was fast. I submitted at 6:30 PM and it was approved at 4 AM. Also got an update approved last night to fix some slowness issue when opening new images.
The new app on iOS is only around 1.8 MB, most of it used by images for the buttons and app icon.
Ask me anything you'd like about this experience. Have any of you taken over an old app and rebuilt it?
26 comments
[ 1.9 ms ] story [ 75.0 ms ] thread> The app is entirely free to use, has no ads, third party analytics, trackers, subscriptions or other junk. It does offer 5 options for tips (which are basically consumable in app purchases), portion of which I will share with the original developer. However, based on my past experiences with tips, they are rarely given by users.
I noticed the 'in app purchases' remark. Generally (not in this case) a little annoying, good that you explain. Because Apple does not seem to offer a more clear option to explain what these purchases may be, feature wise of price wise. Sorry for the rant :/
Godzilla Tip: $19.99
Amazing Tip: $9.99
Generous Tip: $5.99
Nice Tip: $1.99
Kind Tip: $3.99
PS. Thank you for Hack, one of the only YC clients that's perfect on mobile and supports all features: https://apps.apple.com/us/app/hack-for-yc-hacker-news-reader...
also, I get a notification if I reply to my own comment.
can I get notifications for replies to replies to comments I've made?
Let me have a look and fix it.
> I get a notification if I reply to my own comment.
Hmmm, I feel like this should be the intended behaviour. But maybe I can add a setting to disable this behaviour.
> can I get notifications for replies to replies to comments I've made?
Unfortunately, I don't think this would be possible due to the limitations of the HN website itself. Remember that HN's api is very rudimentary. So the whole notification system in my app works using scraping of the newest comments. This would require me to keep track of every single comment and its parents and that's just not feasible.
I trust your tip jar gets and stays full - bringing this back to life is a wonderful contribution!
https://old.reddit.com/r/IPhoneApps/comments/1ih8jfk/any_iph...
Only exception is that a single user from my Hacker News app sent me $280 CAD in tips via PayPal (not via app). Very grateful to them. However, they are an exception.
Otherwise, I rarely get tips via the apps. For example, I have a free OLEDify app which lets you make dark photos be pure black as they look good and save battery on OLED phones. It's used by thousands of users. But in the 8 years it's been in the App Store, it's gotten under $20 in tips.
If developers want to make a sustainable income via apps, I would not recommend relying solely on tips. A freemium model plus an extra tipping option is the way to go.
I never got onto the Swift train, it was too new when I stopped. I think I know the answer, but would you recommend Swift over Obj-C, for someone failingly familiar with Obj-C if I were to get back into the game? If so why or why not? Is it just as fast as Obj-C and is there anything I can't do with Swift that I could do with Obj-C?
https://apps.apple.com/ca/app/hack-for-yc-hacker-news-reader...
I would highly recommend Swift over Objective C. It's a lot cleaner and therefore also fun. I still use objective c if I am using some old codebase but other than that, nowadays, I don't see any reason to start a new project I in objective c.
You should really give Swift a try.
Also, Android's Kotlin is also kinda fun similar to Swift.
Could there be an option to retain exif data (date time and location)