Showing: 111 - 120 of 137 Articles

GPUImage New Distortion Filter

Touch Moved Method in our View Controller -(void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {     if (TouchEnable)     {         UITouch *touch = [touches anyObject];         CGPoint touchPoint = [touch locationInView:_img_view];                  @autoreleasepool {                          double dx = fabs(BeginPoint.x – touchPoint.x);             …

Group Joining Xmpp : Getting all messages every-time after joined group.

Hello, After deep look on group joining method of XMPP, we found one solution is describe here: let  objXmppStream =  XMPPStream() let objGroup = “YourGroupname@YourXMPPHOST” let roomStorage = XMPPRoomMemoryStorage()  let roomJID = XMPPJID.jidWithString(objGroup)  let objXmppChatRoom = XMPPRoom(roomStorage: roomStorage, jid: roomJID, dispatchQueue: dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0))  objXmppChatRoom.activate(XMPPHelper.sharedInstance.objXmppStream)  objXmppChatRoom.fetchConfigurationForm()  let …

onvert timestamp to pubnub timestamp of 17-digit precision unix time (UTC)

Problem :- We are trying to convert timestamp 2016-02-11 03:31:18 to pubnub timestamp of 17-digit precision unix time (UTC) something like 13406746780720711 given in reference url given by pubnub function parseDateTime(s) { var b = s.split(/\D/); return new Date(b[0],b[1]-1,b[2],b[3],b[4],b[5]) } date = new Date(parseDateTime(“2015-02-11 02:10:54”) …