void ReleaseDesignerOutlets()
        {
            if (CurrentTimeEntryCard != null)
            {
                CurrentTimeEntryCard.Dispose();
                CurrentTimeEntryCard = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WelcomeBackView != null)
            {
                WelcomeBackView.Dispose();
                WelcomeBackView = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (CurrentTimeEntryCard != null)
            {
                CurrentTimeEntryCard.Dispose();
                CurrentTimeEntryCard = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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