Blog Archives

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

Cocoa Enterprise Application Architecture

Cocoa Enterprise Application Architecture Created By : Debasis Das (19-Aug-2015) Cocoa Enterprise Application Architecture – In this post we have demonstrated the architecture for a Cocoa Application having offline storage capability, service layer and database.

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

Mac OSX Media Layer Architecture

Mac OSX Media Layer Architecture Created By : Debasis Das AVFoundation Play and create time-based audiovisual media Provides APIs related to Video and Audio AVKit For playing video content in a Mac Application Audio Toolbox Provides interfaces for recording, playback

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

Cocoa Layered Architecture for Mac OSX

Cocoa Layered Architecture for Mac OSX Created By: Debasis Das Below is a high level summary architecture diagram for the different layers in a Mac OSX for Cocoa App Development. Each layer helps achieve rich functionalities. Primarily the OSX is

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

Abstract Factory Design Pattern Objective C

Abstract Factory Design Pattern Objective C Written By: Debasis Das (9-June-2015) Abstract Factory Design Pattern Objective C The Abstract Factory Design Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes. Class Cluster

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

NSPredicateEditor Sample Code

NSPredicateEditor Sample Code Created By: Debasis Das (19-May-2015) In this tutorial we will create a sample application to demonstrate the usage of NSPredicateEditor & NSPredicateEditorRowTemplate. We will also create a custom row template by subclassing NSPredicateRowTemplate. A NSPredicateRowTemplate normally has the

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

Cocoa Delegate Design Pattern

Cocoa Delegate Design Pattern Written By: Debasis Das (18-May-2015) Cocoa Delegate Design Pattern is a powerful design pattern in which one object works on behalf of another object. Examples of some of the delegating object in AppKit framework are as follows

Posted in Cocoa, Design Pattern, iOS, Objective C Tagged with: , , , , ,

Observer Design Pattern, Key-Value Observing

Observer Design Pattern, Key-Value Observing Written By: Debasis Das (3-May-2015) In the Observer Design Pattern , one object notifies other objects of any state changes. The Observer Design Pattern requires that an observer registers itself for changes in the state of another

Posted in Cocoa, Design Pattern, iOS, Objective C Tagged with: , , , , , , ,

NSToolbar Sample Code in Objective C

NSToolbar Sample Code in Objective C Created By: Debasis Das (1-May-2015) In this post we will create a simple Cocoa OSX Application that has a NSWindow with NSToolbar generated from code and each NSToolbarItem is mapped to individual view controller.

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

NSURLSession Sample Code

NSURLSession Sample Code Written By: Debasis Das (28-Apr-2015) In this article we will create a sample application that reads data from a web service using NSURLSession, NSURLSessionDelegate & NSURLRequest. We have demonstrated 2 different approaches of getting data. Delegate Approach

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

Recent Posts


Hit Counter provided by technology news