`
zjjzmw1
  • 浏览: 1353987 次
  • 性别: Icon_minigender_1
  • 来自: 开封
社区版块
存档分类
最新评论
文章列表
https://github.com/zjjzmw1/ZMWImageCache      一、创建自己的github 仓库。 Repository name : 项目名。 Description  :项目的说明描述。 选Public 可以共享。。。。公司选 Private 收费的。 包含 Initialize this repository with a README Add .gitignore:  Object-C            Add a License: MIT  二: git clone  https://github.com/sddd…….git 三 ...
// //  UIImageView+CacheURL.m //  Vodka // //  Created by xiaoming on 15/11/5. //  Copyright © 2015年 Beijing Beast Technology Co.,Ltd. All rights reserved. //   #import "UIImageView+CacheURL.h" #import "CodeFragments.h"   @implementation UIImageView (CacheURL)   #pra ...
    sudo gem install -n /usr/local/bin cocoapods sudo gem install -n /usr/local/bin leancloud     在stackoverflow搜到的解释是这样的,This is happening because Apple has enabled rootless on the new install,也就是说在10.11系统上苹果已经启用无根的安装。在这种情况下,如果你使用如下的命令: sudo gem install cocoa pods -v 就会出现这样的提示: ERROR: W ...
很可能是你的端点的问题。。。把项目中的断点都去掉试试,,如果不行,就是Xcode的bug了。和配置的。
     /**      *  缓存model 的方法 。      */     TestModelObject *testModel = [TestModelObjectmodelWithDictionary:dict];     NSMutableArray * dataArray = [NSMutableArrayarrayWithCapacity:50];     //将testModel类型变为NSData类型     NSData *data = [NSKeyedArchiver archivedDataWithRootObject:testModel]; ...
- (ClubPeopleManageViewController *)getController2{     for (UIView* next = [selfsuperview]; next; next = next.superview) {         UIResponder* nextResponder = [next nextResponder];         if ([nextResponder isKindOfClass:[ClubPeopleManageViewControllerclass]]) {             return (ClubPeople ...
MasonryAutoLayout 学习。   注释:左边都是 .left/ .right/.bottom/.top/.centerY/右边都是 :mad_right/mas_bottom/mas_top 等等。 self.reasonLabel = [[UILabel alloc] init];     [self.reasonLabel setBackgroundColor:[UIColor clearColor]];     [self.reasonLabel setTextAlignment:NSTextAlignmentLeft];     [self.reasonLab ...

iOS运行时机制

    博客分类:
  • iOS
http://my.oschina.net/panyong/blog/298631     转载的。   我们前面已经讲过一篇runtime 原理,现在这篇文章主要介绍的是runtime是什么以及怎么用!希望对读者有所帮助! 首先,第一个问题, 1》runtime实现的机制是什么,怎么用,一般用于干嘛? 这个问题我就不跟大家绕弯子了,直接告诉大家, runtime是一套比较底层的纯C语言API, 属于1个C语言库, 包含了很多底层的C语言API。 在我们平时编写的OC代码中, 程序运行过程时, 其实最终都是转成了runtime的C语言代码, runtime算是OC的幕后工作者比如说,下 ...

iOS面试总结

    博客分类:
  • iOS
iOS面试小贴士 ———————————————回答好下面的足够了------------------------------------- 多线程、特别是NSOperation 和 GCD 的内部原理。 运行时机制的原理和运用场景。 SDWebImage的原理。实现机制。如何解决TableView卡的问题。 block和代理的,通知的区别。block的用法需要注意些什么。 strong,weak,retain,assign,copy nomatic 等的区别。 设计模式,mvc,单利,工厂,代理等的应用场景。 单利的写法。在单利中创建数组应该注意些什么。 NSString ...
-(void)clickedButton{     //如果是从loginViewController过来到要直接回到food页     int daiIndex=self.navigationController.viewControllers.count-2;     if (daiIndex<=0) {         daiIndex=0;     }     if ([self.navigationController.viewControllers[daiIndex] isKindOfClass:NSClassFromString(@"LoginView ...
      NSString* encodedString = [self.myUrlStringstringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];        
http://www.2cto.com/kf/201410/342382.html 第一个方法: //    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; //    self.navigationController.navigationBar.tintColor = [UIColor blackColor]; //    self.view.window.frame = CGRectMake(0, 20, self.view.window.frame.size.width, s ...
第一个方法: //    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; //    self.navigationController.navigationBar.tintColor = [UIColor blackColor]; //    self.view.window.frame = CGRectMake(0, 20, self.view.window.frame.size.width, self.view.window.frame.size.height - 20); / ...
转载自:http://www.wahenzan.com/a/mdev/ios/2014/1231/1397.html   App store 发布,64位问题,Missing 64-bit support 时间:2014-12-31 11:46  来源:未知  阅读次数: 2884 复制分享 我要评论   App store 发布,64位问题,Missing 64-bit support
我想更新到连接自定义单元格。我想要搜索时刷新表格单元格。我使用 reloadRowsAtIndexPaths 方法。这种方法的工作,但未更新的单元格。你能帮我吗 以下方法运行时,我搜索 -(void)doSearchHotelName:(id)sender{ NSIndexPath *tmpIndexpath=[NSIndexPath indexPathForRow:1 inSection:0]; [self.tableV beginUpdates]; [self.tableV reloadRowsAtIndexPaths:[NSArray arr ...
Global site tag (gtag.js) - Google Analytics