UI-- Empty Application 新建空工程

1> Empty Application  在Xcode 5 中的文件路径 :

Xode 5 路径:Contents   Developer  Platforms iPhoneOS.platform  Developer  Library  Xcode  Templates  Project Templates  Application  Empty Application.xctemplate

2>找到在 Xcode 5 中的文件拷贝一份放在Xcode 6 中相应的路径下 ,这样呢 Xcode 6就拥有 Empty Application 工程

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/Application ——>  Empty Application.xctemplate

 

其操作对应截图

1>

2>

 
 

转载于:https://www.cnblogs.com/ryc--520/p/4803256.html

using System; using NXOpen; using NXOpen.BlockStyler; //------------------------------------------------------------------------------ //Represents Block Styler application class //------------------------------------------------------------------------------ public class CreateCylinder { //class members private static Session theSession = null; private static UI theUI = null; private string theDlxFileName; private NXOpen.BlockStyler.BlockDialog theDialog; private NXOpen.BlockStyler.Group group0;// Block type: Group private NXOpen.BlockStyler.Button button;// Block type: Button //------------------------------------------------------------------------------ //Constructor for NX Styler class //------------------------------------------------------------------------------ public CreateCylinder() { try { theSession = Session.GetSession(); theUI = UI.GetUI(); theDlxFileName = "CreateCylinder.dlx"; theDialog = theUI.CreateDialog(theDlxFileName); theDialog.AddApplyHandler(new NXOpen.BlockStyler.BlockDialog.Apply(apply_cb)); theDialog.AddOkHandler(new NXOpen.BlockStyler.BlockDialog.Ok(ok_cb)); theDialog.AddUpdateHandler(new NXOpen.BlockStyler.BlockDialog.Update(update_cb)); theDialog.AddInitializeHandler(new NXOpen.BlockStyler.BlockDialog.Initialize(initialize_cb)); theDialog.AddDialogShownHandler(new NXOpen.BlockStyler.BlockDialog.DialogShown(dialogShown_cb)); } catch (Exception ex) { //---- Enter your exception handling code here ----- throw ex; } } //------------------------------- DIALOG LAUNCHING --------------------------------- // // Before invoking this application one needs to open any part/empty part in NX // because of the behavior of the blocks. // // Make sure the dlx file is in one of the foll
最新发布
03-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值