Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change header imports to use angle brankets. #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions KosherCocoa/Library/Categories/Foundation/MBCalendarCategories.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <KosherCocoa/NSCalendar+Components.h>
#import <KosherCocoa/NSCalendar+DateComparison.h>
#import <KosherCocoa/NSCalendar+DateManipulation.h>
#import <KosherCocoa/NSCalendar+Ranges.h>
#import <KosherCocoa/NSCalendar+Juncture.h>
#import <KosherCocoa/NSCalendar+hebrewYearTypes.h>

#import "NSDate+Components.h"
#import "NSDate+ConvenientDates.h"
#import "NSDate+Description.h"
#import <KosherCocoa/NSDate+Components.h>
#import <KosherCocoa/NSDate+ConvenientDates.h>
#import <KosherCocoa/NSDate+Description.h>

#import "NSDateComponents+AllComponents.h"
#import <KosherCocoa/NSDateComponents+AllComponents.h>

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/


@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

/**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

@interface NSDate (KCConvenientDates)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

@interface NSDateComponents (KCAllComponents)

Expand Down
7 changes: 4 additions & 3 deletions KosherCocoa/Library/Core/Calendar/Chagim/KCJewishCalendar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Foundation/Foundation.h>

#import <KosherCocoa/KCComplexZmanimCalendar.h>
#import <KosherCocoa/KCDaf.h>

/**
A class that can be used to check when Jewish holidays are.
Expand Down
2 changes: 1 addition & 1 deletion KosherCocoa/Library/Core/Calendar/Chagim/KCJewishHoliday.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014 Moshe Berman. All rights reserved.
//

@import Foundation;
#import <Foundation/Foundation.h>

/**
This class represents a Jewish holiday, including major and minor fasts, as well as modern Israeli holidays.
Expand Down
6 changes: 3 additions & 3 deletions KosherCocoa/Library/Core/Calendar/Daf Yomi/KCDaf.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

#import "KCConstants.h"
#import "KCTractates.h"
#import <KosherCocoa/KCConstants.h>
#import <KosherCocoa/KCTractates.h>

/**
This class represents a folio of the talmud.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import "KCDaf.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCDaf.h>

/**
This class calculates the current Daf Yomi being studied.
Expand Down
4 changes: 2 additions & 2 deletions KosherCocoa/Library/Core/Calendar/Parasha/KCParasha.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import "KCParashaReadings.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCParashaReadings.h>

/**
A class that represents a weekly parasha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Foundation/Foundation.h>
#import <KosherCocoa/MBCalendarCategories.h>
#import <KosherCocoa/KCParasha.h>

/**
* The KCParashatHashavuaCalculator class calculates which
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


@import Foundation;
#import <Foundation/Foundation.h>

/**
* This flag determines which custom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>
#import "KCSefiraFormatter.h"

#pragma mark - This class isn't finished yet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

/**
A class that calculates Sefirat Haomer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

#import "KCZmanimCalendar.h"
#import <KosherCocoa/KCZmanimCalendar.h>

/**
* This class extends ZmanimCalendar and provides many
Expand Down
4 changes: 2 additions & 2 deletions KosherCocoa/Library/Core/Calendar/Zmanim/KCZman.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import "KCComplexZmanimCalendar.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCComplexZmanimCalendar.h>

NS_SWIFT_NAME(Zman)
@interface KCZman : NSObject
Expand Down
4 changes: 2 additions & 2 deletions KosherCocoa/Library/Core/Calendar/Zmanim/KCZmanimCalendar.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import "KCAstronomicalCalendar.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCAstronomicalCalendar.h>

NS_SWIFT_NAME(ZmanimCalendar)
@interface KCZmanimCalendar : KCAstronomicalCalendar
Expand Down
4 changes: 2 additions & 2 deletions KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

/**
* A protocol defining methods to return sunrise and sunset times.
*/
NS_SWIFT_NAME(AstronomicalCalculator)
@interface KCAstronomicalCalculator : NSObject <NSObject>

- (id)init;
- (id _Nullable)init;

// MARK: - Calculating Sunrise

Expand Down
6 changes: 3 additions & 3 deletions KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//

#import <Foundation/Foundation.h>
#import "KCAstronomicalCalculator.h"
#import "KCConstants.h"
#import "trigonometry.h"
#import <KosherCocoa/KCAstronomicalCalculator.h>
#import <KosherCocoa/KCConstants.h>
#import <KosherCocoa/trigonometry.h>

@implementation KCAstronomicalCalculator

Expand Down
10 changes: 5 additions & 5 deletions KosherCocoa/Library/Core/Solar/KCAstronomicalCalendar.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import <Foundation/Foundation.h>

#import "KCGeoLocation.h"
#import "KCSunriseAndSunsetCalculator.h"
#import "KCNOAACalculator.h"
#import "KCAstronomicalCalculator.h"
#import <KosherCocoa/KCGeoLocation.h>
#import <KosherCocoa/KCSunriseAndSunsetCalculator.h>
#import <KosherCocoa/KCNOAACalculator.h>
#import <KosherCocoa/KCAstronomicalCalculator.h>

/**
A class that calculates various sunrise and sunset values.
Expand Down
2 changes: 1 addition & 1 deletion KosherCocoa/Library/Core/Solar/KCGeoLocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#import <Foundation/Foundation.h>
#import <math.h>
#import "KCConstants.h"
#import <KosherCocoa/KCConstants.h>

/** A class that represents a location and a timezone. */
NS_SWIFT_NAME(GeoLocation)
Expand Down
8 changes: 4 additions & 4 deletions KosherCocoa/Library/Core/Solar/KCNOAACalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// Created by Elyahu on 1/23/23.
//

@import Foundation;
#import "KCGeoLocation.h"
#import "KCConstants.h"
#import "KCAstronomicalCalculator.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCGeoLocation.h>
#import <KosherCocoa/KCConstants.h>
#import <KosherCocoa/KCAstronomicalCalculator.h>

/** 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 <a
Expand Down
8 changes: 4 additions & 4 deletions KosherCocoa/Library/Core/Solar/KCSunriseAndSunsetCalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* Use of KosherCocoa 3 is governed by the LGPL 2.1 License.
*/

@import Foundation;
#import "KCGeoLocation.h"
#import "KCConstants.h"
#import "KCAstronomicalCalculator.h"
#import <Foundation/Foundation.h>
#import <KosherCocoa/KCGeoLocation.h>
#import <KosherCocoa/KCConstants.h>
#import <KosherCocoa/KCAstronomicalCalculator.h>

/** A class that uses the United States Naval Almanac Algorithm to calculate sunrise and sunset. */

Expand Down
16 changes: 8 additions & 8 deletions KosherCocoa/Library/Headers/KCConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <KosherCocoa/KCAstronomical.h>
#import <KosherCocoa/KCBearing.h>
#import <KosherCocoa/KCHebrewYear.h>
#import <KosherCocoa/KCJewishHolidays.h>
#import <KosherCocoa/KCMolad.h>
#import <KosherCocoa/KCSunCalculationTypes.h>
#import <KosherCocoa/KCZenith.h>
#import <KosherCocoa/KCZenithExtended.h>