November 15, 2024

Month: January 2019

MacOS Mojave 10.14.4 enables auto-dark mode on web sites with black themes

“Safari on the macOS Mojave 10.14.4 beta, which was released last week, permits websites to automatically adapt their styling to complement Mojave’s dramatic new Dark Mode,” Christian Zibreg reports for iDownload Blog.

“Apple in October put out Safari Technology Preview 68 with support for the prefers-color-scheme media query for styling dark mode content,” Zibreg reports. “This experimental feature’s now made its way into the Safari browser that ships in the macOS Mojave 10.14.4 developer beta.”

“When macOS Mojave 10.14.4 releases, turning on Mojave’s Dark Mode in System Preferences will now change the styling on websites you visit accordingly. This will, of course, require web developers to implement black themes and adopt the new media query,” Zibreg reports. “If you have the macOS Mojave 10.14.4 beta installed, you can try this out yourself by visiting Kevin Chain’s example webpage, then switch between Light and Dark mode in System Preferences to see the website automatically apply an appropriate theme.”  Websites that support dark themes still appear white in the current macOS Mojave 10.14.3, but on MacOS Mojave 10.14.4 they automatically adapt to OS appearance.

Read more in the full article here.

January 28th, 1986 – A day we will ALL remember

It was January 28th, 1986, and I was still in high school.  The teacher got a call and when she got off the phone, she called for everyone's attention.  While her voice crackled, she announced that the Space Shuttle Challenger, with the first teacher on board, blew up on its way to space.

STS-51-L was supposed to be a new era in space, by allowing a teacher to climb aboard and actually give a lesson in space. But it turned out to be far from that.

I'll never forget that day - a day we should never forget.

Swift: How to make a UIAlertController

All apps have to interact with a user at one time or another.  Ever since Swift 3, app developers must use the UIAlertController to accomplish this.  Here's an example of one that I use in my apps:

let title = “Pop-up Message Example”

let message = “This is an example of a pop-up message in Swift.”

let button = "Close"

let alert = UIAlertController(title: title, message: message, preferredStyle: UIAlertController.Style.alert)

alert.addAction(UIAlertAction(title: button, style: UIAlertAction.Style.default, handler: {(action:UIAlertAction!) in

}))

self.present(alert, animated: true, completion: nil)

}

When I make an UIAlertController, I like to organize it so I can quickly look at a block of code.  This example will show a pop-up window with the title "Pop-up Message Example" and then show a message under it.

For more information about UIAlertController, click here.

Do you have questions?  Please ask them below.

Google luers senior MacOS Engineer away to Assist in Development of Fuchsia OS

“We learned in 2016 that Google was working on an entirely new operating system called Fuchsia. Development continues with new features and testing on a variety of form factors spotted regularly,” Abner Li reports for 9to5Google. “Google has since hired 14-year Apple engineer Bill Stevenson to work on its upcoming OS, and help bring it to market.”

“Stevenson started at Apple in 2004 as a Product Release Engineer for OS X,” Li reports. “In this role, he ‘triaged and diagnosed’ application and framework issues, while also working with third-party developers.”

“Since 2012, Stevenson has been a Senior Manager for Mac/Windows Program Management,” Li reports. “He has had a hand in every major release from Lion right up to Mojave last year; leading teams responsible for build, release, and technical program management.”

Read more in the full article here.

You may have Missed:

Verified by MonsterInsights