Results 1 to 4 of 4

ios app development

This is a discussion on ios app development within the Web Design forums, part of the Web Designing & Development category; Explain ,What are NSNotificationCenter and how does it work ?...

  1. #1
    Junior Member
    Join Date
    May 2018
    Location
    London
    Posts
    13

    Default ios app development

    Explain ,What are NSNotificationCenter and how does it work ?

  2. #2
    Junior Member
    Join Date
    Mar 2018
    Location
    India
    Posts
    11

    Default Re: ios app development

    Basically, the NotificationCenter keeps a reference to an object that is registered as an observer. With that reference, it also keeps track of what kind of notifications that object wants. When an object posts information, the centre delivers it to each registered observer by sending the observer a message with that selector.


    The default centre is usually a global singleton. But you could create your own, perhaps if you want to ensure your notifications are private to your app.

  3. #3
    Senior Member
    Join Date
    Mar 2018
    Location
    Australia
    Posts
    475

    Default Re: ios app development

    NSNotificationCenter provides a centralized hub through which any part of an application may notify and be notified of changes from any other part of the application. Observers register with a notification center to respond to particular events with a specified action.

  4. #4
    Senior Member buyinstagramfollower's Avatar
    Join Date
    Dec 2017
    Posts
    197

    Default Re: ios app development

    Dear Lifehacker,
    I have a little background in coding, but I'd like to make an iOS app. I'm just not sure where to get started or what tools I need. Where do I start?

    Sincerely,
    App Store Amateur
    Dear ASA,
    Learning to develop for iOS is kind of a two-pronged process. If you don't know how to code at all, you can find plenty of resources here. If you're versed in coding, you'll need to get familiar with Apple's development tools and their guidelines. Apple's known to restrict apps for all kinds of things, so it's good to know what you can and can't do before you start.

    We're not going to walk you through the entire process of making an app, that's far too much information for this post. However, we will get you set up with the coding environment, point you to Apple's guidelines, and give you a few resources to help you learn Apple's different languages for iOS.