UIAlertView in Swift

In Swift and iOS 8 SDK you can present an alert view as shown in the code below :   var alert = UIAlertController(title: “Alert Title”, message: “Message”, preferredStyle: UIAlertControllerStyle.Alert)alert.addAction(UIAlertAction(title: “OK”, style: UIAlertActionStyle.Default, handler: nil)) self.presentViewController(alert, animated: true, completion: nil) You can also add destructive and cancel actions by setting […]

UIAlert

IBAction and Outlets

Actions An action is a piece of code that’s linked to some kind of event that can occur in your app. When that event takes place, the code gets executed. You can define an action to accomplish anything from manipulating a piece of data to updating the user interface. You […]


Create executable files from Java .jar in Windows

JSmooth is a tool for wrapping Java JAR files into Windows Portable Executable EXE files. It allows specifying various details on how the program should be invoked, such as: Executable icon Program arguments Type of wrapper application (console or Windows GUI) Whether to launch the Java VM in the same […]


Swift, Apple’s new programming language

If anyone outside Apple saw Swift coming, they certainly weren’t making any public predictions. In the middle of a keynote filled with the sorts of announcements you’d expect (even if the details were a surprise), Apple this week announced that it has created a modern replacement for the Objective-C, a […]


Pointers I

Un puntero es una variable que contiene la dirección de memoria de un dato o de otra variable que contiene el dato. Quiere esto decir, que el puntero apunta al espacio físico donde está el dato o la variable. Su sintaxis de declaración sería: tipo *NombrePuntero; Donde tipo es el […]

Pointer

Javadocs

Javadoc es una utilidad de Oracle para la generación de documentación de APIs en formato HTML a partir de código fuente Java. Javadoc es el estándar de la industria para documentar clases de Java. La mayoría de los IDEs los generan automáticamente. Javadoc también proporciona una API para crear doclets […]


Nearly five million jobs in European app sector by 2018 – EU report

The European Union’s (EU) app sector has gone from zero to digital superhero in less than five years and by 2018 it could employ 4.8 million people and contribute €63bn to the EU economy, according to a report presented in Brussels today. Today the app economy employs a million developers, […]

Business Kamy Academy

Recursion – The basics

Recursion – The basics   COMPUT: a programming technique where a routine performs its task by delegating part of it to another instance of itself. Introduction For new computer science students, the concept of recursive programming is often difficult. Recursive thinking is difficult because it almost seems like circular reasoning. It’s […]


Method Vs Function

Method Vs Function A function is a piece of code that is called by name. It can be passed data to operate on (ie. the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed. A method is a piece […]

Duke Java Mascot

C++ Kamy Academy

Global and Local Variables

A scope is a region of the program and broadly speaking there are three places, where variables can be declared: Inside a function or a block which is called local variables, In the definition of function parameters which is called formal parameters. Outside of all functions which is called global […]