2015-04-01から1ヶ月間の記事一覧

dealloc relase

Difference between release and dealloc in objective-cstackoverflow.com

sql all any

DB

Difference between in and any operators in sqlstackoverflow.com

@property(readonly) 's initialization(initialize)

Benedict's Soapbox » Defining an Objective-C @property as Publicly readonly and Privately readwrite readonly in outside interface readwrite in inside interface and implementation (and synthesize) XYZViewController.h #import <UIKit/UIKit.h> @interface XYZ</uikit/uikit.h>…

@property, @synthesize ; what is

@property can declare getter/setter property equiv to @property getter/setter|yes @property(readwrite) getter/setter (same as above) @property(readonly) getter|yes @synthesize can cut out getter/setter logic if set @property in interface h…

ARC and retain ; summary, what is

ARC All you have to do is claim ownership of any object you need and remember to relinquish ownership when you’re done with it. retain The retain method claims ownership of an existing object. It’s like telling the operating system, "Hey! …

NOT IN ; sql

check whether exists NULL when use NOT IN (related to: return value of IN predicate ; sql - Red > Green > Refactor > Red) create table member ( memberid serial, name text, age integer, home text, PRIMARY KEY(memberid) ); SELECT * FROM memb…

PostgreSQL's auto increment > serial

use serial official PostgreSQL: Documentation: 9.4: Numeric Types unofficial PostgreSQL - AUTO INCREMENTwww.tutorialspoint.com CREATE TABLE table_names ( id serial, name text, PRIMARY KEY(id) ); INSERT INTO table_names (name) VALUES ('taro…

logger out zombie objects

same as Xcode 6 How do I set up NSZombieEnabled in Xcode 4?stackoverflow.com

error: writable atomic property cannot pair ...

atomic ... property is NOT writable ... @property (atomic) nonatomic ... property is writable ... @property (nonatomic) error: writable atomic property cannot pair a synthesized setter/getter with a user defined setter/getterstackoverflow.…

meaning and respond ; signal SIGABRT

iOS

Between some outlet and mainstoryboard links are invalid check all outlet links are valid or ... delete link connections and reconnect them What does "Thread 1: signal SIGABRT" mean? | Treehouse Forumteamtreehouse.com

NSNumber rand gist

gist.github.com

null in sql ; what is

DB

NULL values represent missing unknown data. SQL NULL Values - IS NULL and IS NOT NULL

design of MV(what) (MVC, MVVM)

fowler's http://martinfowler.com/eaaDev/uiArchs.html codeproject http://www.codeproject.com/Articles/66585/Comparison-of-Architecture-presentation-patterns-M

null is not equiv to null

DB

Why in SQL NULL can't match with NULL?stackoverflow.com

MVV(M) implements

MVVM Tutorial with ReactiveCocoa: Part 1/2 - Ray Wenderlichwww.raywenderlich.com ZZZViewController.h include view model header ZZZViewController.m ViewModel property is strong ZZZViewModel.h Properties should place in header because used f…

Objective-C modern coding style

NYTimes/objective-c-style-guidegithub.com

property fields guideline

Objective-C のプロパティ属性のガイドライン - Qiitaqiita.com

MVVM in Objective-C ; summary, what is

iOS

Introduction to MVVM - Architecture - objc.io issue #13www.objc.io iOS Design Patternswww.raywenderlich.com

順列テーブル

PostgreSQL 9.4.1 こんなテーブルから products name ---------------- cpu_heat mouse_cat keyboard_punch 以下順列テーブルを出す name | name ----------------+---------------- cpu_heat | cpu_heat cpu_heat | mouse_cat cpu_heat | keyboard_punch mo…

decimal (and numeric) - what is

what is decimal(p, s) p ... precision (式の桁数) p = 1 => 1 p = 2 => 10 p = 3 => 100 s ... scale (小数点以下の桁数) s = 1 => 0.1 s = 2 => 0.01 s = 3 => 0.001 PostgreSQL: Documentation: 9.4: Data Types diff (decimal and numeric) (continue t…

int, int4 and integer - PostgreSQL

int and int4 are allies for integer official PostgreSQL: Documentation: 9.4: Data Types unofficial SQL base types: integer vs int?stackoverflow.com

PostgreSQL - varchar and text

no difference varchar(n) and text official PostgreSQL: Documentation: 9.4: Character Types unofficial PostgreSQL data type text vs varchar without lengthdba.stackexchange.com note: PostgreSQL: Don't Use CHAR or VARCHAR

database is 'set'

DB

Visual Representation of SQL Joins - CodeProject

visual explanation of join

DB

A Visual Explanation of SQL Joins

where to write private method in Objective-C

official P38 https://developer.apple.com/jp/documentation/ObjC.pdf unofficial Best way to define private methods for a class in Objective-Cstackoverflow.com

outlet - what is

iOS

Tool what ViewController talk over View What is the difference between outlet connection and action connection?stackoverflow.com

the operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)

iOS

just reboot Xcode don't shut down emulator without xcode's stop button(Stop the running schema or application) Error after Xcode 6.3 updatestackoverflow.com

Composition or Inheritance

Prefer composition over inheritance?stackoverflow.com

http://d.hatena.ne.jp/JavaBlack/touch/20150118/p1

http://d.hatena.ne.jp/JavaBlack/touch/20150118/p1