Closed palringosteve closed 11 years ago
The makeTempViewsWithStrings:andImages: method does not conform to naming conventions (methods that return a retained object should start with init, new, copy etc). This causes the Analyser to identify a memory leak when returning tempViewArray.
makeTempViewsWithStrings:andImages:
init
new
copy
tempViewArray
For reference: http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html%23//apple_ref/doc/uid/TP40011210-CH10-SW9
http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/MemoryMgmt/Articles/mmRules.html%23//apple_ref/doc/uid/20000994-SW1
The
makeTempViewsWithStrings:andImages:
method does not conform to naming conventions (methods that return a retained object should start withinit
,new
,copy
etc). This causes the Analyser to identify a memory leak when returningtempViewArray
.For reference: http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html%23//apple_ref/doc/uid/TP40011210-CH10-SW9
http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/MemoryMgmt/Articles/mmRules.html%23//apple_ref/doc/uid/20000994-SW1