site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1502150554; bh=RIUZFz3HBW1LbK2p2ZASTfUt3XjkQn2i1KKTSzNO/RA=; h=To:From:Subject:Message-id:Date:MIME-version:Content-type; b=DcjdTZ7ESOtw/xq2rHjbOYmj/qp0aAdIBW8JfVZ8RxyWMSHDVCdt8RrJiHuQYauZA GM1FDIFlXqr8TiFKdysEK6OVaiJinkZjf+mPr1NGw5Wl8mV6fDyHLPrPaob1UVv5W/ NlBDKb+OG1v7bq/GOlzvmz3EwwFW0Mfa3LOhySvrvSoOBJYx5m3bbOyLB/7Prh2mzC tR+N7t09Z9FbDnsjON6FlqRYjMcm0e7s//CU+Ew1PcmauxzhasHV0PS9oRYFCqPQl4 hy94dQPMVU76u4jjXY7njDAa/osAsYGHvSs62EAWNxh8P9vYMYSoiE4k1ss38HVVf0 Q53EeU8PB/O0Q== User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 I recently saw some code where an object was alloced but there was no init: Foo *foo = [Foo alloc]; foo.bar = ... My blood pressure soared! My pulse quickened! I started breathing rapidly! Right? [Still trying to get pulse down...] D _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com But then I though - heck, if Foo has NSObject as its super class, gee, maybe -init isn't really need. I mean, if all of Foo's ivars and properties are initialized, its a shortcut, right.