Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art

scripting

Scripting in Swift: Key characters, or what character can’t be key

A hard to spot runtime error results if you try to embed the key < in a dictionary. But when converting plain text for embedding in XML, that's one character you need to substitute.

January 11, 2018 Macs, Technology

Scripting in Swift: Casting, Any, and implicit mutability

When to use as, as!, or as?, how to handle Any, and when you need to use var instead of let even though you don’t change the value.

January 1, 2018 Macs, Technology

Last Year on My Mac: Accident-prone

2017 was never going to be easy, and Apple had a lot of accidents over its closing months. It delivered a lot of new products, and with them a lot of new problems.

December 31, 2017 Macs, Technology

A new Xcode project for scripting in Swift 4.0: ScriptBase

A starter Xcode 9.2 project to form a base for quick, scripting-style apps. Free of all copyright, free to use. Runs on El Capitan, Sierra, and High Sierra.

December 23, 2017 Macs, Technology

Beyond Scripting in Swift: Sharing and syncing data throughout an app

Maintaining a menu gathered across all the open documents could be tricky. Here’s a simple solution using UserDefaults and NotificationCenter.

November 13, 2017 Macs, Technology

Beyond Scripting with Swift: Bar charts and ToolTips

Drawing in a graphics view shouldn’t be as hard as it seems. And how making custom ToolTips is simple, when you know how.

October 23, 2017 Macs, Technology

Java and macOS: what you should know

Java, JavaScript, whichever – do you need them, whose version should you install, and how do you look after them?

October 20, 2017 Macs, Technology

More Scripting in Swift: Looking it up in a dictionary

T T Read More

Dictionaries are valuable, perhaps vital for working with property lists, but seldom as flat as examples suggest. Here are some nested examples in real code.

October 18, 2017 Macs, Technology

More Scripting in Swift: Shuffling files and writing a property list

Using Swift 4 for a classic scripting task: copying and restructuring files and folders, here to create a logarchive bundle.

October 5, 2017 Macs, Technology

Code signing: confusing and weak?

How my apps were correctly signed, but using the wrong certificate. They passed all tests here, but would not come out of quarantine normally on other systems.

September 30, 2017 Macs, Technology

Posts navigation

Previous 1 … 5 6 7 8 9 … 15 Next
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,893 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...