Category: iOS & Mobile
-

Always On Time: Creating a Custom iOS Bus Widget with Scriptable
Introduction When you commute every day from the same bus stop, checking departure times quickly becomes a routine annoyance. Instead of calmly walking out of the house, you end up opening an app, waiting for it to load, tapping through a few screens, and only then seeing when the next bus leaves. This costs precious…
-
Bluetooth: not available – Macbook OX Sierra – solved
Working solution. Fast and easy. “Bluetooth not available” may happen after upgrade or when one of devices fails. I was able to solve issue on on El Capitan and also on latest Sierra. It requires quick NVRAM reset. No settings are deleted. In my case, one, hanging bluetooth device was removed from config. 1. Shutdown…
-

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

