分类 iOS 下的文章


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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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