Add geolocation to your app
Add splash screen to your app
Bring up new window on swipe
Convert json to NSDictionary
Create new thread
Get system time
Having a process sleep for some time
Merge two pictures
Persist data on iOS device
Programmatically place objects in a window
Resize and merge 2 pictures
Search and replace substring
Send picture as json
Share NSUserDefaults data between multiple apps
Swap xib files in a single window
UITableViewCell swipe event
Use NSMutableArray as a queue
Variables in Objective C
Memory management and the Stack
The OS allocates memory for each process or program for data and code. The memory allocated for each process consists of many parts: the stack holds local variables, the heap holds dynamic memory, the data segment holds global variables, and finally the code segment which holds the code is and read only. Memory management depends on the hardware and the operating system. ...
Variable Scoping in Go
A scope in any programming is a region of the program where a defined variable can exist and beyond that the variable cannot be accessed. There are three places where variables can be declared in Go programming language. The first is local variables which are declared inside a function or a block. The second is global variables which are declared Outside of all functions. The last is parameters which are in the definition of function parameters. In this article, we will discuss what local va ...
A variable is a name given to a storage area that the programs can manipulate. Each variable in Go has a specific type, which determines the size and layout of the variable's memory, the range of values that can be stored within that memory, and the operations that can be applied to the variable. The name of a variable can contain letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because Go is case-sensit ...
In Python, a tuple is a comma-separated sequence of values. Very similar to a list. However, there's an important difference between the two. The main difference between tuples and lists is that lists are mutable and tuples are not. A mutable object is one that can be changed. An immutable object is one that contains a fixed value that cannot be changed. If it needs to be changed, a new object must be created. Generally, we store different data inside a tuple than we would a list. Lists usua ...