Matt Gallagher

@cocoawithlove

Mac/iOS Swift programmer.

Melbourne, Australia
Joined December 2009

Tweets

@cocoawithlove is blocked

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @cocoawithlove.

  1. Specifying an execution context for callbacks and other functions in .

  2. A look at performance problems implementing a copy-on-write double-ended queue in .

  3. I've updated all articles on Cocoa with Love and projects on Github to Swift 3. Summary of the changes here:

  4. Values and errors, part 2: comparing a basic error handling example in Swift and 7 other languages.

  5. A look at `Result` types and their history of rejection from the standard library.

  6. Oh, I see why none of my code broke after updating to Xcode 8b5... it was saving itself for Xcode 8b6. 😰

  7. 1. MS Basic-80 2. Turbo Pascal 3. Hypertalk 4. IBM Linkway 5. LightspeedC 6. Think C++ 7. Perl 4

  8. Updated to the latest Xcode beta and... nothing broke? 🤔 Definitely need more test cases.

  9. Updated Dispatch code in latest article for Xcode 8 beta 4. The beta 3 version lasted 18 hours before needing update

  10. Thanks for fixing "parameters may not have the 'var' specifier" oddity. That one was driving me crazy.

  11. A look at common timer usage pitfalls, with solutions using the updated 3 Dispatch API.

  12. "Expression was too complex": looking at problems resolving function overloads in the compiler.

  13. func ssort(_ a:[Int])->[Int]{return a.enumerated().min{$0.1<$1.1}.map{m in [m.1]+ssort(a.enumerated().filter{$0.0 != m.0}.map{$0.1})} ?? []}

  14. Parsing whitespace in an Xcode extension (writing a pushdown automaton in `case` patterns).

  15. Started "Learn to Code" iPad Playground with my 4 y.o. – *loves* it. Prior exp. with Robot Turtles boardgame by helps

  16. New personal rule: no more impulsive article updates after midnight.

  17. I've retracted suggestion to use dispatch_semaphore_t. Rationale in section labelled "Update 2: Maybe not". Sorry for confusion.

  18. Replacing pthread_mutex_t with dispatch_semaphore_t yields 30% speed improvement. Article & code updated, thanks ,

  19. Mutexes and closure capture in : can you avoid heap allocation overhead with a scoped mutex?

  20. Matt Gallagher followed , , and 5 others
    • @smileyborg

       UIKit · ᴘʀᴇᴠ Intuit, Carnegie Mellon

    • @slava_pestov

      Swift compiler hacker at Apple

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·