File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1100,6 +1100,10 @@ pub trait NSBundle: Sized {
1100
1100
name : id /* NSString */ ,
1101
1101
owner : id ,
1102
1102
topLevelObjects : * mut id /* NSArray */ ) -> BOOL ;
1103
+
1104
+ unsafe fn bundleIdentifier ( self ) -> id /* NSString */ ;
1105
+
1106
+ unsafe fn resourcePath ( self ) -> id /* NSString */ ;
1103
1107
}
1104
1108
1105
1109
impl NSBundle for id {
@@ -1115,6 +1119,14 @@ impl NSBundle for id {
1115
1119
owner: owner
1116
1120
topLevelObjects: topLevelObjects]
1117
1121
}
1122
+
1123
+ unsafe fn bundleIdentifier ( self ) -> id /* NSString */ {
1124
+ msg_send ! [ self , bundleIdentifier]
1125
+ }
1126
+
1127
+ unsafe fn resourcePath ( self ) -> id /* NSString */ {
1128
+ msg_send ! [ self , resourcePath]
1129
+ }
1118
1130
}
1119
1131
1120
1132
pub trait NSData : Sized {
You can’t perform that action at this time.
0 commit comments