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=1558553101; bh=HVtTFGmicq14gIUjnXX9nFd7vF0vNL6umI5rM+c2M7g=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=C47RvBSsWyGwHXIxfYuZvxguFIijK2avJClT21CB/u5nGMPrpZIH8D5y7PUeZ1xXW ILNtcsgyCiJO0XEGyqLgXkkeYe5Asw/ii5X5IFSn9pCYkZ2r5BBhKH9dq8L/oIc5ra 5fCm9z6MQFqTtRPqciuukPZ2Uqc8ba1UdZbcySWvaOdbz7fMpRXkgGG1dMo27I14UM kp01BS9WJK774NVm+DtPf2QHOFBsSbcL7z5F9QGIouta+d+JmxG/7kMgnmCGGdu+ZO FJFggFn3uhd9om1uZVMQX/lwGayHBtcEUS/fmxnCmvYhcpjyGRGbmA+IUR0+EL1t+y WuVycU+LUhCww== In the Build Phases tab of the target, open compile sources and set the compiler flags for your subclass’s .m to -fno-objc-arc. Don’t forget that the signature for -release is -(oneway void)release, not just -(void)release :) Daniel
On May 22, 2019, at 12:13 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:
On May 22, 2019, at 11:31 AM, Daniel DeCovnick <danhd123@mac.com <mailto:danhd123@mac.com>> wrote:
You can always subclass, turn off ARC for that file, and override -release or -autorelease to breakpoint in.
How does one turn off ARC for a specific file? -Carl
_______________________________________________ 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
participants (1)
-
Daniel DeCovnick