WWDC 17 Keynote, Apple teknolojileri hayatımıza ne getirecek?

Apple WWDC geliştirici konferansında, her yıl olduğu gibi bu yılda keynote’da, yeni Apple teknolojileri, işletim sistemlerindeki değişiklikler ve ürünlere gelen yeni özellikler kısaca tanıtıldı.

5K iMac Pro ve Yeni Özellikleri

IMG_3847

IMG_3848

5K iMac Pro aynı zamanda Space Black renk seçeneğiyle ve güçlü işlemcisiyle birlikte geliyor. Mac için yeni işletim sistemi macOS High Sierra olarak tanıtıldı.

Şüphesiz, iPhone kullanıcılarının beklediği yeni işletim sistemi iOS 11

IMG_3859

iOS11’de ilk göze çarpan yeni “Control Center” yani kontrol merkezi, artık kontrol merkezi full ekran ve 3d touch ile menüdeki ayarların daha da derinine inmeniz mümkün. Örneğin müzik üzerinde 3d touch yaptığınızda, pick and pop’la daha detaylı bir ekranı müzik player açıyorsunuz. Diğer bir önemli UX değişikliği ise “Lock Screen” ile “Notification Center”‘ın aynı ekranda olması, kilit ekranında varsa ilk bildirim gösterilecek ve bounce edildiğinde ise diğer bildirimlere ulaşılabilecek.Read More »

Universal Linking for your iOS App

Despite of Deep Linking, Universal links can link a website domain with your mobile app without using any redirection on website. Your users can go through your app by clicking a https url, directly. (Directly, means your users don’t go Safari before opening of your application.) But how? iOS operation system can link mobile applications with domains. A mobile application can be link up to 30 domains.

To do so:

  • You need to create a contract file (in json format) that stores mobile app information on server side. (You need to specify )
  • Put this apple-app-site-association file under .well-known directory. You can this on Safari, by typing url https://DOMAIN_URL/apple-app-site-association . If you can reach this file, everything is OK and you’re ready to continue configurations on mobile project side.
  • Turn of Associate domains for your application. This will create an entitlement file and you need to update your provisioning profile. If you’re using Continuous Integration.

Read More »

Advanced Permission Management for iOS Applications

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 »

Build Your Own Framework

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 »

Swift – Objects & Classes ( Part 4 )

class is for defining your classes.

You can add properties and functions inside of your class as usual. As initialising your class, you should add/implement init method in your class.

class Name_of_myclass {
    var intVariable: Int = 0
    var stringVariable: String

    init(intVariable: Int, stringVariable: String) {
       self.intVariable = intVariable
       self.stringVariable = stringVariable
    }

    func anotherFunction(){
        //Body of function
    }
}

Creating an object and calling its function or setting its value is very simple. First line simply creates an object of Name_of_yourclass by using parentheses and assigns it to a variable.Read More »

Swift – Functions and Closures ( Part 3 )

Functions

Methods in Swift is called as function and define by func keyword, after this keyword you should write the name of your function, parameters by their types and names in parentheses and lastly -> and the return type.

func function_name ( argument_name : argument_type , ... ) -> return type{
   //Your functions's code here..
}

 Functions can take a variable number of arguments and also return more than one value.

Lets write a function that calculates min, max, avarage and sum values of an array.Read More »