∞ Apple Publishes New Webpages Explaining the Benefits of the App Store and the Company’s Developer Program
The more PR effort Apple puts into this, the worse their image is. Wake up.
SwiftUI: How To Draw Borders With Rounded Rectangles
In SwiftUI, it’s easy to find out there is a .border
modifier, and a .cornerRadius
modifier. However, those tools can’t create borders with rounded corners. Instead, you can use the .overlay
modifier with a RoundedRectangle
shape:
Text("DA Tips")
.padding()
.overlay(
RoundedRectangle(cornerRadius: 16)
.stroke(Color.pink, lineWidth: 2)
)
Swift: How To Count Occurrences of a Character in a Swift String
To count occurrences of a character in a Swift String, you can use Sequence.filter
and then Array.count
:
"Mango Snippets".filter({ $0 == "n"}).count
Output:
2
DA CamCal is Now FREE
To give more people the choice, DA CamCal is now FREE with ads by default. You can still pay a one time fee to remove them. Don't worry if you have previously purchased the app (thank you!), you won't see ads.
Happy photographing no matter where you are.
-- Dolee ^_^
∞ GitHub is Now Free for Teams
We’re happy to announce we’re making private repositories with unlimited collaborators available to all GitHub accounts. All of the core GitHub features are now free for everyone. 🎉
Microsoft has risen again.
Official trailer for The Half of It, from writer/director Alice Wu:
Shy, straight-A student Ellie is hired by sweet but inarticulate jock Paul, who needs help winning over a popular girl. But their new and unlikely friendship gets complicated when Ellie discovers she has feelings for the same girl.
😍 I can't wait for this.
∞ Othering the Virus
In the West, perception of the virus as a threat came only very late. Terrifying news from China was available since late January: High death rates, permanent damage from the disease, people dying in their homes or in the street in front of overloaded hospitals, entire families dying. But far into February, western observers did not see an urgent need to act.
This is a good read, from Marius Meinhof, a sociologist at the University of Bielefeld in Germany.
Most of the “Face with Medical Mask” emojis should be redesigned. The face should be completely neutral, even just closing eyes is not neutral.
Google Maps Ditched the Hamburger Menu
Everyone else focused on the icon update, but I’d really like to zoom in with the removal of hamburger menu in Google Maps for iOS:
Screenshot of Google Maps for iOS
The hamburger menu now is just a placer holder with no functions, and I expect it to be removed in a future update. And they also moved more features to the bottom tab bar. What a welcome change. It certainly feels more homey on iOS. Therefore, I forgive the new icon 😜
Hanabira工房 Makes Crazy Detailed Miniature Houses
Check out Hanabira工房's YouTube Channel, every single one of their videos is a treasure.