pub unsafe fn app_name() -> Option<id> {
    let bundle: id = msg_send![class!(NSBundle), mainBundle];
    let dict: id = msg_send![bundle, infoDictionary];
    let key = ns_string_id_ref("CFBundleName");
    let app_name: id = msg_send![dict, objectForKey:*key];
    if app_name != nil {
        Some(app_name)
    } else {
        None
    }
}
// In case we want to use this function in the future
In case we want to use this function in the future
In case we want to use this function in the future
pub unsafe fn app_name() -> Option<id> {
    let bundle: id = msg_send![class!(NSBundle), mainBundle];
    let dict: id = msg_send![bundle, infoDictionary];
    let key = ns_string_id_ref("CFBundleName");
    let app_name: id = msg_send![dict, objectForKey:*key];
    if app_name != nil {
        Some(app_name)
    } else {
        None
    }
}
pub unsafe fn app_name ( ) -> Option < id > { let bundle : id = msg_send ! [ class ( NSBundle ) mainBundle ] ; let dict : id = msg_send ! [ bundle infoDictionary ] ; let key = ns_string_id_ref ( " " ) ; let app_name : id = msg_send ! [ dict objectForKey key ] ; if app_name != nil { Some ( app_name ) } else { None } }
In case we want to use this function in the future
In case we want to use this function in the future