- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
-(void)showRetrySuccess:(NSString*)requestUrlString
{
NSString *statusMessage = @"";
if([requestUrlString rangeOfString:kFollowFriendsRequest].location != NSNotFound)
{
statusMessage =@"Your follow friend request completed successfully.";
}
else
if([requestUrlString rangeOfString:kUnfollowFriendsRequest].location != NSNotFound)
{
statusMessage =@"Your unfollow friend request completed successfully.";
}else
if([requestUrlString rangeOfString:kDeleteContentService].location != NSNotFound)
{
statusMessage =@"Your delete request completed successfully.";
}else
if([requestUrlString rangeOfString:kSavePostService].location != NSNotFound)
{
statusMessage =@"Your save post request completed successfully";
}else
if([requestUrlString rangeOfString:kSaveMediaService].location != NSNotFound)
{
statusMessage =@"Your save request completed successfully";
}else
if([requestUrlString rangeOfString:kSaveTwitterDirectMessage].location != NSNotFound)
{
statusMessage =@"Your request completed successfully.";
}else
if([requestUrlString rangeOfString:kSaveTwitterResponse].location != NSNotFound)
{
statusMessage =@"Your request completed successfully.";
}
else
if([requestUrlString rangeOfString:kAddCommentService].location != NSNotFound)
{
statusMessage =@"Your post comment request completed successfully.";
}
UIAlertView * alert = [[[UIAlertView alloc] initWithTitle:@"" message:statusMessage delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]autorelease];
[alert show];
}
guest 13.07.2012 13:26 # 0
guest 13.07.2012 13:37 # +5
"Your %s request completed successfully"
krypt 13.07.2012 15:09 # 0
Lure Of Chaos 13.07.2012 13:57 # +3
rat4 13.07.2012 14:04 # +4
Lure Of Chaos 13.07.2012 14:19 # 0
Fai 13.07.2012 15:20 # +4
Поцелуй сухую ягни.
TarasB 14.07.2012 21:09 # 0
Lure Of Chaos 14.07.2012 21:12 # +2
как говорил один старый еврей, "делай просто, но не проще"
TarasB 14.07.2012 21:15 # 0
roman-kashitsyn 13.07.2012 14:22 # +2
eth0 13.07.2012 14:48 # 0
Lure Of Chaos 13.07.2012 15:26 # 0