hikari 🌟 (too many of them)

A screenshot showing several windows. One is the iPhone Simulator running an app with a white background and several instances of a 3DCG emoticon (of a cartoon face with a huge grin and sunglasses making a thumbs-up gesture), plus various pieces of text like “the future”, “hello, world” and “perhaps the ending has not yet been written”. Each image or piece of text has a different position, scale, opacity, color or background colour. There is then another window, this one for touchHLE, containing an almost identical rendering, except for the font and text alignment being slightly different, text not being truncated with an ellipsis, and the status bar being absent.
2 replies →
2 replies

James Harvey

(replying to hikari 🌟 (too many of them))

@hikari that test app is beautiful lol

hikari 🌟 (too many of them)

(replying to James Harvey)

@jmshrv thanks :coolguy:

hikari 🌟 (too many of them)

(replying to hikari 🌟 (too many of them))

@jmshrv the particular “beauty” it has is entirely necessary: by combining clashing elements in bad ways i can check that blending, scaling, and so on work properly :)


Saagar Jha

(replying to hikari 🌟 (too many of them))
@hikari Do you support attributed strings

hikari 🌟 (too many of them)

(replying to Saagar Jha)

@saagar not yet :coolguy:

Saagar Jha

(replying to hikari 🌟 (too many of them))
@hikari I hope you like rendering HTML

hikari 🌟 (too many of them)

(replying to Saagar Jha)

@saagar i will simply not support it :coolguy:

Saagar Jha

(replying to hikari 🌟 (too many of them))
@hikari I’m going back in time to inject -[NSAttributedString initWithHTML:documentAttributes:] calls into popular apps

hikari 🌟 (too many of them)

(replying to Saagar Jha)

@saagar you know, i think i might prefer having (very basic) support for NSAttributedString to having to support UIWebView…

Saagar Jha

(replying to hikari 🌟 (too many of them))
@hikari Did you know that the original iPhone did text rendering using WebKit

hikari 🌟 (too many of them)

(replying to Saagar Jha)

@saagar oh, that makes a lot of sense actually.

hikari 🌟 (too many of them)

(replying to hikari 🌟 (too many of them))

@saagar something I've learned from this project is that web apps and native apps on the iPhone were not so distant from eachother. Apple's idea of doing everything as a web app isn't that bad

hikari 🌟 (too many of them)

(replying to hikari 🌟 (too many of them))

@saagar someone will say “but the web is slow!”, but WebKit is written in C++ rather than Objective-C so,