使用Storyboard将iPad应用程序转换为iPhone应用程序(Convert iPad app using Storyboard into iPhone app)
我有一个使用Storyboard为iPad创建的视图。
现在,我想将其转换为iPhone应用程序。
我是故事板的新手。 到目前为止,我一直在使用单独的XIB文件。
你能告诉我这样做的步骤吗?
I have one view which was created for iPad, using a Storyboard.
Now, I want to convert it to an iPhone app.
I am very new to Storyboards. Until now, I have been using separate XIB files.
Can you please explain to me the steps for doing this?
原文:https://stackoverflow.com/questions/12908614
最满意答案
只需使用
make
- 它应该只处理已更改的文件。 通常只需执行一次配置即可收集系统配置。您可以阅读
make
man页面:如果取决于自上次修改目标以来已修改的先决条件文件,或者目标不存在,则
make
更新成为目标。just use
make
- it should process only changed files. Usuallyconfigure
is needed to be executed only once to gather system configuration.You can read in
make
man pages:
make
updates a target if it depends on prerequisite files that have been modified since the target was last modified, or if the target does not exist.
相关问答
更多-
您可以使用-std标志。 例如,要编译为C99,请使用-std=c99 它的文档在这里 You can use the -std flag. For example, to compile to C99, use -std=c99 The documentation for it is here
-
我认为你的选择对于windows来说相当有限: 检查是否安装了编译器(可能将其限制为一个简短列表)并使用该编译器 在应用程序的安装包中加入编译器 I think your options are fairly limited for windows: Check for an install of a compiler (possibly limit this to a short list) and use that compiler Bring along a compiler in your appl ...
-
我可以使用Cygwin使用Momentics编译C / C ++代码吗?(Can I use Cygwin to compile C/C++ code with Momentics?)[2022-10-28]
在没有得到答案(感谢堆栈社区)并且正在努力之后我已经弄明白了。 1)由于Cygwin GCC编译器在PATH上,Momentics会自动查看它并将使用它。 无需明确选择。 2)Momentics无法编译和运行本地执行的代码,它只适用于有针对性的远程执行。 所以我可以在VM上编译和运行我的程序,但不能在我的主机上编译和运行。 After not getting an answer (thanks stack community) and working on it I've figured it out. 1 ... -
C ++编译器从上到下一次读取源文件。 您已经在main()之后的底部描述了Box类,并且在您尝试使用该类的部分之后。 因此,当编译器到达你所说的'Box box'部分时,它还没有看到类定义,因此不知道'Box'的含义。 The C++ compiler reads source files in a single pass, from top to bottom. You have described the Box class at the bottom, after main(), after the ...
-
您可以先下载Code :: Blocks,它是一个可以下载的跨平台IDE,包括MinGW GCC编译器。 http://www.codeblocks.org/ 但是如果你使用的是Linux,你可以在终端中使用一个“gcc”命令。 You can start by downloading Code::Blocks, its an cross-platform IDE that can be downloaded including MinGW GCC compiler. http://www.codebloc ...
-
我不是这方面的专家,但由于没有人回答,我的意见如下: 如果你想避免在C中使用PyObject结构和“Python.h”,你应该使用cython 麻烦的是**。pyd是一个特别准备好的DLL,暴露了import ()友好的界面,我认为它包含了返回PyObjects。 但是在普通DLL或共享对象lib上使用ctypes并不难: >>> import ctypes >>> mysum = ctypes.cdll.LoadLibrary("mysum.so") # Or DLL >>> print mysum.su ...
-
你需要找到你想要调试的程序的相对路径让我们调用可执行文件,“example.exe”位于/ exampleProj / debug / relative你的工作区根目录,这是你打开的任何一个文件夹来启动VS代码(如果您不确定它会返回到导航边栏并从中找到该文件)。 然后你会想要你的程序条目如下: "program": "${workspaceRoot}/exampleProj/debug/example.exe" You'll need to find the relative path to whiche ...
-
只编译新代码(C ++)(compile only new code (C++))[2023-10-01]
只需使用make - 它应该只处理已更改的文件。 通常只需执行一次配置即可收集系统配置。 您可以阅读make man页面: 如果取决于自上次修改目标以来已修改的先决条件文件,或者目标不存在,则make更新成为目标。 just use make - it should process only changed files. Usually configure is needed to be executed only once to gather system configuration. You can r ... -
在Java(以及Android)中运行本机C / C ++代码的唯一方法是使用JNI(Java Native Interface) 。 这是迄今为止最好的教程,可帮助您使用Android Studio和Android NDK设置JNI: http : //ph0b.com/new-android-studio-ndk-support/ 在您的情况下,您必须提取C ++项目的源代码(意味着所有.cpp ; .h ; .hpp文件)并将它们添加到JNI文件夹中(一旦您使用上述教程设置JNI环境(或任何其他指南) ...
-
C ++为什么这段代码会编译?(C++ Why does this code compile?)[2023-04-01]
如果你运行程序,你会发现它永远不会等待输入。 它没有区分任何东西 - 你正确地将int转移到它自己的值。 (并且该值是不确定的,因此程序未定义。) 如果您提高编译器的警告级别,您应该看到“警告:语句无效”或类似的效果。 If you run the program, you'll notice that it never waits for input. It doesn't distinguish anything – you're right-shifting the int by its own va ...