If you’re looking for a nice developer job, first thing you should check is your basic programming knowledge, of course. Or maybe, you are not looking for new opportunities. –> You just don’t want to lose flexibility of programming skills on a specific language or algorithm know-how. Best thing you can do is simply EXERCISING.
There are several websites you can use to solve programming problems on different areas (such as Data Structures, Algorithms, AI, Databases or Security) by using different programming languages. (From Python, Go, ADA to Swift) These websites are really good for improving whiteboard coding skills.Read More »
Macros were cool, they are already cool for Objective-C developers. (If you have an Objective-C project, this article is for you.) But in Swift, you should choose a different way to manage your project configurations. Because they are not available anymore.
But we have other cool things like xcconfig files and custom flags.
1 – Lets start with Config files…
You can use config files to define project variables and set different values for these variables under different project schemes.Read More »
Mobile applications ask permissions to access user’s information or user’s phone features. These permissions can be accessing camera, microphone, location, phone contact list, calendars, photos, reminders etc.
You should define your permission asking strategy wisely. You can prefer either asking permission right before using this-exact feature or you can show information why you really need these permissions and direct your users to your application’s settings page or both. If a user will not continue using your app without giving permissions, it’s nice to show information why you need it and what your application offers the user by using these features, then direct users your application settings page.Read More »
Coding is like playing with legos. There are so many cases that you can -and probably you should- use same lego piece for different structures, multiple times.
“If the code appears more than once, it probably belongs in a framework.” WWDC14
Apple introduced Cocoa Touch Frameworks in 2014 – the same year as iOS8 is launched . If you haven’t watched yet, I strongly recommend you to watch Building Modern Frameworks session.
Frameworks are best way to reuse your code and share with multiple projects. For instance, @Apple Health app has its own framework – HealthKit – and other developers can use HealthKit.framework by linking it with their projects.Read More »
I’ve mentioned about “How to add Core Spotlight to index your app content on iOS9?” in this article. If you haven’t read it, I really recommend you do.
This article will be about how to add multiple search item in very little and efficient code writing. Search items have some features such as title, contentDescription, rating, unique identifier , thumbData which will show the icon of your special content or basically your application, and so on.
Basically there are two advanced concepts you should know about CSSearchableItems / CoreSpotlight.
First one is your user can navigate anywhere in your app, by understanding which search item is tapped by your user in Spotlight. You can be sure of your users will find anything they search, by navigating them true navigation point of application.
Second one is that you can list your search items and their attributes in a very simple but handy property list (plist) file and creating a very simple singleton class you can call it SearchManager, will help you to separate your search methods from other app delegate methods.
Soo, let’s start!
In delegate of your application, you should call your SearchManager for initializing to index searchable items at spotlight.
If you don’t want to navigate the spesific point at your application. You can ignore these following methods.
PS: If you find this article useful please use like button 🙂 and if you have a question or a comment, don’t hesitate to share it!
My previous post was for giving the general information on implementing home screen quick actions by the way of using static shortcut items in the info.plist of project. To read general concept and methods, this way please.
Despite of the static shortcut items can not be changed regarding to different cases, dynamic shortcut items can be changed case by case in any wherever or whenever in application running cycle. Read More »