• Valeriy Van's avatar
    Merge pull request #7178 from valeriyvan:iosfixes · f1dcf71d
    Valeriy Van authored
    * Changes delegate property from assign to weak
    
    In modern Objective-C delegate should be weak. In very rare conditions you might want delegate be strong.
    Assign for delegate is sign of legacy code.
    This change prevents crash when you forget nil delegate in dealloc and makes rush with nilling delegate unnecessary.
    This change shouldn't break any existing code.
    
    * Adds implementation for setters and getters for weak delegate properties for non ARC Obj-C files
    
    For whatever reason compiler can't synthesize these.
    And yes, it's time to convert all Objective-C stuff to ARC.
    f1dcf71d
Name
Last commit
Last update
..
calib3d Loading commit data...
core Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaobjdetect Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...