{"id":863,"date":"2010-12-20T10:57:10","date_gmt":"2010-12-20T01:57:10","guid":{"rendered":"http:\/\/yamazon.org\/?p=863"},"modified":"2010-12-20T10:57:10","modified_gmt":"2010-12-20T01:57:10","slug":"uitabbar-%e3%81%a7%e3%81%ae-view-%e3%81%ae%e5%88%87%e3%82%8a%e6%9b%bf%e3%81%88","status":"publish","type":"post","link":"https:\/\/apr20.net\/?p=863","title":{"rendered":"[10] UITabBar \u3067\u306e view \u306e\u5207\u308a\u66ff\u3048"},"content":{"rendered":"<p>\u4eca\u56de\u306f\u3001<strong>UITabBar <\/strong>\u3068<strong> <strong>UITabBarItem <\/strong><\/strong>\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n<p><strong><strong><strong>UITabBar <\/strong><\/strong><\/strong>\u3092\u4f7f\u3044\u3001<strong>UITabBarItems <\/strong>\u3084 view \u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h4>1. UITabBar \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 \u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/h4>\n<p>\u307e\u305a\u3001\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u306b XCode \u306e UITabBar \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><br \/>\n<a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-864\" title=\"863-1\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-1-300x243.png\" alt=\"863-1\" width=\"300\" height=\"243\" \/><\/a><\/p>\n<p>\u305d\u306e\u72b6\u614b\u3067\u3001\u30d3\u30eb\u30c9\uff06\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-865\" title=\"863-2\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-2-158x300.png\" alt=\"863-2\" width=\"158\" height=\"300\" \/><\/a><\/p>\n<h4>2. Interface Builder\u3092\u8d77\u52d5\u3057 UITabBar items \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/h4>\n<p>UITabBarItems \u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u5358\u7d14\u306b\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u304b\u3089\u3001UITabBar \u4e0a\u306b\u30c9\u30e9\u30c3\u30b0\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u8ffd\u52a0\u3057\u305fitem\u306e\u540d\u524d\u306f\u300citem\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u300cthird\u300d\u306a\u3069\u3001\u9069\u5f53\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8ffd\u52a0\u3057\u305fitem\u306b\u306f\u3001item\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u6642\u306b\u8868\u793a\u3059\u308bview\u306e\u540d\u524d\u3092\u7279\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Interface Builder \u3092\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u3001MainWindow.xib \u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>Tools &gt; atributes inspector \u3092\u958b\u304d\u3001\u201cNib Name\u201d \u3068\u66f8\u304b\u308c\u305f\u9805\u76ee\u306b\u3001view \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u6642\u306b\u30ed\u30fc\u30c9\u3055\u308c\u3001\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u6cbf\u3063\u3066\u3001\u201dThirdView\u201d \u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3060\u3051\u3067\u306f\u3001&#8221;ThirdView&#8221; \u306f\u3001\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u5f53\u305f\u308a\u524d\u3067\u3059\u304c\u3001\u307e\u3060\u3001ThirdView.xib\u3092\u4f5c\u6210\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3002\u3002\u3002<\/p>\n<p>\u65b0\u3057\u304fview \u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001Interface Builder \u304b\u3089 File &gt; New \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001view\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-866\" title=\"863-3\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-3-300x199.png\" alt=\"863-3\" width=\"300\" height=\"199\" \/><\/a>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u51fa\u305f\u5f8c\u3001\u65b0\u3057\u304f\u771f\u3063\u767d\u306e view\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u9069\u5f53\u306b\u80cc\u666f\u8272\u306a\u3069\u3092\u5909\u66f4\u3057\u3066\u3001&#8221;ThirdView&#8221;\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-867\" title=\"863-4\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-4-286x300.png\" alt=\"863-4\" width=\"286\" height=\"300\" \/><\/a><\/p>\n<p>\u4fdd\u5b58\u306e\u9014\u4e2d\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u51fa\u3066\u304d\u307e\u3059\u306e\u3067\u3001view\u3092\u8ffd\u52a0\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306e\u6a2a\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u300cAdd\u300d\u30dc\u30bf\u30f3\u3067\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-868\" title=\"863-5\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-5-255x300.png\" alt=\"863-5\" width=\"255\" height=\"300\" \/><\/a><\/p>\n<p>\u3053\u308c\u3067\u3001&#8221;ThirdView&#8221;\u306f\u3001\u5b8c\u6210\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307eXCode\u4e0a\u304b\u3089\u30d3\u30eb\u30c9\uff06\u5b9f\u884c\u3057\u3001\u6700\u521d\u306b\u8a2d\u5b9a\u3057\u305f\u300cthird\u300d\u306e\u30bf\u30d6item\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p style=\"margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo;\"><strong><span style=\"color: #ff6600;\">reason: &#8216;-[UIViewController _loadViewFromNibNamed:bundle:] loaded the &#8220;ThirdView&#8221; nib but the view outlet was not set.<\/span><\/strong><strong><span style=\"color: #ff6600;\">&#8216;<\/span><\/strong><\/p>\n<div><strong><br \/>\n<\/strong><\/div>\n<p>\u3053\u308c\u306f\u3001\u300c&#8221;ThirdView&#8221;\u3092\u30ed\u30fc\u30c9\u3057\u305f\u3051\u3069\u3001view\u30a2\u30a6\u30c8\u30ec\u30c3\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3088\uff01\u300d\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u201dThirdView.xib\u201d\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cFile&#8217;s Owner\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001Identity Inspector \u3092\u958b\u304d\u307e\u3059\u3002\u8868\u793a\u3055\u308c\u305finspector\u306e\u4e0a\u90e8\u306b\u3042\u308b\u300cClass\u300d\u3068\u3044\u3046\u7b87\u6240\u306b\u300cFirstViewController\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u72b6\u614b\u3067\u3000File&#8217;s Owner \u3092\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001Outlets \u306e\u4e2d\u306b view \u3068\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u3068\u3001File&#8217;s Owner \u3068\u3044\u3046\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5165\u3063\u3066\u3044\u308b\u30a6\u30a4\u30f3\u30c9\u30a6\u5185\u306eview \u3068\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u51fa\u6765\u305f\u3089\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>XCode\u4e0a\u304b\u3089\u3001\u30d3\u30eb\u30c9\uff06\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u4ee5\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u3001\uff13\u3064\u76ee\u306eview\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-869\" title=\"863-6\" src=\"http:\/\/yamazon.org\/wp-content\/uploads\/2010\/12\/863-6-159x300.png\" alt=\"863-6\" width=\"159\" height=\"300\" \/><\/a> <\/p>\n<div style=\"position: absolute; overflow: hidden; width: 2px; height: 1px; left: -288; top: -277; z-index: 177;\"><a href=\"http:\/\/raspberry-ketonefresh.chalengeformind.com\">raspberry ketone fresh for men<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001UITabBar \u3068 UITabBarItem \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3067\u3059\u3002 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":864,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[174,182,265],"class_list":["post-863","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-old-blog","tag-uitabbar","tag-view","tag-265"],"_links":{"self":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=863"}],"version-history":[{"count":0,"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts\/863\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}