diff --git a/KosherCocoa/Library/Categories/Foundation/MBCalendarCategories.h b/KosherCocoa/Library/Categories/Foundation/MBCalendarCategories.h index 1f338c7..6709652 100644 --- a/KosherCocoa/Library/Categories/Foundation/MBCalendarCategories.h +++ b/KosherCocoa/Library/Categories/Foundation/MBCalendarCategories.h @@ -11,17 +11,17 @@ #ifndef MBCalendarKit_NSCalendarCategories_h #define MBCalendarKit_NSCalendarCategories_h -#import "NSCalendar+Components.h" -#import "NSCalendar+DateComparison.h" -#import "NSCalendar+DateManipulation.h" -#import "NSCalendar+Ranges.h" -#import "NSCalendar+Juncture.h" -#import "NSCalendar+hebrewYearTypes.h" +#import +#import +#import +#import +#import +#import -#import "NSDate+Components.h" -#import "NSDate+ConvenientDates.h" -#import "NSDate+Description.h" +#import +#import +#import -#import "NSDateComponents+AllComponents.h" +#import #endif diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Components.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Components.h index d758879..1fd08d3 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Components.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Components.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateComparison.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateComparison.h index b1b2310..5b5c543 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateComparison.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateComparison.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateManipulation.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateManipulation.h index 21ccb03..92dc2a4 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateManipulation.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+DateManipulation.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Juncture.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Juncture.h index 3a92bb7..6df35e8 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Juncture.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Juncture.h @@ -9,7 +9,7 @@ */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Ranges.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Ranges.h index 41aef31..8ad1301 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Ranges.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+Ranges.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+hebrewYearTypes.h b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+hebrewYearTypes.h index 7203b98..284bc58 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+hebrewYearTypes.h +++ b/KosherCocoa/Library/Categories/Foundation/NSCalendar/NSCalendar+hebrewYearTypes.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import /** diff --git a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Components.h b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Components.h index 17033a1..7671977 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Components.h +++ b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Components.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+ConvenientDates.h b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+ConvenientDates.h index a15d175..a8ccc27 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+ConvenientDates.h +++ b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+ConvenientDates.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import @interface NSDate (KCConvenientDates) diff --git a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Description.h b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Description.h index 5055547..4f8307e 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Description.h +++ b/KosherCocoa/Library/Categories/Foundation/NSDate/NSDate+Description.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import NS_ASSUME_NONNULL_BEGIN diff --git a/KosherCocoa/Library/Categories/Foundation/NSDateComponents/NSDateComponents+AllComponents.h b/KosherCocoa/Library/Categories/Foundation/NSDateComponents/NSDateComponents+AllComponents.h index 5ea6f36..76b6afb 100644 --- a/KosherCocoa/Library/Categories/Foundation/NSDateComponents/NSDateComponents+AllComponents.h +++ b/KosherCocoa/Library/Categories/Foundation/NSDateComponents/NSDateComponents+AllComponents.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import @interface NSDateComponents (KCAllComponents) diff --git a/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishCalendar.h b/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishCalendar.h index 01161c5..4b56e2d 100644 --- a/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishCalendar.h +++ b/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishCalendar.h @@ -9,9 +9,10 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "KCComplexZmanimCalendar.h" -#import "KCDaf.h" +#import + +#import +#import /** A class that can be used to check when Jewish holidays are. diff --git a/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishHoliday.h b/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishHoliday.h index 1188ee6..d2c035f 100644 --- a/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishHoliday.h +++ b/KosherCocoa/Library/Core/Calendar/Chagim/KCJewishHoliday.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 Moshe Berman. All rights reserved. // -@import Foundation; +#import /** This class represents a Jewish holiday, including major and minor fasts, as well as modern Israeli holidays. diff --git a/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDaf.h b/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDaf.h index 9682e85..3e7fc8a 100644 --- a/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDaf.h +++ b/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDaf.h @@ -8,10 +8,10 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import -#import "KCConstants.h" -#import "KCTractates.h" +#import +#import /** This class represents a folio of the talmud. diff --git a/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDafYomiCalculator.h b/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDafYomiCalculator.h index ed0d0dc..54e4097 100644 --- a/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDafYomiCalculator.h +++ b/KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDafYomiCalculator.h @@ -8,8 +8,8 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "KCDaf.h" +#import +#import /** This class calculates the current Daf Yomi being studied. diff --git a/KosherCocoa/Library/Core/Calendar/Parasha/KCParasha.h b/KosherCocoa/Library/Core/Calendar/Parasha/KCParasha.h index c40b4df..e2c2d30 100644 --- a/KosherCocoa/Library/Core/Calendar/Parasha/KCParasha.h +++ b/KosherCocoa/Library/Core/Calendar/Parasha/KCParasha.h @@ -8,8 +8,8 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "KCParashaReadings.h" +#import +#import /** A class that represents a weekly parasha diff --git a/KosherCocoa/Library/Core/Calendar/Parasha/KCParashatHashavuaCalculator.h b/KosherCocoa/Library/Core/Calendar/Parasha/KCParashatHashavuaCalculator.h index 6ff9552..84d5dfd 100644 --- a/KosherCocoa/Library/Core/Calendar/Parasha/KCParashatHashavuaCalculator.h +++ b/KosherCocoa/Library/Core/Calendar/Parasha/KCParashatHashavuaCalculator.h @@ -8,9 +8,9 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "MBCalendarCategories.h" -#import "KCParasha.h" +#import +#import +#import /** * The KCParashatHashavuaCalculator class calculates which diff --git a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.h b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.h index 1332f39..ed62240 100644 --- a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.h +++ b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.h @@ -25,7 +25,7 @@ */ -@import Foundation; +#import /** * This flag determines which custom diff --git a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.m b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.m index ebf8978..c0fdde9 100644 --- a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.m +++ b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiraFormatter.m @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import #import "KCSefiraFormatter.h" #pragma mark - This class isn't finished yet. diff --git a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiratHaomerCalculator.h b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiratHaomerCalculator.h index b968a4e..26a10ea 100644 --- a/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiratHaomerCalculator.h +++ b/KosherCocoa/Library/Core/Calendar/Sefira/KCSefiratHaomerCalculator.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import /** A class that calculates Sefirat Haomer. diff --git a/KosherCocoa/Library/Core/Calendar/Zmanim/KCComplexZmanimCalendar.h b/KosherCocoa/Library/Core/Calendar/Zmanim/KCComplexZmanimCalendar.h index fe9cec9..df42b75 100644 --- a/KosherCocoa/Library/Core/Calendar/Zmanim/KCComplexZmanimCalendar.h +++ b/KosherCocoa/Library/Core/Calendar/Zmanim/KCComplexZmanimCalendar.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -#import "KCZmanimCalendar.h" +#import /** * This class extends ZmanimCalendar and provides many diff --git a/KosherCocoa/Library/Core/Calendar/Zmanim/KCZman.h b/KosherCocoa/Library/Core/Calendar/Zmanim/KCZman.h index 639eb14..24f86b1 100644 --- a/KosherCocoa/Library/Core/Calendar/Zmanim/KCZman.h +++ b/KosherCocoa/Library/Core/Calendar/Zmanim/KCZman.h @@ -7,8 +7,8 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "KCComplexZmanimCalendar.h" +#import +#import NS_SWIFT_NAME(Zman) @interface KCZman : NSObject diff --git a/KosherCocoa/Library/Core/Calendar/Zmanim/KCZmanimCalendar.h b/KosherCocoa/Library/Core/Calendar/Zmanim/KCZmanimCalendar.h index ec36a28..d9668d3 100644 --- a/KosherCocoa/Library/Core/Calendar/Zmanim/KCZmanimCalendar.h +++ b/KosherCocoa/Library/Core/Calendar/Zmanim/KCZmanimCalendar.h @@ -8,8 +8,8 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; -#import "KCAstronomicalCalendar.h" +#import +#import NS_SWIFT_NAME(ZmanimCalendar) @interface KCZmanimCalendar : KCAstronomicalCalendar diff --git a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h index 32b614a..eb7b06e 100644 --- a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h +++ b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h @@ -8,7 +8,7 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import /** * A protocol defining methods to return sunrise and sunset times. @@ -16,7 +16,7 @@ NS_SWIFT_NAME(AstronomicalCalculator) @interface KCAstronomicalCalculator : NSObject -- (id)init; +- (id _Nullable)init; // MARK: - Calculating Sunrise diff --git a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m index b9cfc07..f6ecc2b 100644 --- a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m +++ b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m @@ -6,9 +6,9 @@ // #import -#import "KCAstronomicalCalculator.h" -#import "KCConstants.h" -#import "trigonometry.h" +#import +#import +#import @implementation KCAstronomicalCalculator diff --git a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalendar.h b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalendar.h index 76b623b..3ab168a 100644 --- a/KosherCocoa/Library/Core/Solar/KCAstronomicalCalendar.h +++ b/KosherCocoa/Library/Core/Solar/KCAstronomicalCalendar.h @@ -8,12 +8,12 @@ * Use of KosherCocoa 3 is governed by the LGPL 2.1 License. */ -@import Foundation; +#import -#import "KCGeoLocation.h" -#import "KCSunriseAndSunsetCalculator.h" -#import "KCNOAACalculator.h" -#import "KCAstronomicalCalculator.h" +#import +#import +#import +#import /** A class that calculates various sunrise and sunset values. diff --git a/KosherCocoa/Library/Core/Solar/KCGeoLocation.h b/KosherCocoa/Library/Core/Solar/KCGeoLocation.h index 6ca1c3c..23f2b66 100644 --- a/KosherCocoa/Library/Core/Solar/KCGeoLocation.h +++ b/KosherCocoa/Library/Core/Solar/KCGeoLocation.h @@ -10,7 +10,7 @@ #import #import -#import "KCConstants.h" +#import /** A class that represents a location and a timezone. */ NS_SWIFT_NAME(GeoLocation) diff --git a/KosherCocoa/Library/Core/Solar/KCNOAACalculator.h b/KosherCocoa/Library/Core/Solar/KCNOAACalculator.h index d8ce111..40324ab 100644 --- a/KosherCocoa/Library/Core/Solar/KCNOAACalculator.h +++ b/KosherCocoa/Library/Core/Solar/KCNOAACalculator.h @@ -5,10 +5,10 @@ // Created by Elyahu on 1/23/23. // -@import Foundation; -#import "KCGeoLocation.h" -#import "KCConstants.h" -#import "KCAstronomicalCalculator.h" +#import +#import +#import +#import /** A class that uses the US National Oceanic and Atmospheric Administration Algorithm to calculate sunrise and sunset. * Implementation of sunrise and sunset methods to calculate astronomical times based on the +#import +#import +#import /** A class that uses the United States Naval Almanac Algorithm to calculate sunrise and sunset. */ diff --git a/KosherCocoa/Library/Headers/KCConstants.h b/KosherCocoa/Library/Headers/KCConstants.h index 3e05a75..7e4920a 100644 --- a/KosherCocoa/Library/Headers/KCConstants.h +++ b/KosherCocoa/Library/Headers/KCConstants.h @@ -11,11 +11,11 @@ */ -#import "KCAstronomical.h" -#import "KCBearing.h" -#import "KCHebrewYear.h" -#import "KCJewishHolidays.h" -#import "KCMolad.h" -#import "KCSunCalculationTypes.h" -#import "KCZenith.h" -#import "KCZenithExtended.h" +#import +#import +#import +#import +#import +#import +#import +#import