---
slug: "iOSアプリにtapkulibraryを組み込んだメモ"
title: "Notes on Integrating tapkulibrary into an iOS App"
description: "\n\nA note on incorporating https://github.com/devinross/tapkulibrary into my project."
url: "https://www.ytyng.com/en/blog/iOSアプリにtapkulibraryを組み込んだメモ"
publish_date: "2014-04-23T03:52:19Z"
created: "2014-04-23T03:52:19Z"
updated: "2026-02-27T10:44:44.499Z"
categories: ["iOS"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/0d3b67b02ef44625ab83b7eeae6233dd.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Notes on Integrating tapkulibrary into an iOS App

<div class="document">

<p>A note on incorporating <a class="reference external" href="https://github.com/devinross/tapkulibrary">https://github.com/devinross/tapkulibrary</a> into my project.</p>
<p>I added it because I wanted to use the calendar view.</p>
<p>This library provides a convenient collection of existing class extension categories and views.</p>
<p>The official usage can be found at:</p>
<p><a class="reference external" href="https://github.com/devinross/tapkulibrary/wiki/Adding-Tapku-to-Your-Project-in-XCode-4">https://github.com/devinross/tapkulibrary/wiki/Adding-Tapku-to-Your-Project-in-XCode-4</a></p>
<p>Here</p>
<div class="section" id="id1">
<h3>1.</h3>
<p>Clone the repository at an appropriate location using:
git clone git://github.com/devinross/tapkulibrary.git</p>
</div>
<div class="section" id="id2">
<h3>2.</h3>
<p>Drag and drop TapkuLibrary.xcodeproj into your project via Finder.</p>
<p>If you have TapkuLibrary.xcodeproj open in another Xcode instance, the project will be locked and you won't be able to open it, so make sure to close all other instances of Xcode. (I got stuck here for quite a while)</p>
<p>Additionally, include TapkuLibrary.bundle as well.</p>
</div>
<div class="section" id="id3">
<h3>3.</h3>
<p>Select the light blue icon of your project in Xcode, choose the build target from TARGETS, and click the Build Phases tab.</p>
<p>Click the + button in Target Dependencies and add TapkuLibrary.</p>
</div>
<div class="section" id="id4">
<h3>4.</h3>
<p>Open the Link Binary With Libraries section, click the + button, and add libTapkuLibrary.a.</p>
</div>
<div class="section" id="id5">
<h3>5.</h3>
<p>(Not very confident about this part)</p>
<p>In the Build Settings tab &gt; Search Paths group &gt; Header Search Path, add the directory where TopkuLibrary.h is located.</p>
<p>I specified it using an absolute path.</p>
<p>Example: /Users/ytyng/workspace/ios/frameworks/tapkulibrary/src</p>
<p>This doesn't feel very smart, so there might be other solutions.</p>
<p>With this setup, you should be able to:</p>
<pre class="literal-block">#import &lt;TapkuLibrary/TapkuLibrary.h&gt;
</pre>
<p>successfully.</p>
</div>
<div class="section" id="id6">
<h3>6.</h3>
<p>In the Build Settings tab &gt; Linking group &gt; Other Linker Flags</p>
<p>Add -ObjC</p>
<p>If you don't add this, the categories won't load and the views won't work.</p>
</div>
</div>
