1. 17
  1.  

  2. 4

    Not a crazy takeaway from such a thorough and detailed article, but, TIL Apple Notes uses protobufs.

    1. 2

      such a thorough and detailed article

      Thank you!

      TIL Apple Notes uses protobufs.

      I found it odd that they opted not to go with a binary plist which is also used within the Notes database in other columns in the same table. I have a draft post I need to finish some day that gets more in the weeds as to exactly how protobufs are used and what it took to figure out the structure since, obviously, Apple doesn’t make this public.

      I believe Apple technically calls them NSKeyedArchiver objects, but hey, if it looks like a protobuf and parses like a protobuf…

      Edited to fix run-on sentence.

      1. 2

        TIL Apple Notes uses protobufs.

        Apple actually uses protobufs all over the freaking place; they just don’t advertise it. The newer Pages/Numbers/etc. formats are basically protobufs all the way down, for example. I have no idea why they ended up so protobuf-heavy, but seeing it pop up in Notes is unsurprising.