Skip to content

Commit

Permalink
chore(ios): fix typos and update code comment (#3738)
Browse files Browse the repository at this point in the history
* chore: Fix multiple typos

Signed-off-by: hugo-syn <[email protected]>

* chore(ios): update code comment

---------

Signed-off-by: hugo-syn <[email protected]>
Co-authored-by: hugo-syn <[email protected]>
  • Loading branch information
wwwcg and hugo-syn authored Jan 24, 2024
1 parent 1306a77 commit f779b3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions modules/ios/base/HippyUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@

NS_ASSUME_NONNULL_BEGIN


// Check is we are currently on the main queue (not to be confused with
// the main thread, which is not neccesarily the same thing)
// the main thread, which is not necessarily the same thing)
// https://twitter.com/olebegemann/status/738656134731599872
HIPPY_EXTERN BOOL HippyIsMainQueue(void);

Expand Down Expand Up @@ -146,12 +145,18 @@ HIPPY_EXTERN NSStringEncoding HippyGetStringEncodingFromURLResponse(NSURLRespons
#pragma mark -

/// 工具类
/// Utility class
///
/// 注意,类名及方法名禁止修改
/// Note that modifying the class name and method name is prohibited!
@interface HippyUtils : NSObject

/// HippySDK版本号
/// HippySDK version number
///
/// 注意方法名禁止修改,外部可能会动态调用,判断Hippy版本号
/// 注意方法名禁止修改,外部可能会动态调用,来判断Hippy版本号
/// Note that the method name cannot be modified,
/// users may call it dynamically to determine the Hippy version number.
+ (NSString *)sdkVersion;

@end
Expand Down

0 comments on commit f779b3f

Please sign in to comment.