Blog Archives

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 Arrays

Created By: Debasis Das (15-May-2017) In this post we will dive into Swift collection type array and see how it works and then we will apply map, reduce and filter on different arrays and check the corresponding output and behavior

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

Swift 3.1 Closures

Created By: Debasis Das (14-May-2017) Closures are self contained blocks of functionality that can be used in our code and pass around as function parameters Closures in Swift are similar to blocks in Objective C In the below sample we

Posted in Swift, Swift 3.1 Tagged with: , ,

Swift 3.1 Algorithms – Part 1

Created by: Debasis Das (13-May-2017) In this post we will implement the following algorithms in Swift Implementing a stack in Swift Implementing a queue in Swift Prime Numbers – Check if a number is prime List of Prime numbers less

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

Swift MapKit Annotation

Swift MapKit Annotation Created By : Debasis Das (31-July-2016) We will be working in a series of Sample Code and Proof of concepts to play around MapKit.framework. This article is the first in the series to demonstrate swift mapkit annotation

Posted in MapKit, Swift Tagged with: , , , ,

Swift CAEmitterCell CAEmitterLayer Fireworks

Swift CAEmitterCell CAEmitterLayer Fireworks Created By : Debasis Das (May 2016) This post is inspired from the Firework Objective C App. The code has been re-written in Swift while removing the slider controls for controlling the fireworks. For the objective

Posted in Swift Tagged with: , ,

Swift CAEmitterCell CAEmitterLayer Sample Code

Swift CAEmitterCell Sample Code Created By: Debasis Das (May 2016) This post is inspired by the Objective C version of the Fire Demo Application from developer.apple.com and the flow is rewritten in Swift. https://developer.apple.com/library/mac/samplecode/Fire/Introduction/Intro.html The output of the program is

Posted in Swift Tagged with: , , ,

Swift NSSearchField NSTableView Sample Code

Swift NSSearchField NSTableView Sample Code Created By:Debasis Das (May 2016) In this post we will discuss the most lengthy way to implement a NSSearchField and tie the same to a NSTableView. Earlier we have discussed two alternate ways to achieve

Posted in Swift Tagged with: , ,

Swift NSSearchField NSArrayController No Bindings

Swift NSSearchField NSArrayController No Bindings Created By:Debasis Das (May 2016) In this post we will create a simple cocoa application to filter the data in a NSTableView using a NSSearchField without using Bindings The NSArrayController will maintain the backup data

Posted in Cocoa, Swift Tagged with: , ,

Swift NSSearchField NSTableView With Bindings

Swift NSSearchField NSTableView With Bindings Created By: Debasis Das (may 2016) In this post we are going to create a simple cocoa application having a NSSearchField and bind the same to a NSTableView Array Controller Step 1 : Create a new

Posted in Cocoa, Swift Tagged with: , ,

Recent Posts


Hit Counter provided by technology news