A Swift Port of https://github.com/AlexDenisov/FrameAccessor