pub fn has_bundle(bundle_identifier: &str) -> bool {
    unsafe {
        let bundle_identifier = make_cfstring(bundle_identifier);
        if let Some(bundle_identifier) = bundle_identifier {
            let bundle = CFBundleGetBundleWithIdentifier(bundle_identifier);
            !bundle.is_null()
        } else {
            false
        }
    }
}
/// Check if there's a non-null CFBundle with this identifier.
Check if there's a non-null CFBundle with this identifier.
Check if there ' s a non - null CFBundle with this identifier .
pub fn has_bundle(bundle_identifier: &str) -> bool {
    unsafe {
        let bundle_identifier = make_cfstring(bundle_identifier);
        if let Some(bundle_identifier) = bundle_identifier {
            let bundle = CFBundleGetBundleWithIdentifier(bundle_identifier);
            !bundle.is_null()
        } else {
            false
        }
    }
}
pub fn has_bundle ( bundle_identifier : & str ) -> bool { unsafe { let bundle_identifier = make_cfstring ( bundle_identifier ) ; if let Some ( bundle_identifier ) = bundle_identifier { let bundle = CFBundleGetBundleWithIdentifier ( bundle_identifier ) ; ! bundle . is_null ( ) } else { false } } }
Check if there's a non-null CFBundle with this identifier.
Check if there ' s a non - null CFBundle with this identifier .
bundle_identifier
&str
bundle_identifier
&str