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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -