Skip to content

Instantly share code, notes, and snippets.

View igiu1988's full-sized avatar
🐈
Rise

Wang Yang igiu1988

🐈
Rise
View GitHub Profile
//
// KBCollectionExtensions.h
//
// Created by Guy English on 25/02/08.
// Copyright 2008 Kickingbear. All rights reserved.
//
#import <Cocoa/Cocoa.h>
/*
def bubbleSort(list):
issorted = False
for i in range(0,len(list)):
issorted = True
# 在这一趟的比较中,如果发现这一趟的数列已经成有序状态,那就不用排了,并且是整个数列也都算排完了
for j in range(0, len(list) - i - 1):
if list[j] > list[j+1]:
temp = list[j]
// controller.m 调用下载接口.类方法
[YJDownloadManager goTodownload];
// YJDownloadManager.m
+ (void)goTodownload
{
// code .....
[[TCBlobDownloadManager sharedInstance] setMaxConcurrentDownloads:1];
for (NSString *urlKey in urlDic.allKeys) {