This year’s WWDC was packed with many new and disruptive news. I am not going to outline what they are,…
2 Commentsdduraz Posts
Visualize Big Data on Mobile
Introduction Data visualization has become increasingly important to drive realtime data driven decision making process. To support such process it…
Leave a CommentARKit with Image Classifier – iOS 12
Apple has released a new tool that leverages transfer learning. One of the reasons for doing so is to enable…
3 CommentsProximity
Did you ever want to know who is around you? I was flying back on a plane many years ago…
Leave a CommentAs you run an ARKit session on your iOS device ARKit allows you to actually see the raw feature points…
Leave a CommentWhen you want to create a framework that can run both on the iOS simulator and on device you can…
Leave a CommentAtomic property implementation with GCD.
1 2 3 4 5 6 7 8 9 10 11 12 |
fileprivate let countAtomicQueue = DispatchQueue(label: "com.dduraz.countAtomicQueue") private var _count:Int = 0 var count:Int { get { dispatchPrecondition(condition: .notOnQueue(countAtomicQueue)) return countAtomicQueue.sync { _count } } set { dispatchPrecondition(condition: .notOnQueue(countAtomicQueue)) countAtomicQueue.sync { _count = newValue } } } |
By default a DispatchQueue instantiates as a serial queue. The concept here is very…
Leave a CommentThis is a short post showing how to run an executable shell script from a Mac app. The core API…
Leave a CommentIn July I published (GCD – Beta) the first thoughts about GCD changes announced at WWDC 2016. The GCD team…
1 CommentThis year Apple released some new features in Core Data. One I am going to take a look at is…
8 Comments