logo
Populate the side area with widgets, images, navigation links and whatever else comes to your mind.
18 Northumberland Avenue, London, UK
(+44) 871.075.0336
ouroffice@vangard.com
Follow us

Blog

WordPress: Fix ajaxurl Not Defined

I came across a situation where I needed to execute some ajax scripts from WordPress front end and I got an error: ajaxurl is not defined. As you may know, ajaxurl is a variable...

iOS: Check For Object In NSMutableArray

A simple way to look for an object on NSMutableArray is to use containsObject. See below: [code]NSMutableArray *arr = [NSMutableArray arrayWithObjects:@"One", @"Two", @"Three", nil]; NSString *itm = @"Two"; if([arr containsObject:itm]) { NSLog(@"Two found in big array"); } [/code]...