Skip to content

Commit 6b4bb5a

Browse files
rabbleterragon-labs[bot]
andcommitted
style(coredata, wallet, service): remove redundant ABOUTME comments and fix SwiftLint issues
Removed duplicate ABOUTME comments from Core Data entity files, wallet models, and service files to clean up code headers. Fixed SwiftLint issues including missing trailing newlines and header comment patterns across multiple files. Added a new markdown file documenting the SwiftLint fixes applied. Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
1 parent 13afab1 commit 6b4bb5a

14 files changed

Lines changed: 40 additions & 36 deletions

Nos/Models/CoreData/CashuTokenCache+CoreDataClass.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data entity for caching individual Cashu tokens
2-
// ABOUTME: Tracks token state and provides efficient querying
3-
41
import Foundation
52
import CoreData
63
import CashuSwift

Nos/Models/CoreData/CashuTokenCache+CoreDataProperties.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data generated properties for CashuTokenCache entity
2-
// ABOUTME: Defines attributes and relationships for token caching
3-
41
import Foundation
52
import CoreData
63

Nos/Models/CoreData/CashuTransaction+CoreDataClass.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data entity for tracking Cashu wallet transactions
2-
// ABOUTME: Provides transaction history and analytics capabilities
3-
41
import Foundation
52
import CoreData
63

Nos/Models/CoreData/CashuTransaction+CoreDataProperties.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data generated properties for CashuTransaction entity
2-
// ABOUTME: Defines attributes and relationships for transaction tracking
3-
41
import Foundation
52
import CoreData
63

Nos/Models/CoreData/CashuWalletCache+CoreDataClass.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data entity for caching Cashu wallet data locally
2-
// ABOUTME: Provides fast access to wallet information and balance calculations
3-
41
import Foundation
52
import CoreData
63

Nos/Models/CoreData/CashuWalletCache+CoreDataProperties.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Core Data generated properties for CashuWalletCache entity
2-
// ABOUTME: Defines all attributes and relationships for wallet caching
3-
41
import Foundation
52
import CoreData
63

Nos/Models/Wallet/CashuSwiftIntegration.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Bridge between CashuSwift library types and Nos wallet implementation
2-
// ABOUTME: Provides type conversions and real Cashu protocol operations
3-
41
import Foundation
52
import CashuSwift
63

Nos/Models/Wallet/CashuWallet.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// ABOUTME: Core CashuWallet model for managing Cashu ecash wallets
2-
// ABOUTME: Implements NIP-60 wallet data storage and NIP-61 nutzap support
1+
// ABOUTME: Core CashuWallet model for managing Cashu ecash wallets and implements NIP-60/NIP-61 support
32

43
import Foundation
54
import CashuSwift

Nos/Models/Wallet/CashuWalletTokenStorage.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Token storage and retrieval methods for CashuWallet
2-
// ABOUTME: Manages fetching and storing tokens using Core Data cache
3-
41
import Foundation
52
import CoreData
63
import CashuSwift

Nos/Service/CashuCacheService.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ABOUTME: Service for managing Core Data cache of Cashu wallet data
2-
// ABOUTME: Handles synchronization between Nostr events and local cache
3-
41
import Foundation
52
import CoreData
63
import CashuSwift

0 commit comments

Comments
 (0)