xamarin.ios - Disposing a cloned object also disposes the reference object -
uicolor foo = (uicolor) bar.copy(); foo.dispose(); i observing above code causes bar disposed. based on documentation, foo should new instance of bar , therefore expect bar not affected changes made foo.
can explain why happening? perhaps i'm misunderstanding something... if so, there way copy of uicolor without having copy on of property values myself?
Comments
Post a Comment