Author: plusz

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

  • Jak odczytać UUID urządzenia do instalacji w trybie AdHoc

    How to get iPad/iPhone UUID required for AdHoc installation? 1) Start iTunes and connect your iPad/iPhone. Click on device name on left navigation. PL: Uruchom iTUnes i podłącz iPad/iPhone. Kliknij na nazwę urzadzenia w lewym menu 2) On the Summary page for your iPhone, click on the word “Serial Number” text PL: Na zakładce Podsumowanie,…