US 10,891,113 B2
Source code rewriting during recording to provide both direct feedback and optimal code
Brooke K. Callahan, San Jose, CA (US); Michael S. Ferris, Sunnyvale, CA (US); William B. Turner, San Francisco, CA (US); Paul E. Marks, San Jose, CA (US); Matthew E. Dreisbach, Boulder Creek, CA (US); and Joar Wingfors, Campbell, CA (US)
Assigned to Apple Inc., Cupertino, CA (US)
Filed by Apple Inc., Cupertino, CA (US)
Filed on Nov. 19, 2018, as Appl. No. 16/195,438.
Application 16/195,438 is a continuation of application No. 15/275,354, filed on Sep. 24, 2016, granted, now 10,162,607.
Claims priority of provisional application 62/339,857, filed on May 21, 2016.
Prior Publication US 2019/0155581 A1, May 23, 2019
Int. Cl. G06F 8/34 (2018.01); G06F 3/0482 (2013.01); G06F 8/72 (2018.01); G06F 11/36 (2006.01); G06F 8/38 (2018.01)
CPC G06F 8/34 (2013.01) [G06F 3/0482 (2013.01); G06F 8/38 (2013.01); G06F 8/72 (2013.01); G06F 11/3668 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
receiving, by an application development system, a first event generated by user interaction with an executing application and a snapshot of a first state of user interface elements of the executing application, the first state including the first event;
automatically generating first source code that corresponds to the first event;
receiving, by the application development system, a second event generated by user interaction with the executing application and a snapshot of a second state of user interface elements of the executing application, the second state including the second event;
synthesizing the first and second events and automatically generating second source code that is optimized based at least in part on the synthesis of both the first and second events and the snapshots of the first and second states of the user interface elements of the executing application; and
automatically replacing the first source code with the optimized second source code.