`
zani
  • 浏览: 350390 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
http://omegadelta.net/2011/05/10/how-to-wait-for-ios-methods-with-completion-blocks-to-finish/        
    NSString *file = @"http://192.168.119.222:8090/shzhserver/media/dcb289f1-d5d8-4fcd-a8eb-5ec10838d38f.mp4";     DLog(@"%@", [file pathExtension]);     CFStringRef fileExtension = (CFStringRef) [file pathExtension];     CFStringRef fileUTI = UTTypeCreatePreferredIdentifierFo ...
缓存在软硬件设计中是一个十分常见的优化方法,多用于高性能软硬件的设计。简单地说,缓存就是利用存储器的速度等级差异,将低速存储中使用频率高的内容加载到高速存储中,这样可以有效提高访问速度。比如将常用的图 ...
打开project.pbxproj 手工删除了里面>>>head,===,<<<branch-name  

anchorPoint详解

http://ideveloper.co/understanding-the-anchor-point/       彻底理解position与anchorPoint http://wonderffee.github.io/blog/2013/10/13/understand-anchorpoint-and-position/     eg fjfxt_ii typhoon module
*/ UIKIT_EXTERN NSString *const NSFontAttributeName NS_AVAILABLE_IOS(6_0); // UIFont, default Helvetica(Neue) 12 UIKIT_EXTERN NSString *const NSParagraphStyleAttributeName NS_AVAILABLE_IOS(6_0); // NSParagraphStyle, default defaultParagraphStyle UIKIT_EXTERN NSString *const N ...
    如上图
        navBar.barTintColor = [UIColor blackColor];          navBar.tintColor = [UIColor blueColor];   IOS7 中barTintColor改变UINavigationBar导航条的颜色,tintColor改变左右按钮的字的颜色
-(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:
+(void)roundCorners:(UIRectCorner)corners forView:(UIView *)view { UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:view.bounds byRoundingCorners:corners cornerRadii:CGS ...
If Xcode complains when linking, e.g. Library not found for -lPods, it doesn't detect the implicit dependencies: Go to Product > Edit Scheme Click on Build Add the Pods static library, and make sure it's at the top of the list Clean and build again If that doesn't work, verify that the so ...
 Unrecognized selector is an exception, and you can set a breakpoint on exceptions. In Xcode 4, go to the breakpoint navigator, click the +, and choose "Add Exception Breakpoint". Under Exception, choose Objective-C. Under Break, choose On Throw. It should look like this when you're done ...
检查软件版本运行时提示丢失 msvcr100d.dll 安装vc++ 2010 redistribution,还是提示丢失这个dll文件,拷贝也无用 在网上查找后原来是 **********************************************************************************************  在VC里面找设置,Property->C/C++->Code Generation->Runtime Library   msvcr100d.dll,这个dll对应的是C++编译器的Code Generati ...
Use view.x = 15; view.width = 167; instead of CGRect
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; NSString *currentLanguage = [languages objectAtIndex:0];取得设置好的语言。。日语是ja,中文是zh_Hans 
Global site tag (gtag.js) - Google Analytics