AI Dev Lab

Mentoring Tomorrow's AI Developers

Tag: Objective-C

  • New version of Pie Chart 3D 2.0 has arrived!

    New version of Pie Chart 3D 2.0 has arrived!

    After several months I was finally able to finish new version of Pie Chart 3D application. In version 2.0 I added all features requested by users: – you can save images to camera roll – most required feature, – you can define colors using RGB and HSV, – chart, labels, title can be moved on…

  • Pie Chart 3D Creator for iPhone

    New version was published in July 2016.Check it out in AppStore. You can buy library source code! Details here: New version supports all features of version 1.0 and:– you can save images to camera roll – most required feature,– you can define colors using RGB and HSV,– chart, labels, title can be moved on the…

  • 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…

  • How to force an app to launch in landscape mode

    To force landscape mode, we need to set the appropriate value for the shouldAutorotateToInterfaceOrientation method in the controller that the operation applies to: If we need to ensure that the Default.png screen displays in landscape orientation at application startup, considering both left and right variants, we need to add a parameter to the Info.plist file:…

  • How to create modal screen with save, email, share on facebook ?

    I want to add to my application new view with buttons for sharing content or saving it to disk. I know how to do sharing itself (save, email), but I wonder if this layer should be created as frame or there is any ready-to-use class displaying modal layer for half screen? As I already know…

  • Color Picker library for iPhone

    While I created my Pie Chart Creator, I needed a class to display available colors and return clicked color after user selected color. I created nice library – it may require some adjustments which I will add soon, but I want to share it now with others. Please remember, that it is based on new…

  • How to send an email with an attached image or screenshot?

    How to send email from my application on iPhone. Jak wysłać wiadomość e-mail z aplikacji na iPhone.

  • 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…

  • How to pass a parameter to a parent view

    Passing parameters to parent object in Objective-C Here’s the translation of the Polish text to English: **”In applications with multiple views, we often need to display an additional view where the user can enter parameters (or select from a table). We want to use this information in our parent object. Example: The calculator screen displayed…

  • 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…