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
clockwerk
V2EX  ›  iDev

写程序时有没有过突然发现某某方法非常爽的用法

  •  
  •   clockwerk · Apr 8, 2015 · 4340 views
    This topic created in 4228 days ago, the information mentioned may be changed or developed.

    写着写着 或者看着别人的代码,突然发现了一些非常爽的方法,那感觉,只可意会,不可言传啊,当时开发ios的时候,后来发现block用法的适合,整个人都不好嘞,和发现新大陆似的,哈哈哈哈,
    又如今天我发现了reveal这玩意,简直是code手搓党的福音

    12 replies  •  2015-04-08 14:04:26 +08:00
    limbo0
    limbo0
    Apr 8, 2015
    1
    vim下发现某个非常适合的插件
    Septembers
    Septembers
    Apr 8, 2015 via Android
    2
    换一种思路想问题(天天被骂思路不够丰富 唉
    就比如这个 /t/182248 问题 就变成“Integer用二进制需要如何表达”了 再进一步就能理解

    你比如你这个问题当换一种思路原来方法有什么问题
    该从哪里入手 该肿么办 还存在什么可能 等等

    (用Google时切勿使用中文搜索
    xiaoyaoking
    xiaoyaoking
    Apr 8, 2015
    3
    偶尔写出一个函数会有一种,我k 这么牛B 的算法,太强悍的自信爆棚的感觉。
    Elethom
    Elethom
    Apr 8, 2015 via iPhone
    4
    OC 的奇技淫巧(包括繼承自 C 的)多著呢,換到 Swift 好多都不能用了不開心。
    sammo
    sammo
    Apr 8, 2015❤️1
    5
    代码布局约束,以 Masonry 库
    jsq2627
    jsq2627
    PRO
    Apr 8, 2015
    6
    C# 的 LINQ。Java 就没,哼 <( ̄︶ ̄)>
    icedx
    icedx
    Apr 8, 2015
    7
    a='12345'
    a=a[::-1]
    print a
    >>'54321'
    north521
    north521
    Apr 8, 2015
    8
    google的guava
    quix
    quix
    Apr 8, 2015
    9
    css 也算的话:

    ```
    .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
    .clearfix:after { clear: both; }
    .clearfix { zoom: 1; }

    ```
    sethverlo
    sethverlo
    Apr 8, 2015
    10
    ruby 的 foo.map(&:bar) 谁用谁知道……
    clockwerk
    clockwerk
    OP
    Apr 8, 2015
    11
    @sammo 这个吊 当时用的就是
    clockwerk
    clockwerk
    OP
    Apr 8, 2015
    12
    @icedx 这个溜
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1383 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 76ms · UTC 20:18 · PVG 04:18 · LAX 12:18 · JFK 15:18
    ♥ Do have faith in what you're doing.