@hmblebee Profile picture

Matt Reagan

@hmblebee

iOS / macOS engineer. Formerly: @Apple, @Twitch, @BigNerdRanch

Joined June 2012
Similar User
iOS Dev Articles photo

@CocoaDevBlogs

jesse squires photo

@jesse_squires

Krzysztof Zabłocki photo

@merowing_

Peter Steinberger photo

@steipete

NatashaTheRobot photo

@NatashaTheRobot

objc.io photo

@objcio

Matt Galloway photo

@mattjgalloway

Patrick Balestra photo

@BalestraPatrick

Ben Terhechte photo

@terhechte

Dave DeLong photo

@davedelong

Keith Smiley photo

@SmileyKeith

javi photo

@Javi

Ryan Nystrom photo

@_ryannystrom

@nicklockwood@mastodon.social photo

@nicklockwood

Benjamin Encz photo

@benjaminencz

Pinned

App design tip: Xcode 10 includes image data when copying XIB controls to the clipboard. This means you can easily copy/paste pixel-perfect  UI into your UX mockups.


Matt Reagan Reposted

French caretakers take sand from Omaha Beach in Normandy and scrub them into the letters to give them the brown/gold coloring. They do this for all 9,386 soldiers who died. France also gave us this land as American soil. Thank you veterans ❤️


Experiment in minimalist Swift, simple 3D world written in ~200 LOC, no 3D/gfx libraries, just some floats + cos/sin. Clearly feeling nostalgic for Spectre game that shipped on my '93  Performa. GitHub: github.com/matthewreagan/…


Wrote a Swift app to play with & visualize Fourier series. Swift is fun for little proof-of-concepts like this


If you just Airdropped a bunch of photos from iOS to your Mac and need to quickly convert them, you can use `sips` (which supports HEIC). Ex. one-liner (converts HEIC -> JPEG):

Tweet Image 1

Wrote a basic Perlin noise generator in Swift to experiment with procedurally generating organic textures in SpriteKit. (Fun to play with the math, vs. using GameplayKit.) gist.github.com/matthewreagan/… #Swift #gamedev #SpriteKit


New blog post on SpriteKit shaders and geometry deformations. Demo code & video: sound-of-silence.com/?article=20180… #gamedev #spritekit #ios #macos


Demo of a simple technique for breaking apart 2D nodes in #SpriteKit for shatter or explosion effects. Video + code: sound-of-silence.com/?article=20180… #Swift #gamedev


Xcode tip: delete the same text across multiple lines by option-click-dragging. You'll get the ? cursor, but it will still function as a selection tool. #Swift #Xcode


Experimenting with procedurally-generated terrain + water in #Swift for game prototype idea. (Belated #screenshotsaturday) #gamedev


Bash script to generate all 2^n-sized images from an input, for draft #macOS app icons or general resizing: github.com/matthewreagan/…


Enabled in production, but essentially a NOP without a custom environment variable switched on, allows QA/testers to catch


Friendly reminder: not all string comparison methods are equal. Be careful, especially with localized text. #Swift

Tweet Image 1

Working on a SpriteKit node for Dust's UI to display game time + weather #gamedev #screenshotsaturday Dev blog: sound-of-silence.com/?article=20170…


Matt Reagan Reposted

Testing out graph based jump arcs for platformers. It's not practical in games, but it's not great for prototyping either ¯\_(ツ)_/¯ #gamedev


Custom Xcode breakpoint sounds, available on GitHub + blost post on debugging with them: sound-of-silence.com/?article=20170…

Tweet Image 1

If you need to branch conditionally between Mac/iOS, avoid TARGET_OS_MAC, it's 1 even for iOS (table: @gparker)

Tweet Image 1

Matt Reagan Reposted

Recovered 10 GB by removing unavailable Xcode Simulators. Command: xcrun simctl delete unavailable


CALayer's linear minification filter can often look nearly identical to 'nearest'. If your layer is looking ugly, try kCAFilterTrilinear


Loading...

Something went wrong.


Something went wrong.