分类 iOS 下的文章



由   YIem   撰写于    浏览:3785  评论:0
iOS-POST-网络同步请求

由   YIem   撰写于    浏览:3584  评论:0

由   YIem   撰写于    浏览:4254  评论:0

由   YIem   撰写于    浏览:3262  评论:0

由   YIem   撰写于    浏览:4093  评论:0

由   YIem   撰写于    浏览:3515  评论:0
在info的plist文件中添加下面代码(进入方法-info.plist-右键单击-Open AS->Source Code)<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> [...]

由   YIem   撰写于    浏览:3301  评论:0

由   YIem   撰写于    浏览:3930  评论:0

由   YIem   撰写于    浏览:2698  评论:0
// 解析数据 为n 第一种 解决方法(判断)if (![string hasPrefix:@"\n"]) { [stu setValue:string forKey:self.elementNameStr]; }//// 解析数据 为\n 第二种 解决方法(设置解析值(\n) 为空) self.elemen[...]

由   YIem   撰写于    浏览:3333  评论:0

由   YIem   撰写于    浏览:3837  评论:0

由   YIem   撰写于    浏览:2877  评论:0

由   YIem   撰写于    浏览:3709  评论:0

由   YIem   撰写于    浏览:4064  评论:0
// 标题视图 titleView// 创建要添加的视图对象

由   YIem   撰写于    浏览:3280  评论:0
**iOS-UI-UIButton 切圆-切弧度-边角弧度self.regButton.layer.cornerRadius = 10;**

由   YIem   撰写于    浏览:3604  评论:0
iOS-UI-UITabBarControllerDelegate-标签视图控制器@interface AppDelegate ()<UITabBarControllerDelegate> @end@implementation AppDelegate(void)dealloc{[_window release]; [super dea[...]

由   YIem   撰写于    浏览:3107  评论:0
iOS-UI-UITableViewCell 的自定义-自适应高度RootVC.m

由   YIem   撰写于    浏览:4692  评论:0
[上部分 链接======][1]上部分链接-同上方链接TableView里面 1 2 3 一样#warning 移动 3 - 设置是否允许移动(BOOL)tableView:(UITableView )tableView canMoveRowAtIndexPath:(NSIndexPath )indexPath{return YES;}warni[...]

由   YIem   撰写于    浏览:2943  评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]

由   YIem   撰写于    浏览:3070  评论:0
tableView整体刷新 重新执行所有协议方法 [_tableView reloadData]; 单行刷新// 参数1: 需要刷新的下标 // 参数2: 刷新动画 [_tableView reloadRowsAtIndexPaths:@[_index] withRowAnimation:UITableViewRowAnimationRight];

由   YIem   撰写于    浏览:3403  评论:0
// 辅助视图// cell.accessoryType = UITableViewCellAccessoryDetailButton;// 感叹号 // cell.accessoryType = UITableViewCellAccessoryCheckmark;// 对号 // cell.accessoryType = UITableV[...]

由   YIem   撰写于    浏览:2840  评论:0
// tableView结构 // tableHeaderView + tableView + tableFooterView // tableView -> section + row // section -> header + row + footer

由   YIem   撰写于    浏览:2889  评论:0
// tableView的头部脚部区域 // 头 (只有高度起作用) UIView *header = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; header.backgroundColor = [UIColor redColor]; tableView.tableH[...]

由   YIem   撰写于    浏览:3501  评论:0
// 设置 // indePath 定位信息 包含section和row cell.textLabel.text = [NSString stringWithFormat:@"s: %ld, r: %ld", indexPath.section, indexPath.row];