xcode 素描iOS设计

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26069910/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:43:00  来源:igfitidea点击:

Sketch iOS Design

iosxcodeuser-interfaceuser-experience

提问by youngtunechi

In Sketch, the OSX program for UX design, I was curious about:

在用于 UX 设计的 OSX 程序 Sketch 中,我很好奇:

Once I create a design, how do I make that design work in Storyboard in XCode or programmatically?

创建设计后,如何在 XCode 中的 Storyboard 中或以编程方式使该设计工作?

Since by making a design, all I am making is an image, how do I make it come alive and have the user actually interact with it in XCode?

因为通过设计,我所做的只是一个图像,我如何让它变得生动并让用户在 XCode 中实际与它交互?

Thanks.

谢谢。

采纳答案by Alex Catchpole

You recreate the objects in the interface builder.

您在界面构建器中重新创建对象。

You change the background colour of the view to the background colour of your design. Save your button images and set them to the background images of buttons. etc.

您将视图的背景颜色更改为设计的背景颜色。保存您的按钮图像并将它们设置为按钮的背景图像。等等。

回答by rob mayoff

how do I make it come alive and have the user actually interact with it

我如何让它活跃起来并让用户真正与它互动

That question is basically the same as this question:

这个问题和这个问题基本一样:

After I draw my design on the whiteboard, how do I turn that into an app?

在白板上画出我的设计后,如何将其转换为应用程序?

There's no tool that takes a Sketch file or a whiteboard and turns it into an app. The answer in both cases is the same: you use the tools provided by Apple (Xcode, Objective-C or Swift, the iOS SDK, xibs or storyboards) to write a program that implements your design. If you don't know how to use those tools, you need to work through some tutorials to learn them before you start working on implementing your own design. If you don't know how to program at all, I suggest starting with some programming tutorials that don'tinvolve iOS programming, because learning the basics of programming is already complicated, even without adding the peculiarities of iOS development.

没有任何工具可以将 Sketch 文件或白板转换为应用程序。两种情况的答案都是一样的:您使用 Apple 提供的工具(Xcode、Objective-C 或 Swift、iOS SDK、xib 或故事板)来编写实现您的设计的程序。如果您不知道如何使用这些工具,则在开始实施您自己的设计之前,您需要通过一些教程来学习它们。如果你完全不会编程,我建议你从一些涉及iOS编程的编程教程开始,因为学习编程的基础已经很复杂,即使不添加iOS开发的特性。