{"id":148,"date":"2015-04-20T20:11:36","date_gmt":"2015-04-20T12:11:36","guid":{"rendered":"http:\/\/www.yarpee.com\/?p=148"},"modified":"2015-04-23T18:12:21","modified_gmt":"2015-04-23T10:12:21","slug":"beginning-ios-7-development-exploring-the-ios-sdk-1-2","status":"publish","type":"post","link":"http:\/\/www.yarpee.cn\/?p=148","title":{"rendered":"Beginning iOS 7 Development Exploring the iOS SDK 1-4"},"content":{"rendered":"<p>iOS\u7f16\u7a0b\u7684\u4e00\u4e9b\u533a\u522b\uff1a<br \/>\n1\u3001\u4efb\u4f55\u65f6\u5019\u53ea\u6709\u4e00\u4e2a\u5e94\u7528\u5904\u4e8eactive\u72b6\u6001\u5e76\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\uff1b<br \/>\n2\u3001\u6bcf\u4e2a\u5e94\u7528\u90fd\u53ea\u6709\u4e00\u4e2awindow\uff1b<br \/>\n3\u3001\u6bcf\u4e2a\u5e94\u7528\u90fd\u53ea\u80fd\u8bbf\u95ee\u81ea\u5df1\u7684sandbox\u76ee\u5f55\uff1b<br \/>\n4\u3001\u6bcf\u4e2a\u5e94\u7528\u90fd\u8981\u5728\u9650\u5b9a\u7684\u65f6\u95f4\u5185\u505a\u51fa\u54cd\u5e94\uff08\u7528\u6237\u6309\u4e0bhome\u952e\uff0c\u5e94\u7528\u4fdd\u5b58\u6570\u636e\u7b49\u64cd\u4f5c\u7684\u65f6\u957f\u8d85\u8fc75s\u5c31\u4f1a\u88ab\u7cfb\u7edfkill\u6389\uff09\uff1b<br \/>\n5\u3001\u6709\u9650\u5927\u5c0f\u7684\u5c4f\u5e55\uff1b<br \/>\n6\u3001\u6709\u9650\u7684\u7cfb\u7edf\u8d44\u6e90\u3002<\/p>\n<p>Xcode navigator\u4ece\u5de6\u5230\u53f3\u4f9d\u6b21\u4e3a\uff1a<br \/>\nProject navigator<br \/>\nSymbol navigator<br \/>\nFind navigator<br \/>\nIssue navigator<br \/>\nTest navigator<br \/>\nDebug navigator<br \/>\nBreakpoint navigator<br \/>\nLog navigator<br \/>\n\u5feb\u6377\u952e\u4f9d\u6b21\u4e3acommand + 1\/2\/3\/4\/5\/6\/7\/8<\/p>\n<p>Xcode\u5feb\u6377\u952e\uff1a<br \/>\nshift+command+O: Open Quickly<\/p>\n<p>Interface Builder\u652f\u6301.nib\u3001.xib\u548c.storyboard\u6587\u4ef6\u3002<br \/>\n.nib\uff1a\u6700\u65e9\u7684\u4e8c\u8fdb\u5236\u683c\u5f0f<br \/>\n.xib\uff1aXML\u683c\u5f0f\uff0c.nib\u548c.xib\u901a\u79f0nib file<br \/>\n.storyboard\uff1ameta-nib file<br \/>\nnib file\u548cstoryboard\u8fd8\u6709\u4e00\u4e2a\u533a\u522b\uff1anib file\u901a\u5e38\u4e00\u4e2a\u6587\u4ef6\u53ea\u5305\u542b\u4e00\u4e2asingle view\u53ca\u5176\u91cc\u9762\u7684\u63a7\u4ef6\uff0c\u5f53\u8fd9\u4e2aview\u9700\u8981\u663e\u793a\u65f6\u53ea\u9700\u52a0\u8f7d\u8fd9\u4e2anib\u8282\u7ea6\u5185\u5b58\uff1b\u800cstoryboard\u53ef\u4ee5\u5305\u542b\u6240\u6709\u754c\u9762\u4f46\u53ea\u52a0\u8f7d\u5176\u4e2d\u7279\u5b9a\u7684\u90e8\u5206\u3002<\/p>\n<p>\u6309\u4f4fOption\u952e\u79fb\u52a8\u9f20\u6807\u5230\u7c7b\u540d\u4e0a\u53ef\u4ee5\u67e5\u770b\u7c7b\u7684\u63cf\u8ff0<br \/>\n\u9009\u4e2dImage View\u4f7f\u7528\u5feb\u6377\u952eCommand+=\u6216\u8005\u4f7f\u7528\u83dc\u5355Editor-&gt;Size to Fit Content\u53ef\u4ee5\u5c06Image View\u8c03\u6574\u4e3a\u8bbe\u7f6e\u7684\u56fe\u7247\u5927\u5c0f<br \/>\n\u4e3aUI\u6dfb\u52a0\u7ea6\u675f\uff1aEditor-&gt;Resolve Auto Layout Issues-&gt;Add Missing Constraints<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS\u7f16\u7a0b\u7684\u4e00\u4e9b\u533a\u522b\uff1a 1\u3001\u4efb\u4f55\u65f6\u5019\u53ea\u6709\u4e00\u4e2a\u5e94\u7528\u5904\u4e8eactive\u72b6\u6001\u5e76\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\uff1b 2\u3001\u6bcf\u4e2a\u5e94\u7528\u90fd\u53ea\u6709\u4e00\u4e2aw &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.yarpee.cn\/?p=148\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cBeginning iOS 7 Development Exploring the iOS SDK 1-4\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-mac_skill"],"_links":{"self":[{"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/posts\/148"}],"collection":[{"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=148"}],"version-history":[{"count":2,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":166,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=\/wp\/v2\/posts\/148\/revisions\/166"}],"wp:attachment":[{"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.yarpee.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}