@ctietze@mastodon.social
@ctietze@mastodon.social avatar

ctietze

@ctietze@mastodon.social

Developer of indie macOS apps. The Archive, WordCounter, TableFlip, Move!

Using #Xcode to write #Swift and sometimes #SwiftUI apps for #iOS and #Mac.

OG #Zettelkasten zealot.
Local #urbansketchers group founder.

#Bielefeld (Germany)

─────────────
#fedi22

This profile is from a federated server and may be incomplete. Browse more on the original instance.

podfeet, to random
@podfeet@chaos.social avatar

@ctietze TableFlip Looks like a fun app that solves a real problem (learned about it with your conversation with @tantramar just now). Question from testing - my table headings look centered, but the Markdown on export is not. And the option to center text is greyed out when on the column headings. Expected behavior?

ctietze,
@ctietze@mastodon.social avatar

@podfeet I'm not at my desk a.t.m., can you share a picture so I can look on Monday?

etenil, to physics
@etenil@emacs.ch avatar

I've never done so much and during this since university! Programming a game is a lot of maths!

ctietze,
@ctietze@mastodon.social avatar

@etenil oh man I wish I could make time to participate, sounds cool

daniel, to random
@daniel@social.telemetrydeck.com avatar

Good morning Fediverse

ctietze,
@ctietze@mastodon.social avatar

@daniel GOOD MORNING!

denis, to blogging
@denis@ruby.social avatar
ctietze,
@ctietze@mastodon.social avatar

@denis wow there's a lot going on!

The job situation sounds awful. What a shitshow to put people (you) into a situation where they have to resolve a contradiction put up by HR/management/... over a scarce resource!

Wish I were rich by now to pay for a project or two that would need to be made, but alas, no riches to be had :(

SebastianLeist, to Canon German
@SebastianLeist@mastodon.social avatar
ctietze,
@ctietze@mastodon.social avatar

@SebastianLeist Was ist die Lizenz deiner Bilder?

Ich programmiere in der Programmiersprache "Swift" und schreibe auf meinem Blog darüber. Wenn das eine Creative Commons Lizenz ist, würde ich die gern weiter teilen

bleuje, to random French
@bleuje@mastodon.social avatar
ctietze,
@ctietze@mastodon.social avatar

@bleuje cool. is this like a cellular automaton, but with spaghetti?

finestructure, to random
@finestructure@mastodon.social avatar

Right then. Off to the hardware store to buy some pizza toppings.

ctietze,
@ctietze@mastodon.social avatar

@finestructure @icanzilb maaaaaaan, you nerds and your in-joked!

skybert, to running
@skybert@emacs.ch avatar

A thing I like about trail running is the camaraderie with bikers. I just met a biker going downhill, so I jumped out of the track. Even though he was in a challenging spot, he managed to say "thank you" (which in Norwegian is four words, so it takes longer).

Wish everyone a happy weekend on or off roads!

#trailrunning #running #forest #norway

Trail in the forest

ctietze,
@ctietze@mastodon.social avatar

@skybert the first pic almost eerily looks just like your avatar at first glance

mergesort, to random
@mergesort@macaw.social avatar

Can't believe I have to fight app review to approve a TestFlight for my wedding app. 🤦🏻‍♂️

ctietze,
@ctietze@mastodon.social avatar

@mergesort what do you mean, 'reasons'?

(The experience sucks, but still sounds exciting with wedding and all 👍)

tantramar, to random
@tantramar@nojack.easydns.ca avatar

I love working in Markdown when writing HTML. When appropriate, I love using tables (for tabular data). On macOS, I love using TableFlip. #IndieMacApps https://tableflipapp.com

ctietze,
@ctietze@mastodon.social avatar

@tantramar Thank you for the shout-out!

What is your typical workflow, and where does TableFlip kick in the most?

ctietze, to random
@ctietze@mastodon.social avatar

Against the Proliferation of Sofa Ownership and Use - YouTube https://www.youtube.com/watch?v=voSgQHmxATE

Can't disagree.

ctietze, to random
@ctietze@mastodon.social avatar

@simonbs I'm looking to learn how other text editor devs deal with transformations like wrapping the selection in something complicated.

I couldn't find anything like that in the Runestone source. Did I look in the wrong place? 🤔

For context, I'm extracting a declarative API at the moment to express text transformations like "make each selected line a Markdown list item" or "wrap selection in code block":

https://github.com/CleanCocoa/DeclarativeTextKit

Could you need something like that at all?

daviwil, to gamedev
@daviwil@fosstodon.org avatar

This voxel displacement technique for "modern retro" rendering looks so incredible, really inspiring:

https://blog.danielschroeder.me/2024/05/voxel-displacement-modernizing-retro-3d/

#gamedev #graphics

ctietze,
@ctietze@mastodon.social avatar

@daviwil Cool! That is such a great combination of technologies

ctietze, to SwiftUI
@ctietze@mastodon.social avatar

Does "flexibleSpace" in for macOS not work correctly?

Anything besides a Spacer() that's required in the item?

ctietze,
@ctietze@mastodon.social avatar

@jsq Geez dang :(

ctietze,
@ctietze@mastodon.social avatar

@lvalenta @jsq That, they designed cleverly. We all Stockholm-Syndrom-ify ourselves into guilt. Can't be the framework is missing something,right? :)

ctietze,
@ctietze@mastodon.social avatar

@Cykelero @stroughtonsmith So that's the culprit!

Ugh, of course we only get .inline and .inlineLarge, probably equivalent to .unified and .unifiedCompact, and need to resort to AppKit fiddling.

Starting with Windows in AppKit are still the best approach anyway. SwiftUI as the main app's driver is usually a disappointment.

ctietze, to random
@ctietze@mastodon.social avatar

For the record:

This took a whole day to think through, experiment with, and get to work.

  1. Undo grouping. The outermost block makes this whole thing 1 transaction.

  2. Enable Modifying(range) as a generic block-based wrapper around any potentially undoable commands in the first place,

  3. including other Modifying blocks, which was a bit of a challenge,

  4. while at the "leaves" still only allow either multiple Inserts or Deletes but not both at the same time.

Oof!

ctietze,
@ctietze@mastodon.social avatar

I'm relying a lot on _disfavoredOverload annotations to help the compiler figure out which of two similar-looking blocks to use without having to specify this at the call site.

It's a game-changer for this kind of API.

image/png

ctietze,
@ctietze@mastodon.social avatar

@compositorapp Thank you

daviwil, to scheme
@daviwil@fosstodon.org avatar

Lambda Dungeon is starting to look pretty good!

ctietze,
@ctietze@mastodon.social avatar

@daviwil indeed! The idea is also really cool

rafa, to SwiftUI
@rafa@mastodon.design avatar

My Safari window 10 minutes into development

ctietze,
@ctietze@mastodon.social avatar

@rafa Like NSToolbarItem's 'flexible space', or to make an actual view full width?

ctietze,
@ctietze@mastodon.social avatar

@rafa The former should work like this:

ToolbarItem { Spacer() }

🤔

ctietze,
@ctietze@mastodon.social avatar

@rafa I take this back, the spacer doesn't even work. Ugh.

ctietze,
@ctietze@mastodon.social avatar

@rafa we can't even have non-compact toolbars in SwiftUI, so my answer would be:

You need to do the toolbar in AppKit.

https://mastodon.social/@ctietze/112494663898213189

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines