草庐IT

call-graph

全部标签

ios - 无法识别的选择器 isPitched called

在我的应用程序中,我正在显示带有注释的map,用户可以在TableView(在模态视图Controller中)中浏览注释列表。我遇到了一个奇怪的错误,我可以在设备和模拟器(iOS7和8)中重现该错误。在倾斜模式下,如果我尝试在我的POITableView中选择一个项目,它会执行以下操作之一:将map中心更改为map上的随机点,而不是所选注释。因我放入的消息(启用NSZombies)而崩溃。-[__NSCFStringisPitched]:unrecognizedselectorsenttoinstance0x7f24e6e0我尝试了几种方法来解决这个错误,但都没有成功。令我困惑的是我找

【论文阅读】An Overview of Reachability Indexes on Graphs

ChaoZhang,AngelaBonifati,andM.TamerÖzsu.2023.AnOverviewofReachabilityIndexesonGraphs.InCompanionofthe2023InternationalConferenceonManagementofData(SIGMOD'23).AssociationforComputingMachinery,NewYork,NY,USA,61–68.https://doi.org/10.1145/3555041.3589408ABSTRACT图一直是建模实体和它们之间的关系的自然选择。最基本的图处理运算符之一是可达性查询,

ios - Facebook Graph API v2.3 查询 @"me/taggable_friends"给出所有没有生日的 friend 的详细信息。如何获取 friend 生日的详细信息?

我正在使用facebooksdkv2.3并尝试查找friend的生日。使用查询@"me/friends"我们只能找到使用相同应用程序的friend。但我需要找到所有friend的生日详细信息。我正在使用@"me/taggable_friends"这个查询给出了没有生日的friend的详细信息。所以给我权限名称或查询任何其他方式来让所有生日的friend。我正在使用这样的代码......if([FBSDKAccessTokencurrentAccessToken]){[[[FBSDKGraphRequestalloc]initWithGraphPath:@"me/taggable_fri

ios - scrollViewWillBeginDragging : Not getting called in UICollectionview

我有一个UIView,其中有一个UICollectionview。为了了解UICollectionview的滚动距离,我使用了scrollViewWillBeginDragging:,但它没有被调用。示例代码是-(void)scrollViewWillBeginDragging:(UIScrollView*)scrollView{CGPointtranslation=[scrollView.panGestureRecognizertranslationInView:scrollView.superview];if(translation.y>0){//draggingdown_reus

论文阅读 - Natural Language is All a Graph Needs

目录摘要IntroductionRelatedWork3InstructGLM3.1Preliminary3.2InstructionPromptDesign3.3节点分类的生成指令调整3.4辅助自监督链路预测4Experiments4.1ExperimentalSetup4.2MainResults4.2.1ogbn-arxiv 4.2.2Cora&PubMed4.3AblationStudy4.4InstructionTuningatLowLabelRatio 5FutureWork论文链接:https://arxiv.org/pdf/2308.07134.pdf摘要        Cha

ios - 代码 141(错误 : success/error was not called) on Parse Cloud Code nested queries

背景:我有一个Parse图像数据库。简单地说,我的代码是这样做的:用户通过ParseCloud调用请求图像(“getNewPicture”)。嵌套在我检查他之前是否看过任何图片(以及其他要求),如果是,则提供一张特定图片(getSpecifiedPicture)。如果他还没有,那么我提供一张新图片(getNewPicture)。问题:通过ParseCloudCode函数调用“getNewPicture”我得到一个错误代码141。奇怪的是它在Android而不是iOS上运行。我的代码:Parse.Cloud.define("getNewPicture",function(request,

ios - 对 MS Graph API 的请求给我 "Authorization Request Denied - Insufficient privileges to complete the operation"

我对“授权请求被拒绝-权限不足,无法完成操作”消息有疑问,我不断从对WindowsGraphAPI的请求中返回。具体来说,我在Azure云中工作。我有一个调用API的iOS移动应用程序。我已在我的门户中打开“ActiveDirectory身份验证”。然后,在客户端(iOS):[self.todoService.clientloginWithProvider:@"windowsazureactivedirectory"controller:selfanimated:YEScompletion:^(MSUser*user,NSError*error){if(!error&&user){[s

ios - UIButton 执行选择器 :withObject:withObject: not making call

这是我的代码。UIButton*button=[UIButtonbuttonWithType:UIButtonTypeCustom];button.frame=CGRectMake(110,270,100,40);button.backgroundColor=[UIColorgrayColor];[buttonsetTitle:@"next"forState:UIControlStateNormal];[self.viewaddSubview:button];我想通过这个方法设置按钮标题颜色但它不起作用![buttonperformSelector:@selector(setTitle

ios - Swift 3.0 迁移后的 Alamofire 错误 : “Extra argument in Call' ” (request method)

我目前正在将我的代码库更新到Swift3.0,并且我正在使用Alamofire。因此,我必须将Alamofire更新到4.0(Alamofiregitrepo)。我有一个请求从服务器获取数据的方法,在迁移之前,它工作得非常好。在使用Xcode的迁移工具之后,我得到了这个错误:“ExtraargumentinCall”。我不太确定为什么此方法不再有效。任何帮助都会很棒!classfuncmakeRequest(_method:RequestMethod,authorization:String?,uri:String,params:JSONDictionary?,retry:Bool=t

ios - `willPresent notification` 是 't called & local notifications aren' t 当应用程序在 iOS 10 中处于前台时不显示

当我第一次运行我的应用程序时,模拟器能够在应用程序处于前台时显示通知。当我重新启动应用程序时didReceivenotification:(即来自iOS9的通知方法)被调用而不是willPresentnotification(即来自iOS10的通知方法)并且没有通知当应用程序在前台时显示。但是,如果应用程序在后台,则会显示通知。这都不是question或者这个question提供了解决这个问题的方法。我使用此代码获得通知授权:funcapplication(_application:UIApplication,willFinishLaunchingWithOptionslaunchOp