• Debugging Swift Objects in LLDB

    Given an address of the object, one can interact with it via LLDB. To do this, you need to import the corresponding module (like UIKit, or your app’s module) and then cast the address to a new variable using Swift’s unsafeBitCast like this:

    (lldb) expr -l Swift -- import UIKit
    (lldb) expr -l Swift -- let $view = unsafeBitCast(0x7fb75d8349c0, to: UIView.self)
  • Parse Server — Security Considerations and Server Updates

    When you take some lessons for beginners that show how to use Parse in your iOS projects, there’s a growing feelings of the power and ease of BaaS and its week security. Indeed, you control the database structure right from your client apps which have all the powers. Don’t you?

  • How to View All JavaScript Interval Functions of a Page

    While I was adding some functionality to a web site, I noticed that it reloads the page regularly by itself. Apparently, there was some timeout set for a function that caused this behaviour. But how is that possible to find what that function is?

  • UDP Server and Client in Swift

    I recently had a chance to work on a iOS Client written in Swift that would talk to a UDP server. The app basically needed to send a request to the server and receive the response.

  • Building a Login Page for an iOS App

    When it came to building an app with a login screen I got a bunch of questions. And I found some answers to them scattered all over the Internet. It might seem an obvious task, but I really wanted to find a guide with some clarifications. I wasn’t lucky enough to do that so I decided to describe my way of building a [first] login view myself.

  • Xcode 7 and Github with SSH Keys authentication

    I had been working a lot with PHPStorm and RubyMine when I came to Xcode this summer. All the JetBrains tools work with git remote hosts, Github and Bitbucket, quite well. But when I tried to access my repositories with the ssh key from Xcode I received an error: “Authentication failed. Username or password incorrect”.

  • First Android App

    I’ve finished a beta of my first Android app for internal use, a front office system for the Cafe owned by our company. It has 6 thousands lines of code, I’ve spent 170 hours for immidiate development of it.

subscribe via RSS