原创 ios開發集成支付寶

1.官方的集成文檔:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.Esp29o&treeId=59&articleId=103563&docType=1

原创 選擇排序c語言實現

1.選擇排序思想  :掃描N次  ,從左到右去掃描,每次找出其中的最大(降序)和最小(升序)的元素,然後去交換位置 2.特點: 不會根據輸入序列而影響排序的交換和比較的次數         所以   時間複雜度O(N^2)     最好

原创 同一labeltext設置不同的屬性

NSMutableAttributedString *attributeString = [[NSMutableAttributedString alloc] initWithString:title];

原创 UIViewAnimationOption的枚舉

UIViewAnimationOptionLayoutSubviews //提交動畫的時候佈局子控件,表示子控件將和父控件一同動畫。 UIViewAnimationOptionAllowUserInteraction //動畫時允許用戶交

原创 oc運行時獲取類屬性列表

- (NSArray *)propertys { unsigned int count = 0; //獲取屬性的列表 objc_property_t *propertyList = class_copyPrope