
Search In
During User registration it is very necessary to check that entered email id is valid or not. To check that following code will help you.
- (BOOL)validateEmailWithString:(NSString*)email
{
NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za
I finally stopped mooching off my parents family plan and set up my own account with AT&T and I noticed some strange things. Somehow my account got associated with a discount program with the company I work for, which I definitely didn'
For those who are new & trying to use AVplayer in their iphone apps,i would like to share that AVplayer has in built functions for only PLAY & PAUSE as "[self.myAvPlayer play]; & [self.myAvPlayer pause];",which are handy to use,whereas t
NSMutableArray *mutArray=[[NSMutableArray alloc]init];
for(int i=0;i<=2;i++)
{
NSString *object=@"Hello";
[mutArray addObject:object];
}
NSLog(@"Mutable Array==%@",mutArray);
//if the object are in other arr
Hi Readers,
This blog includes the concept of converting NSData to UIImage with the help of a very simple example. Given below is the screenshot and code which is used to convert NSData to UIImage on button click. Snapshot of storyboard is given be
An Apple iPhone is one of the strongest mobile devices and rarely requires repairs or maintenance, aside from the battery which you will necessarily wear out after some years of intensive usage. The process of getting help from Apple or any iPhone re
App development has become a necessity for every business now. With all businesses opting for developing apps to increase their business revenue, app development has gained great momentum for all platforms. iPhones offer a platform that is trusted by
Please follow some steps and attached file as well for adding a linker flag in Xcode.
Select the project file from the project navigator on the top left side of the window.
Select the target for where you want to add the linker flag.
Select the "
Hi, The below code is to get substrings from a string. You are going to love this below code which is very simple but very effective. I have used regular expression to get the sub strings.
NSString *strTest = @"Hii how are you doing @Ravi , how do
Hi Readers,
The most simple way to know that the device is connected to the internet is :
NSURL *scriptUrl = [NSURL URLWithString:@"http://apps.wegenerlabs.com/hi.html"];
NSData *data = [NSData dataWithContentsOfURL:scriptUrl];
if (data)
NSLog(@"De