Blog Archives

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 Fractal Tree

Swift Fractal Tree Created By : Debasis Das (May 2016) Source Code // Swift Fractal Tree // Created by Debasis Das on 15/05/16. // Copyright © 2016 Knowstack. All rights reserved. import Cocoa import Foundation class Tree: NSView { let

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

Swift NSDateFormatter

Swift NSDateFormatter Created By :Debasis Das (28-Feb-2016) In this article we will write a couple of sample code for Swift NSDateFormatter Before we start lets understand the NSDateFormatter and the different methods available in a NSDateFormatter class //Understanding the NSDateFormatter

Posted in Swift Tagged with: , , ,

NSImage (named:String) Sample Code

NSImage (named:String) Sample Code Created By:Debasis Das (11-Feb-2016) In this post we will use all the image resources available in NSImage class. These images are present in the AppKit Framework resources and are readily available for use in any Cocoa

Posted in Swift Tagged with: , , , ,

Generating a PDF Document in Swift

Generating a PDF Document in Swift Created By: Debasis Das (31-Jan-2016) In this article we will create/ generate a PDF document in swift. The structure of the PDF Document will be as follows Cover Page Title Credit Information Header Text

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

Swift Collection Type Array

Swift Collection Type Array Collection Types in Swift Swift has 3 primary collection types , known as arrays, sets and dictionaries arrays – ordered collections of values sets – unordered collection of values dictionaries – unordered collections of key-value pairs

Posted in Swift Tagged with: , , , ,

Swift String and Character

Swift String and Character Created By:Debasis Das (Jan 2016) In this post we will test the Swift String functions and see examples of expected behaviors Strings are ordered collections of characters Swift Strings are represented by the “String” Type Swift

Posted in Swift Tagged with: , , ,

Swift Basic Operators

Swift Basic Operators Created By: Debasis Das (Jan 2016) In this post we will touch upon the Swift Basic Operators using examples  Swift Operators Swift Operators are unary, binary or ternary Unary Operators – Operates on a single target unary

Posted in Swift Tagged with: , , ,

Swift Create NSTableView programatically

Swift Create NSTableView programatically In this article we will create a NSTableView programmatically in Swift // TableViewFromCodeWindowController.swift // SwiftTableViews // Created by Debasis Das on 25/01/16. // Copyright © 2016 Knowstack. All rights reserved. import Cocoa class TableViewFromCodeWindowController: NSWindowController,NSTableViewDataSource, NSTableViewDelegate

Posted in Swift Tagged with: , , ,

Swift NSLayoutConstraint constraintsWithVisualFormat sample code

Swift NSLayoutConstraint constraintsWithVisualFormat sample code – detailed example Created By:Debasis Das (17-Jan-2016) In this post we will create a detailed sample screen in swift having lots of UI elements using NSLayoutConstraint constraintsWithVisualFormat. This sample code uses most of the options

Posted in Cocoa, Swift Tagged with: , , ,

Recent Posts


Hit Counter provided by technology news