タグ

ブックマーク / nshipster.com (10)

  • iOS 12

    Written by Mattt September 17th, 2018 This article has been translated into: español , français , 한국어 , and 中文 If you tuned in to this year’s WWDC Keynote, you’ll know all about the big features in iOS 12: Siri Shortcuts, ARKit 2, and Core ML 2 — not to mentioned the bombshell pre-announcement of the long-rumored iOS / Mac bridge, codenamed “Marzipan”. And if you watched this year’s Platforms Stat

    iOS 12
    tokorom
    tokorom 2018/10/05
  • guard & defer

    Written by Nate Cook & Mattt August 1st, 2018 (revised) This article has been translated into: español , français , and 中文 “We should do (as wise programmers aware of our limitations) our utmost best to … make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible.” —Edsger W. Dijkstra, “Go To Considered Harmful” It’s a shame t

    guard & defer
    tokorom
    tokorom 2015/10/07
  • NSError

    Written by Mattt October 14th, 2013 This article has been translated into: 中文 To err is human. To NSError is Cocoa. All programs on a Unix system are a child process of another process, forking all the way from the original process, the unmoved mover: pid 1 (which in the case of OS X is launchd). When the executable finishes, it communicates a status code between 0 and 255 to its parent, as a way

    NSError
    tokorom
    tokorom 2014/12/07
    NSError
  • PHImageManager

    Yesterday’s article described various techniques for resizing images using APIs from the UIKit, Core Graphics, Core Image, and Image I/O frameworks. However, that article failed to mention some rather extraordinary functionality baked into the new Photos framework which takes care of all of this for you. For anyone developing apps that manage photos or videos, meet your new best friend: PHImageMan

    PHImageManager
    tokorom
    tokorom 2014/09/17
    PHImageManager
  • Swift Literals

    Written by Mattt August 22nd, 2018 (revised) This article has been translated into: 한국어 In 1911, linguist Franz Boas observed that speakers of Eskimo–Aleut languages used different words to distinguish falling snowflakes from snow on the ground. By comparison, English speakers typically refer to both as “snow,” but create a similar distinction between raindrops and puddles. Over time, this simple

    Swift Literals
    tokorom
    tokorom 2014/08/19
    めも
  • Swift Operators

    Written by Mattt October 3rd, 2018 (revised) This article has been translated into: 中文 What would a program be without operators? A mishmash of classes, namespaces, conditionals, loops, and namespaces signifying nothing. Operators are what do the work of a program. They are the very execution of an executable; the teleological driver of every process. Operators are a topic of great importance for

    Swift Operators
    tokorom
    tokorom 2014/08/12
    めも
  • iOS 8

    Written by Mattt June 9th, 2014 This article has been translated into: 中文 Ask anyone, and they’ll tell you: WWDC 2014 was one of the most exciting in recent memory. It was, first and foremost, a developer event, with nary a hardware announcement to upstage the latest software & developer tools. And boy howdy, was there a lot to be excited about. The announcements from iOS 8 & OS X Yosemite alone w

    iOS 8
    tokorom
    tokorom 2014/06/11
    めも
  • CocoaPods

    Written by Mattt May 26th, 2014 This article has been translated into: 中文 Civilization is built on infrastructure: roads, bridges, canals, sewers, pipes, wires, fiber. When well thought-out and implemented, infrastructure is a multiplying force that drives growth and development. But when such formative structures are absent or ad hoc, it feels as if progress is made in spite of the situation. It

    CocoaPods
    tokorom
    tokorom 2014/05/27
    めも
  • Benchmarking

    Written by Mattt May 19th, 2014 This article has been translated into: 中文 Abstractions are necessary for doing meaningful work, but they come at a cost. To work at a high level is to turn a blind eye to nonessential details in order to reason with larger logical chunks. Determining what information is important within a particular context, however, is challenging, and is at the heart of performanc

    Benchmarking
    tokorom
    tokorom 2014/05/21
    bemchmarking
  • iOS 7

    Written by Mattt September 23rd, 2013 This article has been translated into: 中文 With the NDA finally lifted, we can finally talk about all of the amazing new APIs in iOS 7. And there are a lot of them. “1500 new APIs”, by Apple’s count during the WWDC Keynote. (Granted, a good portion of that could just be all of the changes from id to instancetype, but that’s a huge number, regardless). We’ll be

    iOS 7
    tokorom
    tokorom 2013/09/24
    iOS 7で地味に嬉しいAPIがいろいろ加わっている。。。
  • 1