@qiuchenlymac · Post #286 · 03/19/2024, 04:21 AM
#ifdef China alias Donate=ForcePayment #endif 我们重新定义捐赠!
TGINSIGHT SIMILAR POSTS
Source channel @githubtrending · Post #15064 · Aug 16
#csharp#2d#avaloniaui#csharp#dotnet_core#dotnetcore#editor#game_development#graphics#graphics_editor#linux_desktop#painting#pixel_art#pixi#procedural_drawing#procedural_generation#raster_graphics#sprites#tabs#vector_graphics PixiEditor is a free, easy-to-use 2D graphics editor that combines pixel art, painting, and vector tools all in one program. You can create game sprites, animations, logos, and edit images with a simple interface. It supports mixing vector and raster graphics on the same canvas and lets you export to many formats like PNG, SVG, GIF, and MP4. The powerful Node Graph system allows you to create complex, non-destructive effects and animations. It also has a timeline for frame-by-frame animation and autosaves your work to prevent loss. This makes it a versatile tool for artists and game developers. https://github.com/PixiEditor/PixiEditor
Search: #endif
@qiuchenlymac · Post #286 · 03/19/2024, 04:21 AM
#ifdef China alias Donate=ForcePayment #endif 我们重新定义捐赠!
@apphomie · Post #100 · 03/13/2018, 09:00 AM
Пока сообщество (точнее, хэйтеры) занято обсуждением метода toggle для Bool, в Swift 4.1 появились две директивы: canImport и targetEnvironment, предложенные Эрикой Садун. Попробовать их можно уже сейчас в Xcode 9.3 beta 4. Первая будет полезна для кроссплатформенных решений и позволяет определить, можно ли импортировать тот или иной модуль. #if canImport(UIKit) // UIKit-based code #elseif canImport(Cocoa) // OSX code #elseif // Workaround/text, whatever #endif Вторая директива с единственно возможным аргументом simulator позволяет выполнить условную компиляцию для симулятора или реального девайса. Теперь не нужно перечислять все любимые нам архитектуры и ОС (arch(i386) || arch(x86_64)) && (!os(macOS)), а достаточно будет этого: // Test for a simulator destination #if targetEnvironment(simulator) print("Simulator") #else print("Device") #endif http://ericasadun.com/2018/03/05/new-to-swift-in-xcode-9-3-beta-4-se-0075-and-se-0190-allow-better-configuration-testing/