
Search In
Here is a function which returns an image with different background of you choice.
- (UIImage* )setBackgroundImageByColor:(UIColor *)backgroundColor withFrame:(CGRect )rect{
// tcv - temporary colored view
UIView *tcv = [[UIView alloc] initWithFram
You can disable Reset password screen that comes on first login after Registration. Use the below steps to hide the Reset password screen:
If portal-ext.properties is not available then you can manually create portal-ext.properties file into the /t
Recently I was working on rails 4 application and there was a need to get current absolute URL. So I noticed that as rails evolved, this is also getting changed and thought to pen down these ways for all the rails versions.
For Rails 3.2 or Rails 4
Stylus is a dynamic style-sheet language, it's design influenced by Sass and LESS. It makes your development more faster, smarter and more powerful then ever before. you can change your all color scheme in just a single line of code.
Quick and Easy
Through this code we can use NSLOG whenever required. Write this snippet in some common file(say utility) so that it would be easily handled throughout the project. Make sure class should import utility class to handle NSLog.
All you need is to chang
Autoloading of modules/classes from lib directory is no more supported by Rails 3. There has been number of if and buts in its support and against but unfortunately it has been removed. While lazy loading was a very good feature where developer need
There are three basic types of errors in PHP:
Notices: These errors are not displayed to the user at all , the default behavior can be changed. These are non-critical errors that encounters by php while executing a script - for example variable h
Updation in CakePHP is basically based on knowing the primary key(Id) of the records one wants to change/edit.
You can update a field in CakePhp by two ways:-
a)By using saveField method
$this->ModelName->id=$id;
$this->ModelName->
To completely disable caching application wide, you will have to edit /app/config/core.php and change the line
Configure::write(‘Cache.disable’, true);
This line is commented by default and you will have to remove comment to disable caching.
If th
If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale.
First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D transfor
