Nick Lockwood

@nicklockwood

Swift & Obj-C . Author of iOS Core Animation: Advanced Techniques, iCarousel, SwiftFormat, etc. Partly to blame for React Native. Sorry. He/Him.

London, UK
Vrijeme pridruživanja: ožujak 2009.

Tweetovi

Blokirali ste korisnika/cu @nicklockwood

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @nicklockwood

  1. Prikvačeni tweet
    18. kol 2016.

    The hardest problem in computer science is fighting the urge to solve a different, more interesting problem than the one at hand.

    Poništi
  2. proslijedio/la je Tweet
    prije 15 sati

    Tfw when you can't be poet laureate because you are in fact two lesbians in a trenchcoat.

    Prikaži ovu nit
    Poništi
  3. proslijedio/la je Tweet
    prije 19 sati
    Poništi
  4. proslijedio/la je Tweet
    31. sij

    🥶 Cool Take When we lost visual richness in software, we lost a requirement to think about design with regards to how it looks. Everyone loved to parrot Steve Jobs’ famous quote “Design is how it works,” but what he said was much more nuanced. ⤵️

    Prikaži ovu nit
    Poništi
  5. proslijedio/la je Tweet
    3. velj

    Doom 3 had the best pinky. I'll die on this hill.

    Poništi
  6. proslijedio/la je Tweet
    2. velj

    Someone showed me this 89° angle last night, and if my brain had to suffer from looking at this picture then so does yours

    The angle. It is almost perfect and my brain can tell it just looks slightly wrong
    Prikaži ovu nit
    Poništi
  7. proslijedio/la je Tweet
    2. velj

    Improbawall by 3D Designer Matt Taylor

    Poništi
  8. proslijedio/la je Tweet
    3. velj

    The syntax of programming language is still a big barrier for adoption. I propose a solution I’ve never seen before:

    Poništi
  9. proslijedio/la je Tweet
    1. velj

    Retro Rampage part 13 is now available: Retro Rampage is a tutorial series that teaches you how to write a Wolfenstein 3D-like shooter from scratch in Swift using only the standard library (and a little bit of UIKit). Part 13 is all about sound effects.

    Poništi
  10. 2. velj

    This is the set, in case you're wondering: Look how happy that dad looks, playing with his toy (while his kids are locked in the basement, presumably).

    Prikaži ovu nit
    Poništi
  11. 2. velj

    Kids do not understand the concept of "Daddy's Lego"

    Prikaži ovu nit
    Poništi
  12. proslijedio/la je Tweet
    2. velj

    People talk about writing 80s games as if it were all about big pixels and few colors, but it was also about: * Having no *multiplication*. You could emulate this, but just a handful per frame in a 60Hz game

    Prikaži ovu nit
    Poništi
  13. proslijedio/la je Tweet
    31. sij

    every programming language is bad and my favorite one is the one where I'm most familiar with the ways it is bad

    Poništi
  14. proslijedio/la je Tweet
    1. velj

    c=circfill::_::cls(9)q=rnd c(64,64,30,7)srand()for i=0,70 do x=flr(q(148)-t()*(8+q(8)))%148-10y=32+q(64)r=5+q(5)for j=0,1 do c(x+.5+j*(x-64)/30,y+j,r,15-j*11)end end for i=0,999 do x=(i-t()*8)%128y=q(128)u=x*.5+32v=y*.5+32 if(pget(u,v)==7)line(x,y,u,v,7) end flip()goto _

    Poništi
  15. 1. velj

    Retro Rampage part 13 is now available: Retro Rampage is a tutorial series that teaches you how to write a Wolfenstein 3D-like shooter from scratch in Swift using only the standard library (and a little bit of UIKit). Part 13 is all about sound effects.

    Poništi
  16. proslijedio/la je Tweet
    31. sij

    Swift Talk 188: Retro Rampage — Line Drawing 🖍 This week, helps transform our game view into a first-person perspective. To determine the player's field of view, we implement a line drawing algorithm to visualize the direction they face.

    Poništi
  17. 31. sij

    "Here lies Nicholas Lockwood. He never finished anyth"

    Prikaži ovu nit
    Poništi
  18. 31. sij

    In case it wasn't clear, this tweet is autobiographical

    Prikaži ovu nit
    Poništi
  19. proslijedio/la je Tweet
    29. sij

    has an in-game setting for how much "pixelation" you would like the game to have - if you want that truly retro look, or need better performance on mobile, you can take it pretty far!😄 (the CA can also be turned on or off😀 )

    Poništi
  20. proslijedio/la je Tweet
    31. sij
    Odgovor korisnicima

    I’d add that if nil and empty have different meanings for your case, it’s clearer in intent to create a dedicated enum with clear semantic. Typical example: enum LoadingState<T> { case notLoaded case loaded(T) } var books: LoadingState<[Book]>

    Poništi
  21. proslijedio/la je Tweet
    31. sij

    💡 : Avoiding Degenerate Optional Values Avoid designing your code with `Optional` collections and booleans. Otherwise, you will run into a degenerate case, where it is unclear what does "nothing" mean. Is it an empty array or `nil` array; is it `false` or `nil`?

    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·