Architecture of iOS project [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
In iOS generally we follow MVC project structure but it makes our view controller very massive.
I seen many Github projects but there is no such example which makes my view controller small, modular code, reusable code and many more things.
Generally what i am doing is something like this... Image of architecture
Service layer handles the logic whether they want to save the data in CoreData or not and also provides proper parameters for network layer to make api call..
Network Layer calls the api with or without header or token according to requirement and then get the response and then parse the data and provide the temp model to service layer.
But still i am unable to find the best way to create architecture for iOS project. It would be really helpful if someone will provide me any link or provide us any github link of their code.

You can look to MVVM pattern. Some example is here

I've written a quick introduction to MVVM. It explains briefly what MVVM is and why you should use it over MVC. Here's a more detailed look at MVVM.
If you need more granulation, you can use VIPER.
In my opinion MVVM is great for small/medium projects and VIPER should be considered in huge projects with a lot of contributors.
You need some language mechanic for binding in MVVM. KVO does the job, but it's API isn't very good. You could try ReactiveCocoa for data binding in MVVM/VIPER.

Related

Where can I view a large iOS codebase to see how it was organized? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
For a new developer building an app, are there projects/repositories I can pull into Xcode to study and see how code, files, folders, MVVM patterns are implemented in a BIG project??
It would be great to analyze and refer to a large code-base that has implemented best coding practices for the problem it solves.
This way I (as a new developer) can be aware of how to organize & refactor my code for a maintainable app.
Thank you!
my two cents: don't try to find a large ios code base to study. take a look at smaller, easier-to-consume open source projects and get a feel for what you like / don't like, comparing them against each other. you will find that there is not one set way of doings; if there was, we'd all be doing it! what's important is figuring out what tools / patterns / practices etc. help you build the best app that you can (hint: an app that's built is better than one that's not), and you'll only find that out by doing some building yourself.
There are many open source projects.
First one that comes to mind is Signal.
https://github.com/signalapp
Here are many projects listed by categories:
https://github.com/dkhamsing/open-source-ios-apps
First one that sprung out was Firefox:
https://github.com/mozilla-mobile/firefox-ios
Google should help you find more, just check out your favorite apps and see if they are open source.
Try to find different kinds of projects, with huge storyboards, with many libraries in the Podfile, ...

Which architecture should be used while developing iOS Application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am going to start a new application in iOS and there are multiple architectures available in iOS i.e Viper,MVVM,MVP and MVC.
I have search google but didn't find any specific use of these architectures.
Can anyone please guide me that when and which architecture should be used and which is more beneficial?
I will try to put my answer in short:
MVC: This is the basic architecture you will find most of the people use. Without knowing this, don't go forward as it's wasting time doing so. But this architecture no one is interested in the current market as it has few drawbacks. When comes to unit testing people find it difficult. So they started moving on. One good thing about this architecture is your development is super fast.
VIPER: which became very popular these days for its separation of data, design, controller logic. For unit testing, it will be very nice. But understanding and putting efforts in this are more. If you fully understand this one, I advise you to go.
MVP: People who understand MVC, can easily go with this MVP. As there are not many changes involved in this from MVC. Presentation logic will be separated out. If you want to build good architecture, not the basic one go for this.
MVVM: It also requires good efforts from you. Don't go until you understood. Again very good separation of model, View, ViewModel.
Now it's your choice to get onboard. As all of us know, how important an architecture is for an app, don't take fast decisions here. Take your own time and conclude based on the time you have in your hands, the need for proper architecture.

Condensed ASP.NET MVC [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am an experienced engineer and would like to hear recommendations about good and condensed books on ASP.NET MVC, that does not deal with basics. I don't need to be introduced to any patterns or to the web development fundamentals. On the other hand, the last web application I worked was running on asp.net web forms which was slightly before any AJAX framework was introduced. A book recommendation on the trendy/popular AJAX frameworks would also be very much appreciated.
Any suggestions, please
Thanks a lot
K.
NOTE: I, of course, had a look at book reviews on amazon, etc. What I am looking for is not recommendations from anyone but from people having similar profiles. Unfortunately, it is impossible to know the profile of the people who recommends books on bookstore web sites. I am essentially looking for advise from a fellow programmer who has many years of experience and possibly have had a similar requirement. I bought the books recommended and found them containing too much details that can be discovered anyways while working with it. Perhaps, what I am looking is a design description of the framework with brief explanations for key objects and components. Any suggestions is greatly appreciated
look at these collection.
1. Pro ASP.NET MVC 5 (Expert's Voice in ASP.Net)
Great book, covers everything you need to learn to work with ASP.NET MVC, Highly recommended.
http://www.amazon.com/Professional-ASP-NET-MVC-Jon-Galloway/dp/1118794753/
2. Hands on with ASP.NET MVC 6.
This book covers all the tiny steps on using MVC at its best. With complete practical tutorials to illustrate the concepts, you will step by step build one End to End application which covers below mentioned techniques - Controllers, Views, Models, Forms and HTML helpers, Data annotation and Validation, Membership, Authorization, Security rather you will also learn how to bootstrap your design, then how to host the app in AZURE, Web API and Dependency Injection.

build developer guide for iPhone application [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Is there any standard way to build developer, just making the developers understand the code easily after delivering, if you have sample it's better
If you want to know how to make your code better, you need to read about SOLID and other object-oriented design patterns.
There are no official Apple developer programming style guides.
I.e.: no official "Programming Standards" exist.
Standard only exist in terms of UI, external appearance of your application.
Normal software development criteria apply:
commenting
using software patterns appropriately, as pointed out in another answer, SOLID makes a lot of sense. Just in order to understand Apple Frameworks you need to know software patterns: delegation, visitor, proxy, etc.
document requisites and change requests, api and architecture if the app is complex
don't rely too much on bug tracking, these tend to be abused (change requests marked as bugs) and might add too much complexity of their own (JIIRA).
your organization may adopt an existing programming "quality standard" and adapt it to iOS development. ITIL is and ISO are usually overkill.
Sometimes it makes no sense to over-optimize and over-engineer everything, including your code and programming standards.

is there any book for aps.net MVC Social Networking Website? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am new to Asp.net MVC, i want to study social networking websites. so is there any good tutorial or book.i have read http://www.codeproject.com/Articles/332173/Parichay but its not enough for a new learner like me.
Thanks
First of all, I don't know of any good material for you to read, it seems a bit too specific. But I do have some advice that might get you started.
Since you are new to asp.net MVC and your goal is to create some sort of social networking website, I would recommend just starting to code. Just start small with what you already know. Like; you need to authenticate the users, they need a profile and a way to edit it, they will be posting some sort of status updates and so on. This kind of try and fail iteration approach will give you so much more in terms of knowledge, experience and insight both to asp.net MVC and to how social networking works in general.
I'm not saying tutorials are bad, but I think a balanced combination is the best. So taking pieces from different tutorials on http://www.asp.net/mvc/tutorials or other places in order to get authentication and profile editing working i.e.
Hope this is somewhat helpful to you even though I could not directly help you with your question.

Resources