Skip to content

Latest commit

 

History

History
89 lines (45 loc) · 3.54 KB

about.md

File metadata and controls

89 lines (45 loc) · 3.54 KB

About

I made this app because I've wanted an app just like it.

I had no development experience so I took it as a learning project. What does it take to go from idea to App Store?

Challenge

To answer that question, I set myself a key challenge:

Do everything myself, take no shortcuts.

Learning

This meant writing every single line of code myself without dependencies. It meant learning some design and coming up with an app icon. It meant creating mockups and wireframes, talking to users, prioritizing features, handling finances, and so much more.

In hindsight, this was the best decision I could've made.

Note

Note
This was my very first app without prior experience. Keep that in mind when checking out the code 😉

Technical Challenges

While Frame Grabber might look simple at first glance, there are lots of details behind the scenes for a good UX.

Here are a few examples.

Interactive Transitions

transition.mp4

The editor-to-library transition gives the user a sense of context when navigating between screens.

There was zero reference material for transitions with such complexity. I developed it from scratch, sweating every detail and covering a multitude of edge cases to get it just right. One particular challenge was in making the transition between moving video and static thumbnail feel natural.

🔗 Code

Custom Controls

slider.mp4

The video slider is a key UI element in the editor. It should be intuitive yet precise.

I created a fully custom, reusable component. It supports asynchronous thumbnail loading from any data source, interactive scrubbing speeds and accessibility. Thumbnails show interesting moments at a glance. For precise selection, custom speeds can be set.

🔗 Code and blog post

Efficient Frame Export

frame-export.mp4

Decoding and exporting even just a handful of 4k video frames consumes immense amounts of memory leading to potential crashes.

I created a FrameExport service based on OperationQueue that exports frames in configurable batches and synchronizes the results. It supports arbitrary numbers of frames, cancellation and progress reporting.

🔗 Code

Frame-Time Indexing

frame-time.mp4

The editor shows the video time in the mm:ss.ff format. This format uniquely identifies any frame helping users in comparing frames.

Calculating this number required indexing every single frame in a video, which can be in the hundreds of thousands. Once indexed, a custom binary search ensures efficient retrieval of a specific time. Using AVFoundation and OperationQueue, the entire process is done fully in the background hidden from the user.

🔗 Code and unit tests

And Much More…