春の伊予国漫遊記。松山・今治と愛媛の魅力を満喫してきました。 法事を兼ねて愛媛観光へ 2024年のGWは、毎年恒例の名古屋帰省ではなく自宅でゆっくり過ごしておりました。というのも、4月に法事のため愛媛・松山に親族大集合というイベントがありまして、そちらをGWの旅行代わりにしたという理由です。法事は日曜日の予定ということ…
![はてなブログ | 無料ブログを作成しよう](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)
春の伊予国漫遊記。松山・今治と愛媛の魅力を満喫してきました。 法事を兼ねて愛媛観光へ 2024年のGWは、毎年恒例の名古屋帰省ではなく自宅でゆっくり過ごしておりました。というのも、4月に法事のため愛媛・松山に親族大集合というイベントがありまして、そちらをGWの旅行代わりにしたという理由です。法事は日曜日の予定ということ…
来年も作りたい!ふきのとう料理を満喫した 2024年春の記録 春は自炊が楽しい季節 1年の中で最も自炊が楽しい季節は春だと思う。スーパーの棚にやわらかな色合いの野菜が並ぶと自然とこころが弾む。 中でもときめくのは山菜だ。早いと2月下旬ごろから並び始めるそれは、タラの芽、ふきのとうと続き、桜の頃にはうるい、ウド、こ…
来年も作りたい!ふきのとう料理を満喫した 2024年春の記録 春は自炊が楽しい季節 1年の中で最も自炊が楽しい季節は春だと思う。スーパーの棚にやわらかな色合いの野菜が並ぶと自然とこころが弾む。 中でもときめくのは山菜だ。早いと2月下旬ごろから並び始めるそれは、タラの芽、ふきのとうと続き、桜の頃にはうるい、ウド、こ…
As I started working on my second will-go-to-market iPhone game, one of the most important improvements I made was moving configuration and level details to XML files from the very beginning. One of the differences between a great game and a mediocre game is flexibility, and storing details within XML files gives the gift of manifold flexibility (best of all, you can design a level or content form
Stress and Anxiety Around The HolidaysDealing With Anxiety Around The Holidays Many families find that they are dealing with anxiety during the holidays. Between extra people visiting for the holidays, and the children being home from school and bored, many face anxiety during this time from the added responsibilities and the excitement. Here are some great ways to deal with the anxiety and get th
Cocoa's Key-Value Observing facilities are extremely powerful and useful. Unfortunately they have a really terrible API that's inherently broken in a couple of different ways. I want to discuss how it's broken, and a way to make it better. What's Broken There are three major problems with the KVO API, all of which relate to multiple levels of the class hierarchy registering observers. This is impo
Please note: this article is part of the older "Objective-C era" on Cocoa with Love. I don't keep these articles up-to-date; please be wary of broken code or potentially out-of-date information. Read "A new era for Cocoa with Love" for more. I test Core Data's performance with a one million object data set stored in a basic three-tiered hierarchy. I look at the performance when building, loading,
There are a few things I have started to do that I do not think are standard: 1) With the advent of properties, I no longer use "_" to prefix "private" class variables. After all, if a variable can be accessed by other classes shouldn't there be a property for it? I always disliked the "_" prefix for making code uglier, and now I can leave it out. 2) Speaking of private things, I prefer to place p
#import <foundation /foundation.h> #import "MyObject.h" int main (int argc, const char * argv[]) { // (4) NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; // (5) MyObject* object1; object1 = [[MyObject alloc] init]; [object1 release]; // (6) MyObject* object2; object2 = [[[MyObject alloc] init] autorelease]; // (7) NSString* string0; string0 = [NSString stringWithCString:"new string"
RubyCocoa とは? † RubyCocoa は、Ruby での Cocoa プログラミングを可能にする Mac OS X のフレームワークです。 RubyCocoa を使うことで、以下のことができるようになります。 Ruby で Mac OS X ネイティブアプリケーションの開発 Cocoa を利用した Ruby プログラムの開発 ↑ ダウンロードとインストール † 2008/2/16 現在、最新バージョンは 0.13.2 です。 http://sourceforge.net/project/showfiles.php?group_id=44114 から最新バージョンの dmg をダウンロードして、インストールしてください。 ↑
ふと探してみたら、iSight を利用してバーコードを読む Cocoa のコード Barcode scanner を見つけた。ライセンスは MIT ライセンスなので、好きにいじれる。 手元の本や CD で試したところ、問題なく読めるので、十分実用になりそう。ただ、はじっこがはみ出していてもスキャン対象の領域の中だけ読んでしまうので、両端にある程度バーコードでない領域があるときのみ読むようにしたほうがよいかも。あと、上下逆さは読めないようだ。スキャンの開始はしてるようなので、うまく読めないときに逆さにしてみるって動作に変更すればいいかな。 もうずいぶん前になるけど Delicous Library がリリースされたころ(3年前くらいかな?)、iSight でバーコードを読むというアイディアを知ったときは「その手があったか!バーコードリーダより iSight のほうが安いもんな」とちょっと感動
プログラムの作成 やっと。。。やっとプログラムの作成にこぎつけました。 このページも随分と前に作成したのに、ほったらかして。。。やっとひのめを見る事ができました。 さてさて、前置きはこれぐらいにしてコーディングを。。。 クラスから自動生成されたプログラムファイル( 作り方はこちら) を開いて見ると次のようなひな形が作られています。 作られたファイルは2つです。 ヘッダプログラム(hello.h) プログラム本体(hello.m) 今回helloクラスからプログラムファイルを作成したので「hello.~」のプログラム名がついていま す。 「~.h」という拡張子がファイル名についている方をヘッダプログラム(hello.h)といいます。 /* hello */ #import <Cocoa/Cocoa.h> @interface hello : NSObject { IBOutlet id to
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く