« first day (609 days earlier)      last day (647 days later) » 

5:33 AM
-(void)playMp3:(NSString*)pathToPlaymp3{


NSURL *url = [NSURL URLWithString:pathToPlaymp3];
NSData *data = [NSData dataWithContentsOfURL:url];
NSError *error = nil;
audioplayer = [[AVAudioPlayer alloc] initWithData:data error:&error];
if (audioplayer)
{
[audioplayer prepareToPlay];
playSlider.maximumValue = [audioplayer duration];
playSlider.value = 0.0;
[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateTime:) userInfo:nil repeats:YES];
[audioplayer play];
}
else
 
1 message moved from IOS Developer Family
 
 
6 hours later…
11:48 AM
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSString *simpleTableIdentifier = [NSString stringWithFormat:@"Cell%d",indexPath.row];

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier];

UILabel *supplyLbl;
UILabel *countlbl;
UIButton *btnCheck;
UIButton *_button;

if (cell == nil)
{
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:simpleTableIdentifier] ;
 
1 message moved from IOS Developer Family
 

« first day (609 days earlier)      last day (647 days later) »