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

Xcode

Beyond Scripting in Swift: Preferences with and without UserDefaults

How much more difficult is it to write your own code to handle user preferences, rather than letting UserDefaults handle them?

August 7, 2017 Macs, Technology

More Fun Scripting with Swift in Xcode: String search

Which String.contains() variant should you use, and how can you give access to regex searching? More answers coded in Swift 3.1.

August 4, 2017 Macs, Technology

Beyond Scripting in Swift: A preference sheet

T T Read More

Creating a drop-down sheet to let the user change preference settings is a bit intricate, but straightforward.

July 26, 2017 Macs, Technology

Scripting in Swift: Scriptarian, take 1.2.1

In some respects at least as good as any other Swift playground product, and its AppleScript support has improved considerably. But in other respects still falls short. In a class of one.

July 19, 2017 Macs, Technology

Completing and using a Swift Scrapbook in Tinderbox

T T Read More

The code scrapbook is finished, and has now produced its first set of articles. Five articles in around ten minutes seems pretty impressive to me.

June 29, 2017 General, Macs, Technology

Swift Snippets 5: Bundles, Process, Background activity, Shell commands

Calling shell commands, including with privileges, NSBackgroundActivity, XPC Activity, and writing shell commands in Swift.

June 28, 2017 Macs, Technology

Swift Snippets 4: Numbers, Dates, Unified log, Objective-C

Dates with (NS)Date and DateFormatter, writing messages to Sierra’s unified log, and working with old Objective-C interfaces.

June 28, 2017 Macs, Technology

Swift Snippets 3: Preference Files, Property Lists, JSON

Reading and writing preference files, storing data in property list files, and reading JSON data.

June 28, 2017 Macs, Technology

Swift Snippets 2: Interface, NSDocument, Files

Alerts, open and save file, text boxes, radio buttons, popup menus, steppers, read and write in NSDocuments, and much more.

June 28, 2017 Macs, Technology

Swift Snippets 1: Strings, Attributed Text, Arrays

Swift 3.1 code snippets for string manipulation, working with attributes in attributed text, and with arrays.

June 28, 2017 Macs, Technology

Posts navigation

Previous 1 … 10 11 12 13 14 … 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, Disclipper, 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,933 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...