What is the standard Apple blue colour?
Here’s an extract from … // // UIColor.h // UIKit // // Copyright (c) 2005-2013, Apple Inc. All rights reserved.
Continue readingIos questions repository
Here’s an extract from … // // UIColor.h // UIKit // // Copyright (c) 2005-2013, Apple Inc. All rights reserved.
Continue readingWith Firestore, I add a timestamp field like this var ref: DocumentReference? = nil ref = Firestore.firestore() .collection("something") .addDocument(data: [
Continue readingImagine a screen S. Users arrive at S, look at stuff. There’s a button B … | | | B|
Continue readingSay you have for i in 0 … 10 { print(i) } of course it will print 0,1,2,3,4,5,6,7,8,9,10 for i
Continue readingIf you have a UIView Imagine the view being full of text, animations, a cat photo, a gradient, or indeed
Continue readingIf you have a UIView Imagine the view being full of text, animations, a cat photo, a gradient, or indeed
Continue readingI’m making a CGImage func otf() -> CGImage { which is a bezier mask on a gradient. So, // the
Continue readingI have this json: { “stuff”: [ { “type”:”car”, “object”:{ “a”:66, “b”:66, “c”:66 }}, { “type”:”house”, “object”:{ “d”:66, “e”:66, “f”:66
Continue readingSay you have a simple animation let e : CABasicAnimation = CABasicAnimation(keyPath: “strokeEnd”) e.duration = 2.0 e.fromValue = 0 e.toValue
Continue readingIt’s trivial to get the average color of an image, using CI, so filter = CIFilter( name: “CIAreaAverage”, parameters: [kCIInputImageKey:
Continue reading
Recent Comments