what will happen if weak variable is assigned to strong variable . Will the strong gets released when weak goes out of scope , will it create a memory leak ? As per my assumption compiler will add release statement for the strong variable in ARC mode and it will not create memory leak . Correct me if I am wrong.
问问题
107 次