What’s new in swift 4.2


Good news: Swift 4.2 is now available in Xcode 10 beta! This release updates important Swift 4.1 features and improves the language in preparation for ABI stability. 1. toggle() for Bool swift propose adding a mutating func toggle to Bool. It toggles the Bool. var isVisible = true print(isVisible.toggle()) // false 2. Adding in-place removeAll(where:) to the Standard Library It is common to want... Continue Reading →

Advertisements

Common method in Swift


1. Check for any field empty in NSDictionary class func checkforEmptyValueinDictioanty(dic:NSDictionary)-> Bool{ for (keyVal, dataVal) in dic {   if (dataVal.length()==0){                 println("\(keyVal): \(dataVal.length())")                 return false             }                 ... Continue Reading →

Sencha Navigation Tutorial


1. Main panel issues are resolved now. 2. There are multiple viewport files in the development version. Keep only one while creating production or testing build with Sencha. Because Sencha by default includes all the classes of same name in the build. —————————————————————————————— Slide navigation in mobile apps is a huge hit now-a-days. Starting from... Continue Reading →

Sencha Tutorial Part -4


In this article, we are going to complete the following tasks:Add the delete note feature to the Note Editor View.Implement the navigation back to the Notes List Container View when the Home button in the Note Editor View is tapped.Modify the Notes List Container View so it renders the notes grouped by date.Deleting Records from a Sencha... Continue Reading →

Sencha Tutorial part -3


we are going to create the Note Editor View. This is the View that will allow our users to create, edit and delete notes.When we finish this article, our application will have the ability to create notes, and edit existing notes. Let’s get started building the Note Editor View. Creating a Form Panel in Sencha TouchWe... Continue Reading →

Sencha Tutorial Part 2


we will continue building a small application that allows people to save notes on the device running the app.So far, we have been working on the View that renders the list of notes cached on the device: While building this View, we defined the NotesListContainer Class. We are going to start this article with a modification... Continue Reading →

Sencha Tutorial 1


In this series we will create the Sencha Touch 2 version of the Notes Application, an application that allows its users to take notes and store them on the device running the app. Along the way, we will dive into the following areas:The building blocks of a Sencha Touch application.How to implement navigation in an application... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: