Skip to content

iOS Dev blog

about creating mobile applications but also a bit about my interests

  • Home
  • About me
swift tips

private(set) modifier

April 3, 2021April 3, 2021 TomekLeave a Comment on private(set) modifier

Sometimes there is a need to use or test some property outside the enclosing declaration (internal get). At the same time, you don’t want this property to be modified outside – because, by applying good practices and for safety reasons,…

Read More→

ios app security

How to generate secure random data?

January 24, 2021January 24, 2021 TomekLeave a Comment on How to generate secure random data?

In our development career, we may encounter tasks in which, for example, we will have to use various types of encryption algorithms. We will see then that one of the acceptance criteria can be the creation of an encryption key,…

Read More→

swift tips

Be careful about getting elements from an array

January 19, 2021January 24, 2021 TomekLeave a Comment on Be careful about getting elements from an array

You have to remember that in Swift, if you try to access an index that is out of bounds, you will get a runtime error (EXC_BAD_INSTRUCTION) and the application will crash. Currently, Swift Array type doesn’t have a safe method…

Read More→

ios app security

A few words about automatically generated screenshots

January 17, 2021January 17, 2021 TomekLeave a Comment on A few words about automatically generated screenshots

One of the most common elements of mobile applications are data forms. We use them to log in to our account, or to enter other important data about us, sometimes very sensitive and confidential. One such is the form for…

Read More→

ios app security

How to detect that an emulator is being used to run the app?

January 16, 2021January 16, 2021 TomekLeave a Comment on How to detect that an emulator is being used to run the app?

Attacks on mobile applications (e.g. payment apps) often start with the use of an emulator for the mobile operating system in which the target application will be run and analyzed. In order for an attacker to e.g. attach a debugger,…

Read More→

swift tips

Can encoding a String to Data with utf8 fail?

January 14, 2021January 14, 2021 TomekLeave a Comment on Can encoding a String to Data with utf8 fail?

Surely none of us programming in Swift likes force-unwrapping optional values too much (we prefer a ‘guard’ – although excessive use is also not quite the right approach). Quick reminder for beginners: optionals represent data that may or may not…

Read More→

ios app security

Is the application installed from a trusted source?

January 13, 2021January 14, 2021 TomekLeave a Comment on Is the application installed from a trusted source?

This post begins the series of mobile application security. Information on this subject is sometimes difficult to find, does not fully cover the topic, or is incomprehensible or leaves further questions. Based on my experience, I will try to share…

Read More→

Recent Posts

  • private(set) modifier
  • How to generate secure random data?
  • Be careful about getting elements from an array
  • A few words about automatically generated screenshots
  • How to detect that an emulator is being used to run the app?

Recent Comments

    Archives

    • April 2021
    • January 2021

    Categories

    • ios app security
    • swift tips

    Author

    Tomek

    Tomek

    passions: IT world of course, app development, football, gym, street workout, tourism

    Copyright © 2021 TomekI. All rights reserved.
    Artblog by iThemer
    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
    Cookie settingsACCEPT
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled

    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

    Non-necessary

    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

    Go to top