草庐IT

3rd_issues

全部标签

spring - 使用 Spring Integration Issues 配置 TCP 通信

我似乎在配置我的SpringMVC后端来接收和发送TCP消息时遇到了一些问题。查看用户在此问题中建议的配置-howtoplugaTCP-IPclientserverinaspringMVCapplication-我试图将此配置放入我的root-context.xml。但是,对于所有标签,它都会显示一条消息,例如:无法为架构namespace“http://www.springframework.org/schema/integration/ip”的元素“int-ip:tcp-outbound-gateway”找到SpringNamespaceHandlerint-ip:tcp-outb

cordova - Phonegap 版本 : geofence custom plugin issue

我尝试使用PhonegapGeofencePlugin(在iOS部分用swift编写)与我的应用程序。通过PhonegapBuild构建项目时,我得到以下信息stacktrace对于iOS构建。XCode在编译期间找不到扩展名为.d的文件。Phonegap版本是PGBuild中的默认版本:3.6.3。我通过以下方式包含插件:是插件问题还是配置问题?谢谢! 最佳答案 看起来Swift代码无法与Obj-C代码通信。您需要添加一个桥文件来解决这个问题。您需要添加一个名为project-Bridging-Header.h的文件(projec

swift 3 : issue with AVVideoCompositionCoreAnimationTool to add watermark on video

以下代码可以完美地使用AVVideoCompositionCoreAnimationTool向视频添加Logo和文本。然后Swift3来了!现在有时视频会显示带有Logo和文本,有时视频在导出时不显示。letvideoComposition:AVMutableVideoComposition=AVMutableVideoComposition()videoComposition.frameDuration=CMTimeMake(1,60)videoComposition.renderSize=CGSize(width:clipVideoTrack.naturalSize.height,

ios - swift : Issue with accessing CFDictionaryRef for ABAddressBookRef

我已经在ObjC中收集了联系人的地址信息,ABMultiValueRefaddressProperty=ABRecordCopyValue(contactRef,kABPersonAddressProperty);CFDictionaryRefdict=ABMultiValueCopyValueAtIndex(addressProperty,0);if(dict){NSString*street=(NSString*)CFDictionaryGetValue(dict,kABPersonAddressStreetKey);}所以,等效的Swift代码是,letaddressProper

ios - 快速翻转 View : issues with whole screen flipping + tap gesture only works twice

我想创建一个简单的翻转效果,但我不明白我这里遇到的问题:整个屏幕都在翻转,不仅仅是View,有没有办法只翻转100,100平方?我只能翻转两次,然后水龙头就不能用了,你知道为什么吗?importUIKitclassViewController:UIViewController{varfromOneToTwo:Bool=truevarview1:UIImageView!varview2:UIImageView!vartap:UITapGestureRecognizer!funchandleTap(tap:UITapGestureRecognizer){println("1/fromOne

ios - swift/iOS SDK : Generic Function with Class Type/Name Closure/Block Issue

我正在尝试编写一个通用类,它采用自定义类名并创建该类名的实例。在创建之前和之后,我做了一些适用于所有类的通用内容。我想向特定于类的实例添加一些参数。这就是为什么我添加了一个闭包,该闭包在使用实例对象本身作为闭包参数创建实例后被调用。关闭是可选的。有趣的是,在没有闭包的情况下调用函数工作得很好,如果我添加闭包,我会得到以下编译器错误:Expectedmembernameorconstructorcallaftertypename此编译器错误适用于第一个参数,这没有任何意义,因为仅使用第一个参数调用该函数就可以正常工作...我添加了我的简单示例以供Playground使用:classBas

ios - Alamofire 构建失败 : issues in Manager. swift、Request.swift 和 ResponseSerialization.swift

我在我的项目中添加了Alamofire框架,之后如果我尝试构建项目,它会在这些Alamofire文件中引发错误:Manager.swift、Request.swift和ResponseSerialization.swift错误截图如下: 最佳答案 更新Xcode。您安装的Alamofire版本针对的是最新的Swift版本,但是您的Xcode版本比那个版本旧,因此它无法识别语法。 关于ios-Alamofire构建失败:issuesinManager.swift、Request.swift

swift - 无法识别的选择器发送到实例 0x7f9d19e02870 ISSUE with UIButton

当我单击按钮creaX时,我的应用程序崩溃并且控制台显示以下错误,Thread1:signalSIGABRTinAppDelegate.我试图检查按钮是否有它可能没有的socket,但一切正常,我试图断开按钮与ViewController的连接并重新连接它,我试图再创建一次Action按钮(也从outlets和ViewController中删除了前一个按钮)但错误仍然存​​在:2018-07-2014:33:35.291935+0200Friendx[8583:238797]5.4.0-[Firebase/Analytics][I-ACS023007]FirebaseAnalytics

ios - 从 SKTexture 创建的 SKSpriteNode(数据 :size:) issues with Alpha (Opacity)

我在从pixelData创建SKSpriteNode时遇到问题。下面是我的代码。varpixelData:[UInt32]=[UInt32](count:256,repeatedValue:0xff0000ff)pixelData.appendContentsOf([UInt32](count:256,repeatedValue:0xff00ff00))pixelData.appendContentsOf([UInt32](count:256,repeatedValue:0xffff0000))pixelData.appendContentsOf([UInt32](count:256,

Swift 3 泛型 : issue with setting UICollectionViewDatasource & Delegate for a UICollectionView inside UITableViewCell

我正在将我的应用程序转换为Swift3。我偶然发现了一个问题,即使用一种干净的方式为UITableViewCell中的UICollectionView设置数据源和委托(delegate),描述here.代码如下:funcsetCollectionViewDataSourceDelegate>(_dataSourceDelegate:D,forRowrow:Int){collectionView.delegate=dataSourceDelegatecollectionView.dataSource=dataSourceDelegatecollectionView.tag=rowcoll