Invention Grant
- Patent Title: Source code rewriting during recording to provide both direct feedback and optimal code
-
Application No.: US16195438Application Date: 2018-11-19
-
Publication No.: US10891113B2Publication Date: 2021-01-12
- Inventor: Brooke K. Callahan , Michael S. Ferris , William B. Turner , Paul E. Marks , Matthew E. Dreisbach , Joar Wingfors
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Womble Bond Dickinson (US) LLP
- Main IPC: G06F8/34
- IPC: G06F8/34 ; G06F3/0482 ; G06F8/72 ; G06F11/36 ; G06F8/38

Abstract:
Systems and methods are disclosed for developing an application on a development device. The application is built on a development device, then installed and run on a test device. Installation includes installing an event tap to intercept events generated by a user interacting with the application. In response to a call from the event tap, a test manager daemon snapshots the user interface elements of the application and packages the snapshot and event for transmission to the development device. A development environment on the development device receives the package, then generates and displays optimized source code in response to the received events and snapshots. Generated source code can be optimized to minimize a number identifiers, minimize a length of identifiers, minimize a generated number of lines of code, or optimize the generated source code for readability.
Public/Granted literature
- US20190155581A1 SOURCE CODE REWRITING DURING RECORDING TO PROVIDE BOTH DIRECT FEEDBACK AND OPTIMAL CODE Public/Granted day:2019-05-23
Information query