Blog Archives

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

Swift Autolayout Visual Format Language – Sample Code

Swift Autolayout Visual Format Language – Sample Code Created By: Debasis Das (7-May-2015) In this article we will create a simple cocoa application in Swift to demonstrate the Autolayout Visual Format Language where the constraints will be added to the views programmatically,

Posted in Cocoa, Swift Tagged with: , , ,

Autolayout Visual Format Language – Objective C Sample Code

 Autolayout Visual Format Language – Objective C Sample Code Written By: Debasis Das (7-May-2015) Undoubtedly Autolayout is a powerful tool at the hands of Cocoa & iOS Developers. It has a learning curve but gives immense control over UI resize

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

Recent Posts


Hit Counter provided by technology news