Пример #1
0
 private UITableViewCell CreateTaskCell(NSString cellIdentifier)
 {
     return(DailyWeatherTableView.DequeueReusableCell(nameof(DailyWeatherTableViewCell)) as DailyWeatherTableViewCell);
 }
        void ReleaseDesignerOutlets()
        {
            if (ActivityIndicator != null)
            {
                ActivityIndicator.Dispose();
                ActivityIndicator = null;
            }

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

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

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

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

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

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

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

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

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

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