Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm curious if anyone knows of any downloadable Objective C sample code for the gang of four design patterns out there? I am looking for working sample XCode projects and don't mind paying!
Incidentally, if you're looking for other languages, you could start here for Java or here for various languages
It's no Gang of Four but Apress has Pro Objective-C Design Patterns for iOS by Carlo Chung which has many of these patterns in it. Other than that, I'm not sure of one place that has so many of these patterns represented in Objective C.
The following link has covered some of the Design Patterns
Facade (One single interface above a complex hierarchy)
MVC(Most popular,nothing to say)
Decorator(View dependent models)
Composite(Complex hierarchy of views as well as Objects)
Adapter (Protocol Specific)
Observer(adding observer while property value changes)
6.1. KVO (Key Value Observing Pattern,associated with Observer)
6.2. Notification Style
Memento (Archiving the View's state and restoring on app reload)
Command (Most commonly known as Target-Action design pattern)
generally used to solve some issues found while developing Applications....
http://www.raywenderlich.com/46988/ios-design-patterns
there's not a book for specific code with design patters applied, but a couple of them have really useful examples Clean Code and Clean Coder
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
It begins my third month with XCode, iOS, objective-c and mac as well, I can tell that so far I'm disappointed to be as kind as I can be with my opinion. Maybe because I was spoiled by things that I had in hand when developing for other platforms like Android?
In any programming tasks where visuals are presented layout functionality is a MUST from the beginning, and like I could get functionality for layout in FLEX, JAVA or JAVA for Android (also have seen it working for Metro, XNA for Windows phones) but in iOS everything seems to be up-hill.
After this long introduction my question is quite simple, did someone tried to overcome this issue, namely are there any layout container components that can be brought to the Xcode project and use it e.g. linear layout?
People have written some Layout managers - you will find some here - https://www.cocoacontrols.com/search?q=layout but I agree with the commenters above, properly setting up layout constraints, although a little more time consuming at first, gives quite predictable and stable layout and you get quicker once you get familiar with them.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
As an old C/C++, C#, Java, JS, PHP programer, I just couldn't get used to Objective-C. The reasons are obvious. I want to continue developing iOS applications and continue using Xcode storyboards. But I seriously need an alternative to Objective-C, is there any powerful tool or framework alternatives that could help me get away from Objective-C?
By powerful alternative, I mean useful enough to use most of the device methods/functions easily and has a lot of online resources, tutorials, examples on it.
I would very, very strongly recommend that you get a good Objective-C book, or work through the Stanford iOS development course on iTunes U. Without Objective-C, you will get a lot less help with other languages, you won't be able to understand code samples, you won't understand the iOS documentation.
Try http://xamarin.com/ios - this allows you to write in C#. Personally I've used all those languages as well (other than C#) but actually prefer Objective-C.
You might want to consider RubyMotion - http://www.rubymotion.com
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any frameworks available for use on top of the iOS Cocoa Touch, to reduce boilerplate code and increase the development speed? Similar to how PHP has Codeignitor, Ruby has Rails, Python has Django.
Cocoa Touch itself is already a very high level framework, it's not that neccessary to build another one on top of it, given the amount of customizations often required by a specific mobile app.
However in terms of "increasing development speed", there are plenty of components (see cocoacontrols) that you can use in your project. Sometimes you can find a host of components in one project, for example flat UI controls.
Github is full of them for specific purposes (example, RestKit wraps lots of standard HTTP and CoreData methods), and many developers will collect a number of their own personal favorites to incorporate in all their projects, commonly making use of Macro's and "helper" classes.
The problem with Macro's and helper classes though, is that they usually make your code less readable, maintainable, and much harder to transfer to other dev's
And while there is plenty of room for rational people to hold different opinions here, I'd offer the following thoughts:
You are very "close to the metal" not just with the chips, but a slew of sensors and sensor inputs as well. You'll change a displayed color one minute, and the next you'll be sampling raw bit-stream data from a microphone and syncing it up with a series of raw image data buffers. Part of why iOS is so verbose, is that it handles an extremely wide range of tasks.
You don't have to shorten long statements to develop quickly. Cut and paste (or yank & pull, or whatever emacs does) can easily re-use pieces from a well maintained "cheat-sheet" that you put together.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to learn objective C and adapt to xcode. I also want a reference with tutorials and examples to help me improve and become faster at ios app development. I am wasting too much time even for simple syntax errors. As there are several sources, I am quiet confused.
I have good C/C++ and C# background. I have significant UI design experience. I can also adapt well to open source libraries as I worked with opencv, opencvsharp, gtkmm, and qt for a long time. However, couldn't adapt to obj. C easily.
Where to start?
Best way to learn is (since you have massive programming experience),
Play with XCode a while. Create a view based, tabbed, master-view application. See how xcode create the background code etc.
Learn Xcode - how Interface builder and storyboard works. How to link UI components with generated class files.
2.1. Learn more about common UIComponents - UIView, Tabbar, TableView, SplitView etc.
Syntax of Objective c, message passing, property etc.
This tutorial is kinda popular and good,
http://www.raywenderlich.com/tutorials
Books:
To start with UI concept, Beginning iPhone Development is best to me.
Further you learn more about objective c in Programming in objective c
Apple tutorials on different topics,
https://developer.apple.com/videos/wwdc/2010/
https://developer.apple.com/videos/wwdc/2011/
https://developer.apple.com/videos/wwdc/2012/
https://developer.apple.com/videos/wwdc/2013/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Could you recommend an open source library written in F# which provides generic types for FA construction and basic algorithms (NFA to DFA transformation, FA minimization ...)?
My first thought would be to use the state machine monad, which has be blogged/written/discussed/produced several times, a couple of references are below.
http://fsharpcode.blogspot.com/2008/12/f-state-monad-type-state-state-state-of.html
http://codebetter.com/blogs/matthew.podwysocki/archive/2009/12/30/much-ado-about-monads-state-edition.aspx
although this doesn't give you the translations you want...
Might be a place to start.
Probably not what you are looking for but a quick and dirty way to get some FA things working would be to write an equivalent context free grammar for your FA then using fsyacc?
Jolt.NET
It does not fulfil all your requirements: It's in C#, and it does not seem to support translation to DFA or minimization. At least it's usable from F# and could be used as a starting point. I've never used it myself, so I can't vouch for its suitability or quality.
See also NFA/DFA implementation in C#