How do you create a Swift Date object?

Swift has its own Date type. No need to use NSDate. Creating a Date and Time in Swift In Swift, dates and times are stored in a 64-bit floating point number measuring the number of seconds since the reference date of January 1, 2001 at 00:00:00 UTC. This is expressed in the Date structure. The following would give you the current … Read more

iPhone system font

To the delight of font purists everywhere, the iPhone system interface uses Helvetica or a variant thereof. The original iPhone, iPhone 3G and iPhone 3GS system interface uses Helvetica. As first noted by the always excellent DaringFireball, the iPhone 4 uses a subtly revised font called “Helvetica Neue.” DaringFireball also notes that this change is … Read more