示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (AccountImageView != null)
            {
                AccountImageView.Dispose();
                AccountImageView = null;
            }

            if (AccountImageViewTrailingConstraint != null)
            {
                AccountImageViewTrailingConstraint.Dispose();
                AccountImageViewTrailingConstraint = null;
            }

            if (AccountsView != null)
            {
                AccountsView.Dispose();
                AccountsView = null;
            }

            if (HeaderView != null)
            {
                HeaderView.Dispose();
                HeaderView = null;
            }

            if (HeaderViewTopConstraint != null)
            {
                HeaderViewTopConstraint.Dispose();
                HeaderViewTopConstraint = null;
            }

            if (NameLabel != null)
            {
                NameLabel.Dispose();
                NameLabel = null;
            }

            if (PostBarButton != null)
            {
                PostBarButton.Dispose();
                PostBarButton = null;
            }

            if (SortOrderSegmentedControl != null)
            {
                SortOrderSegmentedControl.Dispose();
                SortOrderSegmentedControl = null;
            }

            if (TableViewTopConstraint != null)
            {
                TableViewTopConstraint.Dispose();
                TableViewTopConstraint = null;
            }

            if (SignedOutLabel != null)
            {
                SignedOutLabel.Dispose();
                SignedOutLabel = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (BackgroundImageView != null)
            {
                BackgroundImageView.Dispose();
                BackgroundImageView = null;
            }

            if (CountLabel != null)
            {
                CountLabel.Dispose();
                CountLabel = null;
            }

            if (FacebookButton != null)
            {
                FacebookButton.Dispose();
                FacebookButton = null;
            }

            if (FacebookTrailingConstraint != null)
            {
                FacebookTrailingConstraint.Dispose();
                FacebookTrailingConstraint = null;
            }

            if (FooterView != null)
            {
                FooterView.Dispose();
                FooterView = null;
            }

            if (FooterViewBottomConstraint != null)
            {
                FooterViewBottomConstraint.Dispose();
                FooterViewBottomConstraint = null;
            }

            if (PostButton != null)
            {
                PostButton.Dispose();
                PostButton = null;
            }

            if (TextView != null)
            {
                TextView.Dispose();
                TextView = null;
            }

            if (TwitterButton != null)
            {
                TwitterButton.Dispose();
                TwitterButton = null;
            }

            if (TwitterTrailingConstraint != null)
            {
                TwitterTrailingConstraint.Dispose();
                TwitterTrailingConstraint = null;
            }

            if (AccountsView != null)
            {
                AccountsView.Dispose();
                AccountsView = null;
            }
        }