Showing: 111 - 120 of 138 Articles

UIView Extension with support CornerRadius, borderWidth, borderColor, roundCorners, shadowColor, shadowOpacity, shadowOffset, shadowRadius.

While we want to set uiview property (like CornerRadius, borderWidth, borderColor, roundCorners, shadowColor, shadowOpacity, shadowOffset, shadowRadius) at that time we use code or user defined runtime attribute for that but using this extension we can esily update property from attribute inspector. code support SWIFT 3.0 …

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 …