はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ブラックフライデー

『Cocoa Is My Girlfriend | Taglines are for Windows programmers』

  • 人気
  • 新着
  • すべて
  • Protocols in Swift With Core Data | Cocoa Is My Girlfriend

    4 users

    www.cimgf.com

    Sometimes you have a set of objects you want to display in the same form–say, for example, in a table view controller. What if those objects have, by design, nothing in common and nothing to do with each other? This is a case where you can create and conform to a protocol–known in some languages as an interface–to provide a simple way to have each class type provide a display name that can be disp

    • テクノロジー
    • 2014/10/31 08:16
    • swift
    • tutorial
    • video
    • The Core Data stack in Swift | Cocoa Is My Girlfriend

      3 users

      www.cimgf.com

      Whenever Apple releases a new version of Xcode one of the first things that I do is look at the default templates and see if there are any new or interesting things. This year, with the release of Swift, there are some pretty radical changes. Yet the Core Data stack initialization code is still the same. There is nothing wrong with the default template code but there isn’t really anything right ab

      • テクノロジー
      • 2014/06/09 23:22
      • Swift
      • iOS
      • Importing Data Made Easy | Cocoa Is My Girlfriend

        6 users

        www.cimgf.com

        Importing data is a problem that feels like it should have a library of work ready for you to use. Especially when it comes to importing data into Core Data where you have a description of your data to work with. What if there was such a library, or reusable framework, of importing code that basically converts raw data to Core Data entities? Well, wonder no further because in this post, I’ll be di

        • テクノロジー
        • 2012/06/08 18:22
        • MagicalRecord
        • Core Data
        • iOS
        • Importing and displaying large data sets in Core Data | Cocoa Is My Girlfriend

          3 users

          www.cimgf.com

          *Note: This is a re-print from the Mac Developer Network.* I tend to frequent the StackOverflow website and watch for questions about Core Data. Generally if it is a question I can answer I will and if it is a question I can’t answer then I really dig in for a fun session of exploration and attempt to find the answer. One question that I have been seeing with a tremendous amount of regularity is i

          • テクノロジー
          • 2012/06/08 18:09
          • ios
          • tutorial
          • blog
          • Unit Testing with Core Data | Cocoa Is My Girlfriend

            8 users

            www.cimgf.com

            Whether you subscribe to Test Driven Development (TDD) or another testing practice, when it comes automated unit testing with Core Data, things can be a little tricky. But if you keep it simple, and take things step by step, you can get up and running with unit testing using Core Data fairly quickly. We’ll explore the what, how and why of unit testing with Core Data. We’ll also be using the helper

            • テクノロジー
            • 2012/05/19 00:56
            • CoreData
            • ios
            • testing
            • Development
            • Passing around a NSManagedObjectContext on iOS | Cocoa Is My Girlfriend

              3 users

              www.cimgf.com

              **This article is reprinted from the MDN** The documentation on Core Data for the iPhone has lead to some confusion about how best to use Core Data on a Cocoa Touch device. One particular section seems to be the most confusing, specifically: > A view controller typically shouldn’t retrieve the context from a global object such as the application delegate. This tends to make the application archite

              • テクノロジー
              • 2012/03/05 16:26
              • Transient Entities and Core Data | Cocoa Is My Girlfriend

                4 users

                www.cimgf.com

                Core Data has many features, one of which is the Transient attribute. This type of attribute on a Core Data entity is part of a data model, but is not persisted in your Core Data persistent store. If you open up the raw SQLite store file and peek at the schema, you will not find any transient attributes. These transient attributes are still handy despite no data being persisted to the data store.

                • テクノロジー
                • 2011/08/11 18:12
                • CoreData
                • iOS
                • Development
                • mac
                • Saving JSON to Core Data | Cocoa Is My Girlfriend

                  10 users

                  www.cimgf.com

                  Hi, I’m new here. You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written with the excellent Tim Isted) was published, and Matt invited me to contribute some Core Data tips to CIMGF. I’m going to start off discussing taking JSON data from a web service and converting it to Core Da

                  • テクノロジー
                  • 2011/06/03 21:51
                  • CoreData
                  • JSON
                  • iOS
                  • Core Data
                  • Development
                  • mac
                  • tips
                  • Core Data and Threads, Without the Headache | Cocoa Is My Girlfriend

                    9 users

                    www.cimgf.com

                    I know I mentioned we would talk about customizing the fetch requests, however, I have been working on some code related to the Active Record Fetching project, which I am renaming to MagicalRecord, that is also just as useful as fetching–threading. Whenever most cocoa developers mention threading and Core Data in the same sentence, the reaction I see most often is that of mysticism and disbelief.

                    • テクノロジー
                    • 2011/05/06 19:19
                    • CoreData
                    • iOS
                    • development
                    • Cocoa Is My Girlfriend » My current Prefix.pch file

                      6 users

                      www.cimgf.com

                      I have posted and discussed this file a few times but as with all things it has been touched, tweaked, and generally improved upon. In this article we will discuss the latest iteration of my `Prefix.pch` file. As with anything I post, it is available for you to use as you see fit. ## The File For those who don’t want to read the entire post, here is the file: #ifdef DEBUG #define DLog(...) NSLog(@

                      • テクノロジー
                      • 2010/05/03 11:46
                      • Objective-C
                      • iphone
                      • development
                      • mac
                      • tips
                      • Cocoa Is My Girlfriend » Fun With UIButtons and Core Animation Layers

                        26 users

                        www.cimgf.com

                        Upon first glance, the UIButton class doesn’t seem to provide what you might expect in terms of customization. This often causes developers to resort to creating buttons in an image editor and then specifying that in the Background field in Interface Builder. This is a fine solution and will likely give you what you need, but with Core Animation layers there is a simpler way to achieve the look yo

                        • テクノロジー
                        • 2010/01/30 17:28
                        • UIButton
                        • iPhone
                        • Objective-C
                        • Cocoa
                        • iOS
                        • Development
                        • UITableViewCell Dynamic Height | Cocoa Is My Girlfriend

                          6 users

                          www.cimgf.com

                          At first glance setting a height dynamically for table view cells seems a little daunting and the first most obvious answers that come to mind are not necessarily correct. In this post I will show you how to set your table view cell heights dynamically based upon the text content without subclassing UITableViewCell. You can subclass it, however, doing so does not make the code much cleaner as sett

                          • テクノロジー
                          • 2009/10/25 16:51
                          • iOS
                          • iphone
                          • Cocoa Is My Girlfriend � Cocoa Touch Tutorial: iPhone Application Example

                            4 users

                            www.cimgf.com

                            Similar to one of my first blog posts on building a basic application for Mac OS X using xcode 3.0, I am going to explain for beginning iPhone/iPod Touch developers how to build the most basic Cocoa Touch application using Interface Builder and an application delegate in xcode 3.1. This tutorial post is really to provide a quick how-to. I won’t go into any depth explaining why things are done the

                            • テクノロジー
                            • 2008/10/04 23:43
                            • dev
                            • iphone
                            • tutorial
                            • mac
                            • Core Animation Tutorial: Window Shake Effect | Cocoa Is My Girlfriend

                              4 users

                              www.cimgf.com

                              Core Animation is really the buzz among Cocoa developers these days and we are no different from the rest. Learning to do simple fades and frame movement is trivial, but figuring out the more complex effects is quite a challenge. We decided to venture out and try to create some really concise examples of effects you might find used in Leopard. And while these effects may not be done with Core Anim

                              • テクノロジー
                              • 2008/08/15 21:31
                              • coreanimation
                              • cocoa
                              • *programming
                              • development
                              • mac
                              • programming
                              • Cocoa Tutorial: Fixing Memory Leaks With Instruments | Cocoa Is My Girlfriend

                                3 users

                                www.cimgf.com

                                As I am getting toward what I think is the end of coding for an application I hope to release soon, the nitty gritty work of fixing leaks, optimizing code, and squashing bugs has become the majority of what I’m doing now. Gone is the fun part of the application development process where I was creating features and solving new problems. It is now drudgery and focusing requires diligence. I know tha

                                • テクノロジー
                                • 2008/04/04 16:16
                                • cocoa
                                • Core Animation Tutorial: Dashboard Effect | Cocoa Is My Girlfriend

                                  9 users

                                  www.cimgf.com

                                  In our continued efforts to demonstrate different ways to use Core Animation, we have noticed different effects you see in OS X itself that present an interesting challenge to duplicate. In a previous post, we demonstrated how to shake a login window similar to the way that OS X shakes the login window when the user enters the wrong password. This time, we’re going to demonstrate how to do what we

                                  • テクノロジー
                                  • 2008/03/18 10:34
                                  • cocoa
                                  • core animation
                                  • coreanimation
                                  • *programming
                                  • mac
                                  • programming
                                  • Core Animation Tutorial: QTMovieLayer and Image Animation | Cocoa Is My Girlfriend

                                    3 users

                                    www.cimgf.com

                                    In my first post I wrote about using NSOperation to grab an image of the current frame of a QuickTime movie while it was playing and save it out to the filesystem. Considering the excitement that is surrounding Core Animation these days, I thought it might be interesting to take that project and change it to instead grab the current frame and animate it across the screen using a Core Animation lay

                                    • エンタメ
                                    • 2008/03/07 01:58
                                    • Cocoa
                                    • animation
                                    • movie
                                    • あとで読む
                                    • Core Animation Tutorial: Wizard Dialog with Transitions | Cocoa Is My Girlfriend

                                      3 users

                                      www.cimgf.com

                                      A question that I have seen pop up a few times is how to build a Wizard in Cocoa. Having thought about that question a bit I realized that a better answer to it is — how to build a wizard in Cocoa using Core Animation. The basic concept behind this project is to present a window to the user that will walk them through a list of options. To accomplish this task, I created a number of NSViews that w

                                      • テクノロジー
                                      • 2008/03/04 11:05
                                      • cocoa
                                      • mac
                                      • osx
                                      • !gtd 資料(いつか読む)
                                      • animation
                                      • development
                                      • programming
                                      • Cocoa Is My Girlfriend ≫ Blog Archive ≫ NSOperation Example

                                        4 users

                                        www.cimgf.com

                                        Forget Mandelbrot sets (Apple coding headstarts) and Expression Trees. NSOperation is really not that hard. In his post, Marcus introduced how to use NSOperation to greatly simplify multi-threading tasks in your application. I am now going to provide a step-by-step walk-through sample application that uses NSOperation, NSOperationQueue, and QTKit. While looking around the Internet, I noticed that

                                        • テクノロジー
                                        • 2008/03/02 12:22
                                        • NSOperation
                                        • Cocoa
                                        • development
                                        • プログラミング
                                        • Cocoa Is My Girlfriend | Taglines are for Windows programmers

                                          10 users

                                          www.cimgf.com

                                          Recently, I saw a post from Dave DeLong and knowing his history with the framework I read it with extreme curiosity. Unfortunately, that read led to this post as I disagree strongly with a number of the laws he has laid down. Since I know people are going to be asking me about this post (I am still getting asked about Simmons’ post from a VERY long time ago), better to get my thoughts out now. 1.

                                          • テクノロジー
                                          • 2008/03/01 07:39
                                          • objectiveC
                                          • iOS
                                          • Blog
                                          • Cocoa Tutorial: NSOperation and NSOperationQueue | Cocoa Is My Girlfriend

                                            13 users

                                            www.cimgf.com

                                            Threading is hard in any language. And what is worse, when it goes wrong, it usually goes wrong in a very bad way. Because of this, programmers either avoid threading completely (and refer to it as the spawn of the devil) or spend a LOT of time making sure that everything is perfect. Fortunately, Apple has made a lot of progress in OS X 10.5 Leopard. NSThread itself has received a number of very u

                                            • テクノロジー
                                            • 2008/02/19 07:11
                                            • cocoa
                                            • mac
                                            • tutorial

                                            このページはまだ
                                            ブックマークされていません

                                            このページを最初にブックマークしてみませんか?

                                            『Cocoa Is My Girlfriend | Taglines are for Windows programmers』の新着エントリーを見る

                                            キーボードショートカット一覧

                                            j次のブックマーク

                                            k前のブックマーク

                                            lあとで読む

                                            eコメント一覧を開く

                                            oページを開く

                                            はてなブックマーク

                                            • 総合
                                            • 一般
                                            • 世の中
                                            • 政治と経済
                                            • 暮らし
                                            • 学び
                                            • テクノロジー
                                            • エンタメ
                                            • アニメとゲーム
                                            • おもしろ
                                            • アプリ・拡張機能
                                            • 開発ブログ
                                            • ヘルプ
                                            • お問い合わせ
                                            • ガイドライン
                                            • 利用規約
                                            • プライバシーポリシー
                                            • 利用者情報の外部送信について
                                            • ガイドライン
                                            • 利用規約
                                            • プライバシーポリシー
                                            • 利用者情報の外部送信について

                                            公式Twitter

                                            • 公式アカウント
                                            • ホットエントリー

                                            はてなのサービス

                                            • はてなブログ
                                            • はてなブログPro
                                            • 人力検索はてな
                                            • はてなブログ タグ
                                            • はてなニュース
                                            • ソレドコ
                                            • App Storeからダウンロード
                                            • Google Playで手に入れよう
                                            Copyright © 2005-2025 Hatena. All Rights Reserved.
                                            設定を変更しましたx