Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Is it time for Swift?

Is it time for Swift?

Ben Sandofsky

January 14, 2016
Tweet

Other Decks in Programming

Transcript

  1. that makes code faster and safer an exciting new runtime

    from Apple with strong developer momentum Today We’re Talking About
  2. "Most of the code has been rewritten over the past

    three years, but some core parts of it were still holding strong," explains Lambert. "But we would have built a different app if we’d started over." http://www.fastcompany.com/3050266/tech-forecast/lyft-goes-swift-how-and-why-it- rewrote-its-app-from-scratch-in-apples-new-lang
  3. hashOut.data = hashes + SSL_MD5_DIGEST_LEN; hashOut.length = SSL_SHA1_DIGEST_LEN; if ((err

    = SSLFreeBuffer(&hashCtx)) != 0) goto fail; if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) goto fail; goto fail; if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0) goto fail;
  4. @implementation NSString (Helper) - (BOOL)containsString:(NSString *) string { NSRange range

    = [self rangeOfString:string options:NSCaseInsensitiveSearch]; return range.location != NSNotFound; } @end