Core infrastructure shared by iOS and Mac apps.