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

Swift

Lessons from Swift 1: strings, files, bundles

Covers String, FileManager, and Bundle, in Swift 3. Includes trimming space, inserting attributed text, file attributes.

January 16, 2017 Macs, Technology

Lessons from Swift 0: index and reasons

Index to a new series of articles containing useful Swift 3 code snippets, hints, and more. Aimed at those getting started with the language on macOS.

January 16, 2017 Macs, Technology

More fun scripting with Swift and Xcode: quirky commands

T T Read More

A command which is seriously pernickety about its parameters, and sends all its output to the standard error stream. Such fun.

January 13, 2017 Macs, Technology

If you’re still running El Capitan, Apple doesn’t care about you

T T Read More

Does Xcode 8 support El Capitan, or does Apple leave it to developers to break the bad news to users?

January 11, 2017 General, Macs, Technology

More fun scripting with Swift and Xcode: Swift Documentation Markup

T T Read More

I was surprised to discover that few books on Swift explain how to use its structured documentation system. No wonder we don’t document our code properly.

December 28, 2016 Macs, Technology

More fun scripting with Swift and Xcode: max factoring

T T Read More

It’s time to clean up my code and factor out functions for re-use. This turns out to be straightforward.

December 27, 2016 Macs, Technology

More fun scripting with Swift and Xcode: alerts and file save

T T Read More

Staple functions for scripts, it is vital that they are readily accessible from Swift if it is to be used for scripting.

December 23, 2016 Macs, Technology

More fun scripting with Swift and Xcode: cheating with AppleScript

T T Read More

How to run a shell command with root privileges from with Swift. The roundabout way.

December 22, 2016 Macs, Technology

Making a better app to check your Mac’s security systems

T T Read More

Porting a 3-line AppleScript hack to Swift 3 in Xcode is not hard. But there’s always a but…

December 13, 2016 Macs, Technology

Last Week on my Mac: More work needed

What more is needed if Swift is going to realise its promise as a scripting language for macOS?

December 11, 2016 Macs, Technology

Posts navigation

Previous 1 … 14 15 16 17 18 19 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,925 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...