Blog Archives

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: , ,

Custom Model in Objective C

Custom Model in Objective C Created By: Debasis Das (17-Apr-2016) Today we will create a Custom Model in Objective C where attributes can be added from within a loop. The model will support formatters and will have convenience method to

Posted in Cocoa, Objective C

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: , , ,

Swift NSLayoutConstraint programatically sample code

Swift NSLayoutConstraint programatically sample code Created By: Debasis Das (16-Jan-2016) In this post we will apply constraints to 4 views in a NSWindow using swift NSLayoutConstraint programatically . This approach is much more tedious and lengthy in comparison to the constraintsWithVisualFormat

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

Swift NSLayoutConstraint constraintsWithVisualFormat programmatically

Swift NSLayoutConstraint constraintsWithVisualFormat Sample Code Created By: Debasis Das (16-Jan-2016) In this post we will apply constraints to 4 views in a NSWindow using constraintsWithVisualFormat programmatically. Note: The autoLayOut checkbox is switched off in the XIB and all the constraints

Posted in Cocoa, Swift Tagged with: , ,

NSCollectionView Sample Code

NSCollectionView Sample CodeNSCollectionView Sample Code Created By : Debasis Das (29-Sept-2015) In this article we will create a simple Cocoa Application in Objective C to create a NSCollectionView and to load it with an array of items that represents a

Posted in Cocoa, Objective C Tagged with: , , ,

Stack & Queue Implementation in Objective C

Stack & Queue Implementation in Objective C Created By: Debasis Das (1-Oct-2015) In this article we will create two sample implementation for a stack and a queue in objective C. // KSStack.h // StackAndQueue // Created by Debasis Das on

Posted in Cocoa, Cocoa Touch, Objective C Tagged with: , , ,

Cocoa, Objective C Code Snippets

Cocoa, Objective C Code Snippets Created By: Debasis Das (22-Aug-2015) In this post we will post loads of Cocoa, Objective C code snippets , This post will be frequently updated. Come back to learn more NSArray & NSMutableArray Code Snippets Creating NSArray

Posted in Cocoa, Objective C Tagged with: ,

Word Frequency Algorithm in Objective C

Word Frequency Algorithm in Objective C Created By: Debasis Das (21-Aug-2015) In this post we will create two sample code/ approach for deriving the word count, word frequency of each word in a input string. Word Frequency Algorithm in Objective

Posted in algorithms, Cocoa, Objective C Tagged with: , , , ,

Recent Posts


Hit Counter provided by technology news