Skip to content

Commit

Permalink
style: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jul 8, 2024
1 parent 667644b commit c058ffe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Easydict/Swift/Service/OpenAI/BaseOpenAIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import OpenAI

// MARK: - BaseOpenAIService

// In order to solve the problems caused by inheriting the OpenAI service for custom OpenAI services, we had to add a new base class. FIX https://github.com/tisfeng/Easydict/pull/473#issuecomment-2022587699

@objcMembers
@objc(EZBaseOpenAIService)
public class BaseOpenAIService: LLMStreamService {
Expand Down
2 changes: 0 additions & 2 deletions Easydict/Swift/Service/OpenAI/LLMStreamService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import SwiftUI

// MARK: - LLMStreamService

// import SwiftUI

@objcMembers
@objc(EZLLMStreamService)
public class LLMStreamService: QueryService {
Expand Down
1 change: 0 additions & 1 deletion Easydict/objc/Service/Niutrans/EZNiuTransTranslate.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@interface EZNiuTransTranslate ()

//@property (nonatomic, copy) NSString *defaultAPIKey;
@property (nonatomic, copy) NSString *apiKey;

@end
Expand Down

0 comments on commit c058ffe

Please sign in to comment.