Here is a simple tip on how we can perform simple animation on objects in Xcode using the NSTimer class to create timers that call methods at regular intervals.
Using the NSTimer class –
There are many ways to perform simple animations. One of the easiest ways to perform animation is to use the NSTimer class. The NSTimer class creates timer objects, which enable you to call a method at a regular time interval. It also allows you to update the position of an image at regular time intervals. (more…)
We have 3 ways to play videos in iOS applications, which is given below.
1. To play video which resides on the server.
2. To play video which reside in our system or our application bundle.
3. To play video using “you tube” embed code. (more…)
In computer programming, naming convention might be considered as a set of rules for choosing the identifiers to denote variables, types and functions & methods names in source code and project documentation. The purpose for using this naming convention is only to reduce the effort needed to read and understand the source code and to also to enhance the code appearance by using appropriate and concise keys.
EXC_BAD_ACCESS error is a general error in your iOS application, but is hard to debug and find the route cause for this error in your application. The main reason of EXC_BAD_ACCESS error to happen is that – somewhere in your application code you are trying to send a message to an object that has already been released.
So how we will find the root cause of this error? (more…)
Most popular Social networking Site Facebook has moved one step ahead at making the PHP programming language runs more quickly. Facebook has developed a PHP virtual machine, called HipHop Virtual Machine (HHVM) that can executes the PHP web programming language as much as 9 times as quickly as running PHP on large systems.