A good friend and I are playing with the new #watchOS5 WalkieTalkie feature.
He decides we need call signs. You know, like truckers.
He calls me HotLips.
His sign is BubbleButt.
Pro Tip: if you add nicknames to contacts on iOS, it will use those names for those contacts everywhere.
I don't know anything about Captain Marvel but this trailer looks awesome and I cannot wait.
- a microSD card weighs somewhere around 0.4g
- the highest capacity microSD that's easily available is 256GB
- a trebuchet can throw a 90kg projectile over 300m
90kg worth of microSD cards is 225,000 of them
Therefore a trebuchet can throw 57.6PB of data over 300m
This would have the highest throughput of any telecommunications network ever created
Make sure to NOT invert image colors so users can use the iPhone X & it's OLED display with inverted colors & yet your images look normal. https://developer.apple.com/documentation/uikit/uiview/2865843-accessibilityignoresinvertcolors #ProTip
Tooting about development Show more
Just fixed a bug where I was displaying a very precise float for the # of seconds passed since a certain toot was posted (instead of rounding it as an Int)
This helped me figure out how to convert the created_at string into a Date object in Swift so I can write the relative time strings for Mastodon posts. Turns out the mastodon date strings include fractional seconds so you can't simply use the ISO8601DateFormatter- you need to set the correct formatOptions for it, which I've never done before. https://stackoverflow.com/questions/28016578/swift-how-to-create-a-date-time-stamp-and-format-as-iso-8601-rfc-3339-utc-tim #dev #SwiftLang
TIL https://developer.apple.com/documentation/uikit/uiscrollview/1619437-keyboarddismissmode exists. I've known it's sometimes possible in iOS to dismiss the keyboard when swiping down, & now I know there's an exposed API for it!
Arg! This has popped up dozens of times in the last few minutes! It’s getting worse! https://mastodon.social/media/aDqMuutScmwYj5lbJjQ
nerd rambling Show more
One of my goals with the iOS Mastodon client I'm working on *for fun* is to do my best to avoid Cocoapods & instead add code/frameworks to my project directly or write the code myself so long as I'm not reinventing the wheel.
nerd rambling Show more
I successfully manually added the SDWebImage code to my Xcode Project without using Cocoapods! 🎉 Just had to create the ObjC bridging header & add the line #import "UIImageView+WebCache.h"
. Then clone the SDWebImage repo, add the SDWebImage folder to my project, then comment out code in the FLAnimatedImage folder to avoid build errors, & I also added the ImageIO framework to the project, & lastly I added -ObjC to the Other Linker Flags in the Build Settings. It's almost too easy!
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!