Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

kvo.m without autorelease #5

Merged
merged 2 commits into from
Feb 6, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kvo.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
// Completion Scope: Function or Method // Completion Scope: Function or Method


[self willChangeValueForKey:@"<#ivar#>"]; [self willChangeValueForKey:@"<#ivar#>"];
[<#ivar#> autorelease]; <#ivar#> = <#newValue#>;
<#ivar#> = [<#newValue#> retain];
[self didChangeValueForKey:@"<#ivar#>"]; [self didChangeValueForKey:@"<#ivar#>"];