Skip to content

Commit

Permalink
⭐️ Impl: Add CGSize+Helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 28, 2023
1 parent 0244539 commit 24e9a0c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ios/src_library/Helpers+Utilities/CGSize+Helpers.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// CGSize+Helpers.swift
// react-native-ios-modal
//
// Created by Dominic Go on 4/29/23.
//

import Foundation

public extension CGSize {
var isZero: Bool {
self == .zero || (self.width == 0 && self.height == 0);
};
};

0 comments on commit 24e9a0c

Please sign in to comment.