sourceImageURL in imagePlaygroundSheet isn't optional

I can't shake the "I don't think I did this correctly" feeling about a change I'm making for Image Playground support.

When you create an image via an Image Playground sheet it returns a URL pointing to where the image is temporarily stored. Just like the Image Playground app I want the user to be able to decide to edit that image more.

The Image Playground sheet lets you pass in a source URL for an image to start with, which is perfect because I could pass in the URL of that temp image.

But the URL is NOT optional. So what do I populate it with when the user is starting from scratch?

A friendly AI told me to use URL(string: "")! but that crashes when it gets forced unwrapped.

URL(string: "about:blank")! seems to work in that it is ignored (and doesn't crash) when I have the user create the initial image (that shouldn't have a source image).

This feels super clunky to me. Am I overlooking something?

sourceImageURL in imagePlaygroundSheet isn't optional
 
 
Q