/
dev notes.txt
27 lines (20 loc) · 1.04 KB
/
dev notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TODO:
* Make it also zoom towards the x-coordinate of the next link, instead of just being centered
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Flow of the Program
WWScreenSaverView WWOffscreenWebView WebView
----------------- ------------------ -------
initWithFrame
(calls) ---> startLoadingPageFromURL
(calls) ---> loadRequest
webView:didFinishLoadForFrame: <--- (notification)
\-> prepareNextPageOnNewThread
|-> prepareImage
|-> getWikiLinks
|-> getHeightOfLinkWithURL
|
(notification) <---/
nextPageIsReady
\-> switchToNextPage (called from above, or timer)
\------> startLoadingNextPage
\-> startingLoadingPageFromURL (Back to top)