随笔分类 -  05Objective-C

该文被密码保护。
posted @ 2017-04-09 11:57 阳芳 阅读(6) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-04-06 16:58 阳芳 阅读(3) 评论(0) 推荐(0)
摘要:一. 冒泡排序算法 1.第一次排序时将序列[0 ~ n - 1]中从前往后进行两个相邻元素的比较,若前者较大则交换,比较n-1次;当第一趟排序结束时,序列最大的元素就被交换到位置n-1上,就如同一个气泡,一步一步往后翻滚,直到最后一位。 2.重复步骤1,在第i趟时需要翻滚n-i-1次,每趟决定一个元 阅读全文
posted @ 2017-04-05 18:54 阳芳 阅读(202) 评论(0) 推荐(0)
摘要:I. 用户在搜索框中,输入关键字进行检索时,APP对搜索结果进行显示,有以下两种情况: 1. 匹配一次,如检索关键字为人名 这种情况,实现比较容易。写一个UILabel的category, 用rangeOfString这个方法找到需要高亮的range, 最后设置attributedString便搞定 阅读全文
posted @ 2017-03-29 18:01 阳芳 阅读(1025) 评论(0) 推荐(0)
摘要:总共分三步:1. 将Crashlytics.framework和Fabric.framework拷贝到工程中;2.配置工程的info.plist文件,如下:APIKey和Build secret如何查看到?https://www.fabric.io/settings/organizations ->... 阅读全文
posted @ 2015-11-10 11:07 阳芳 阅读(541) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-09-07 16:34 阳芳 阅读(28) 评论(0) 推荐(0)
摘要:S1 Communication Layer specifications S1 Communication Layer specifications 1. Purpose of This Document 4 2. General abbreviations & habits 4 2.1 Gene 阅读全文
posted @ 2015-07-03 11:53 阳芳 阅读(896) 评论(0) 推荐(0)
摘要:一、 Lightweight Migrationi. 适合场景Simple addition of a new attributeRemoval of an attributeA non-optional attribute becoming optionalAn optional attribut... 阅读全文
posted @ 2015-06-25 12:27 阳芳 阅读(173) 评论(0) 推荐(0)
摘要:在此链接下https://github.com/feuvan/opencore-amr-iOS 下载它的源码到本地, 然后cd到此目录下,在终端输入命令./build_ios_xcode6.sh,便可。很奇怪的是,为什么一定要用./build_ios_xcode6.sh,而不能build_ios_x... 阅读全文
posted @ 2014-12-30 17:31 阳芳 阅读(415) 评论(0) 推荐(0)
摘要:1. 将证书的private key导出一个.p12的文件给其他组员 2. teammember双击此.p12的文件,则安装到了他的keychain中。如果导出.p12文件时设置了密码,此时则需要输入密码验证一下 3. 从apple developer网站下载所需要的provisioning pro 阅读全文
posted @ 2014-11-13 12:07 阳芳 阅读(143) 评论(0) 推荐(0)
摘要:1. 引入头,#import 2. 获取SSID info+ (id)fetchSSIDInfo{ NSArray *ifs = (__bridge id)CNCopySupportedInterfaces(); NSLog(@"%s: Supported interfaces: %@", __... 阅读全文
posted @ 2014-11-11 09:24 阳芳 阅读(505) 评论(0) 推荐(0)
摘要:link:http://stackoverflow.com/questions/19533933/nsdateformatter-how-to-convert-wed-23-oct-2013-045615-gmt-to-local-time 阅读全文
posted @ 2014-10-16 12:22 阳芳 阅读(129) 评论(0) 推荐(0)
摘要:1、帮助文档参考:https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ProvisioningDevelopment.ht... 阅读全文
posted @ 2014-09-10 16:37 阳芳 阅读(785) 评论(0) 推荐(0)
摘要:1. The server just support POST&PUT method2. It is a Python server, and save upload files in special folder3. How to do it, it is apple example code, ... 阅读全文
posted @ 2014-08-16 16:59 阳芳 阅读(128) 评论(0) 推荐(0)