TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I took over Painteresque, a 14 year old Objective-C app and rebuilt it

117 pointsby busymom03 months ago
Around 3 weeks ago, I came across a reddit post from someone who was looking to see if anyone was interested in taking over a 12-14 year old objective c app which hadn&#x27;t been on the app store for many years. I responded and decided to do it.<p>The app is called Painteresque. It lets you turn photos to charcoal drawings, paintings etc while doing all the processing locally on device:<p><a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;ca&#x2F;app&#x2F;painteresque-photo-to-sketch&#x2F;id6742038583">https:&#x2F;&#x2F;apps.apple.com&#x2F;ca&#x2F;app&#x2F;painteresque-photo-to-sketch&#x2F;i...</a><p>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.<p>Here&#x27;s a screenshot of the OLD app:<p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;fPhoqlp.jpeg" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;fPhoqlp.jpeg</a><p>The old app was built like 12-14 years ago in a combination of objective c and vanilla C. The &quot;filters&quot; were built in C while the UI was in objective c.<p>The codebase was so old that it wasn&#x27;t even using ARC (Automatic Reference Counting).<p>The app would also instantly crash because back in those days, using the camera or adding photos to photo library didn&#x27;t require declaring permission things like `NSCameraUsageDescription`, `NSLocationWhenInUseUsageDescription`.<p>Also had to remove obsolete frameworks to get it to run on devices iOS 12 onwards.<p>It was also not built for retina displays, nor handling safe area layout guides.<p>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.<p>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.<p>The only package dependency the app uses is SnapKit to make auto layout simpler. The UI is made with code instead of storyboards.<p>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.<p>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.<p>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.<p>The new app on iOS is only around 1.8 MB, most of it used by images for the buttons and app icon.<p>Ask me anything you&#x27;d like about this experience. Have any of you taken over an old app and rebuilt it?

10 comments

Terretta3 months ago
I had this app. Great job!<p>PS. Thank you for Hack, one of the only YC clients that&#x27;s perfect on mobile and supports all features: <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;hack-for-yc-hacker-news-reader&#x2F;id1464477788">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;hack-for-yc-hacker-news-reader...</a>
评论 #43226901 未加载
评论 #43226112 未加载
Clubber3 months ago
I learned Obj-C during the early days of the app store, probably 2009-2010. This was before the iPad came out, so I remember ARC being introduced. I really liked it back then because code had to be so lean memory wise (compared to say Java or C#) and I had to deal with memory allocation and deallocation in the Delphi days, so I was comfortable with it. I published a few apps that were moderately successful (not FU money) then kinda got bored during the long tail of the cycle and didn&#x27;t feel like upgrading the icons and images over and over again.<p>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&#x27;t do with Swift that I could do with Obj-C?
评论 #43232947 未加载
Gys3 months ago
You did a good job! Will try it later.<p>&gt; 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.<p>I noticed the &#x27;in app purchases&#x27; 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 :&#x2F;
评论 #43225579 未加载
评论 #43224932 未加载
评论 #43226094 未加载
fadesibert3 months ago
This is a really fun app. I took a painting class for a few years in an effort to exercise the other side of the brain - and this does what I failed to do with tens of hours of effort with GIMP, and no amount of prompt magic could do with $LLM.<p>I trust your tip jar gets and stays full - bringing this back to life is a wonderful contribution!
评论 #43226455 未加载
js23 months ago
Aforementioned reddit post:<p><a href="https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;IPhoneApps&#x2F;comments&#x2F;1ih8jfk&#x2F;any_iphone_devs_here_game_to_take_over_an_old&#x2F;" rel="nofollow">https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;IPhoneApps&#x2F;comments&#x2F;1ih8jfk&#x2F;any_iph...</a>
nar0012 months ago
How did you get the source code and rebuilt it? I&#x27;d enjoy reading a blog post about the whole story!
评论 #43244118 未加载
Gys3 months ago
Maybe at some point you do a blog post or something about the results of the tipping. I am curious how that works out.
评论 #43235419 未加载
nokun73 months ago
How timely!! I was looking for something similar to convert some of my portrait images. I&#x27;m trying it right now and I&#x27;ll let you know how it goes soon. Thank you
_aavaa_3 months ago
Interesting app! If you can share, are you getting the effects through the Kuwahara filter?
评论 #43225615 未加载
noja3 months ago
Nice.<p>Could there be an option to retain exif data (date time and location)
评论 #43269689 未加载
评论 #43235307 未加载