Month: May 2017

Swift CAReplicatorLayer Sample Code

Created By: Debasis Das (29-May-2017) In this post we will see how CAReplicatorLayer works and create a couple of sample code to play around with CAReplicatorLayer CAReplicatorLayer is essentially a layer that creates a specified number of copies of its

Posted in Swift, Swift 3.1 Tagged with: , ,

Swift Mac OS Animation using Animator Proxy – Part 2

In continuation to the Swift Mac OS Animation Part 1 we will work with Animator Proxy to achieve animation in Mac OS Applications. Animator Proxy Some simple Mac OSX Animation can be achieved through the usage of Animator Proxy. Animator

Posted in Swift, Swift 3.1 Tagged with: , ,

Swift Mac OS Animation using Core Animation- Part 1

Created By: Debasis Das (27-May-2017) Swift Mac OS Animation Animation in Mac OSX has a long history and there are more than one option for achieving an animated behavior in a Mac Application. We can achieve animation in a Mac

Posted in Swift, Swift 3.1 Tagged with: , , , , ,

Swift 3.1 URLSession, URLSessionDataTask Sample Code

In this tutorial we will create a simple application that demonstrates the use of URLSession and URLSessionDataTask in Swift 3.1 Note: As this article focusses primarily on the above stated aspects we will leave some UI functionality like showing a

Posted in Swift, Swift 3.1 Tagged with: , ,

Swift 3.1 CAShapeLayer

Created By: Debasis Das (23-May-2017) In this post we will explore the CAShapeLayer and create different sample CAShapeLayer and in some case animate a few of the properties In our ViewController class we will add a rootLayer which is a

Posted in Swift, Swift 3.1 Tagged with: , , , , , ,

Swift 3.1 Concurrency, Operation Queue, Grand Central Dispatch

Created By: Debasis Das (23-May-2017) In this article we will cover the following topics in Cocoa with examples and sample code in Swift depicting the usage of each. What is Concurrency? Grand Central Dispatch What is NSOperationQueue? Introduction to Operation

Posted in Swift, Swift 3.1 Tagged with: , , , ,

Swift 3.1 NSTableView – Different Approaches Sample Code

Created By: Debasis Das (22-May-2017) In this post we will try the different approaches of handling data population in a NSTableView and rendering different content types in a NSTableView. We will create NSTableViews which are Simple Cell based NSTableView using Datasource

Posted in Swift 3.1 Tagged with:

Swift 3.1 Column Chart Animation using CABasicAnimation and CALayer

Created By: Debasis Das (22-May-2017) In this post we will create a simple animation of Column Chart value changes. We will be using CABasicAnimation and CALayers for creating this effect.

Posted in Charts n Graphs, Swift 3.1 Tagged with:

Swift 3.1 Matrix Screensaver effect

Created By: Debasis Das (16-May-2017) In this post we will create a simple cocoa application in Swift 3.1 to generate the matrix screen saver effect. Swift 3.1 Matrix Screen Saver Sample Code

Posted in CoreAnimation, Mac OSX Animation, Swift 3.1 Tagged with: , ,

Swift 3.1 CALayer

Created By: Debasis Das (15-May-2017) An introduction to CALayer and Swift Sample code to create CALayer and modify its properties. Layers are backing store for views and also can be used without a view to display content. We can modify

Posted in Swift 3.1 Tagged with: , , , ,

Hit Counter provided by technology news