Jump to content
You must now use your email address to sign in [click for more info] ×

Using Tilde symbol in export slices naming


Recommended Posts

Hi,

I'm trying to export App Icons with Affinity Designer using a lot of slices. In order for them to be automatically recognized within Xcode, they need to be named using the tilde symbol, for example "app-icon@2x~iPad". Unfortunately, the exported files are simply missing the symbol (in my example the file created was named "app-icon@2xiPad").

Am I missing something or is this a bug?

Thanks for your replies!

Chris

Link to comment
Share on other sites

  • Staff

Hi Chris,

I've just been looking into this and we do already have it logged and closed as by designer and that reason is,  it's excluded for Windows paths, so we exclude it in general. Paths generated for batch export need to be consistent across platforms, so we have to obey naming rules for both OSX and Windows. 

Link to comment
Share on other sites

3 minutes ago, stokerg said:

I've just been looking into this and we do already have it logged and closed as by designer and that reason is,  it's excluded for Windows paths, so we exclude it in general. Paths generated for batch export need to be consistent across platforms, so we have to obey naming rules for both OSX and Windows. 

I saw that earlier report, and wondered about the conclusion that ~ is "excluded for Windows paths".

I'm able to create directory and file names containing the ~ character, so I wonder if we can get more details from the Developer about that?

image.png.acf3ce752ef001deb0f18fd66ebf12f6.png

image.png.737c5c59768afbd46d30cd6a3d2db6a5.png

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • Staff
7 minutes ago, walt.farrell said:

I'm able to create directory and file names containing the ~ character, so I wonder if we can get more details from the Developer about that?

 

I will see if i can :)  it may be things have changed since the report was logged 

Link to comment
Share on other sites

Sketch allows the tilde.

In windows, word/microsoft uses the tilde to indicate temp backup files,

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

  • 2 years later...

Bump. This minor feature is really important for iOS Developers.

 

For future readers, as a work around, I am exporting images with "-ipad" and then after Affinity Designer exports them, I rename them in Finder:

  1. Select all the images in Finder
  2. Right click and select "Rename..."
  3. Then do a "Replace Text' and Find "-ipad" and Replace with "~ipad"
Edited by jangelsb
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.