NSSortDescriptor ordenar con número un string

NSArray *sortedArray;
sortedArray = [listado sortedArrayUsingComparator:(NSComparator)^(id a, id b) {
Modelo *modelo1 = a;
Modelo *modelo2 = b;
NSNumber *num1 = [NSNumber numberWithInt:[modelo1.stringAComparar intValue]];
NSNumber *num2 = [NSNumber numberWithInt:[modelo2.stringAComparar intValue]];

return [num2 compare:num1];
}];
listado = [sortedArray mutableCopy];

UIAlertController: style action sheet

UIAlertController *alertController = [UIAlertController
											  alertControllerWithTitle:nil
											  message:nil
											  preferredStyle:UIAlertControllerStyleActionSheet];
		
		UIAlertAction *cancelar = [UIAlertAction
									   actionWithTitle:NSLocalizedString(@"Cancelar", nil)
									   style:UIAlertActionStyleCancel
									   handler:^(UIAlertAction *action)
									   {
										   NSLog(@"Cancel action");
									   }];
		
		UIAlertAction *accion = [UIAlertAction
								 actionWithTitle:NSLocalizedString(@"Acción", nil)
								 style:UIAlertActionStyleDefault
								 handler:^(UIAlertAction *action)
								 {
									
								 }];
		
		NSMutableAttributedString *textoTitulo = [[NSMutableAttributedString alloc] initWithString:NSLocalizedString(@"Título...", nil)];
		[textoTitulo addAttribute:NSFontAttributeName
					  value:[UIFont fontWithName:NSLocalizedString(@"tipoLetra", nil) size:19.0]
					  range:NSMakeRange(0, textoTitulo.length)];
		[alertController setValue:textoTitulo forKey:@"attributedTitle"];
		
		[alertController addAction:cancelar];
		[alertController accion];
		
		[self presentViewController:alertController animated:YES completion:nil];

UIAlertController: style alert

-(void)mostrarAviso {
    
    UIAlertController * alert=   [UIAlertController
                                  alertControllerWithTitle:NSLocalizedString(@"Título", nil)
                                  message:NSLocalizedString(@"Mensaje", nil)
                                  preferredStyle:UIAlertControllerStyleAlert];
    
    UIAlertAction* okButton = [UIAlertAction
                                actionWithTitle:NSLocalizedString(@"Ok", nil)
                                style:UIAlertActionStyleDefault
                                handler:^(UIAlertAction * action)
                                {
                                    
                                    [alert dismissViewControllerAnimated:YES completion:nil];
                                    
                                }];
    [alert addAction:okButton];
    
    [self presentViewController:alert animated:YES completion:nil];
    
}

Compartir texto

-(void) compartirTexto: (NSString *) textoAEnviar {
    
    UIActivityViewController *activityViewController =
    [[UIActivityViewController alloc] initWithActivityItems:@[textoAEnviar]
                                      applicationActivities:nil];
    [self.navigationController presentViewController:activityViewController
                                       animated:YES
                                     completion:^{
                                         
                                     }];
    
}

Petición JSON mediante AFHTTPSessionManager

NSArray *campos = [NSArray arrayWithObjects:@"dato001",@"dato002", nil];
    NSArray *valores = [NSArray arrayWithObjects:dato001,dato002, nil];
    NSDictionary *diccionario = [NSDictionary dictionaryWithObjects:valores forKeys:campos];
    
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];

    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer = [AFHTTPResponseSerializer serializer];
    
    [manager POST:URL_PETICION parameters:diccionario progress:nil success:^(NSURLSessionTask *task, id responseObject) {
        
        NSDictionary* json = [NSJSONSerialization
                              JSONObjectWithData:responseObject
                              options:kNilOptions
                              error:nil];
        
        if ([[json objectForKey:@"success"] intValue] == 1) {
            
        }
    
    } failure:^(NSURLSessionTask *operation, NSError *error) {
        
        NSLog(@"Error: %@", error.localizedDescription );
        
        NSMutableString *mensaje = [[NSMutableString alloc] init];
        [mensaje appendString:NSLocalizedString(@"Fallo en la conexión", nil)];
        
        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Información",nil) message:mensaje delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
        [alert show];
        
    }];

Altura dinámica de celdas en UITableView

//Capturamos la celda
        static NSString *identificadorCelda = @"CeldaListado";
        
        celdaListado *cell = [tableView dequeueReusableCellWithIdentifier:identificadorCelda];
        //Creamos una label donde alojamos el texto y calculamos su altura
        UILabel *gettingSizeLabel = [[UILabel alloc] init];
        gettingSizeLabel.font = cell.aviso.font;
        Modelo *modelo = [listado objectAtIndex:indexPath.row];
        gettingSizeLabel.text = modelo.descripcion_aviso;
        gettingSizeLabel.numberOfLines = 0;
        gettingSizeLabel.lineBreakMode = NSLineBreakByWordWrapping;
        CGSize maximumLabelSize = CGSizeMake(cell.modelo.frame.size.width, 9999);
        CGSize expectSize = [gettingSizeLabel sizeThatFits:maximumLabelSize];
        
        //Tomamos la medida total de la celda
        CGRect cellFrame = cell.frame;
        //Sumamos la altura de la label a la celda
        return cellFrame.size.height+expectSize.height - 5;