V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
wezzard
V2EX  ›  iDev

開源自己一個平時使用的代碼庫, Swift Extended Library

  •  1
     
  •   wezzard · 2015-03-04 21:11:37 +08:00 · 2106 次点击
    这是一个创建于 3357 天前的主题,其中的信息可能已经有所发展或是发生改变。

    開源自己使用的一個代碼庫 Swift Extended Library:
    https://github.com/WeZZard/Swift-Extended-Library

    比較有趣的幾個函數:
    1. diff(): 用來考察兩個 SequenceType 之間的差異
    2. enumerate(): 用來遍歷所有 RawOptionSetType conformed type 的可能值

    野心很大,想做 Cocoa/Cocoa Touch 的 native Swift alternative,不過目前剛寫了一些 Swift 下的 conveniences.

    忘了說,這是 Swift 1.2 的代碼……

    2 条回复    2015-03-05 21:45:55 +08:00
    tony1016
        1
    tony1016  
       2015-03-05 09:41:57 +08:00
    目前看到最强大的,最有野心的是这个 https://github.com/practicalswift/Pythonic.swift 完全想把swift写成python
    skyline75489
        2
    skyline75489  
       2015-03-05 21:45:55 +08:00
    @tony1016 +1,而且代码质量还很高
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1039 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:16 · PVG 03:16 · LAX 12:16 · JFK 15:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.