AI Dev Lab

Mentoring Tomorrow's AI Developers

Category: web development

  • How to read API and pass data to Chart.js

    How to read API and pass data to Chart.js

    Reading data from Json API, processing it and displaying on the page is one of the most popular solutions on the web.Can we do this with pure Typescript and frontend only? Let’s ask AI…. Then we need to compile ts into javascript, create js code snippet and make sure our && is not replaced with…

  • Too lazy to solve labyrinths

    Too lazy to solve labyrinths

    One of my colleagues created script generating labyrinths. An idea was to proactice js and canvas and to generate some fun for his kids.But what if some kids are bored and don’t like labyrinths? I created simple solution (pure html/js) which is able to find correct way in that labyrinth. It is iterative, brute force…

  • Wykres Pie Chart 3D na iPhone – Objective-C – Xcode

    Demo of Objective-C class for drawing 3D Pie Charts.

  • How to sort NSArray of custom objects by multiple properties – case insensitive

    Although sorting in XCode may look as something difficult, there are some quick solutions which allow us to sort array of object in less than 3 lines: Let’s imagine that we have an array of objects. Each object has two properties: name and code. We want to sort our array by first criteria and then…

  • Pie Chart 3d version 2.0 is coming ….

    After several weeks of hard work, new version of Pie Chart 3d library and new App is coming. New features: you can save images to camera roll, you can define colours using RGB palette (HSV is still handled), chart, labels, title can be moved on the screen with one tap, you can change title font…

  • How to use SVN in XCode

    It is quite common issue when we need to share our code with other developers or control versions of uploaded files. In corporate environment we usually have installed CVS or SVN. It may be also very helpful to use such environments in small companies or projects. One more advantage can also be, that we have…

  • Newsweek PL w wersji dla iPad – początek rewolucji

    Newsweek PL w wersji dla iPad – początek rewolucji

    Pojawienie się aplikacji Newsweek PL i pierwszego darmowego numeru czasopisma w wersji na iPada zapowiada długo wyczekiwaną rewolucję w przejściu z papieru na wersje elektroniczne. A w zasadzie to już jest rewolucja – i to w doskonałym wykonaniu. Październikowy numer Newsweek w wersji elektronicznej to już nie odbicie wersji papierowej, ale pełnoprawne wydanie przygotowane specjalnie…

  • How to read an NSArray from a URL without blocking the app

    Developing applications that display data from the network often presents a challenge: how to read data from an external file. Parsing XML in Objective-C is quite resource-intensive, so it’s worth considering whether a simpler solution might be to create a .plist file (Property list) on the server and download that file format to the application.…

  • How to display localized month names?

    The Problem and the Solution While the problem might seem trivial, those without experience in Objective-C could spend a significant amount of time searching for the appropriate objects and methods. To address this, I’m presenting a ready-made solution: The Kalendarz Class The Kalendarz class takes an NSDictionary object as input and returns the corresponding month…

  • First steps in iOS app development (as of 2010)

    Taking it “step by step” is a great approach. Apple has done a fantastic job of providing developers with well-written documentation, podcasts, and tutorials. The only challenge might be time. Getting Started: Purchase a Mac: Unlike Symbian and Android applications, iOS development requires a Mac computer running macOS. Install Xcode and SDK: Xcode is the…