Adding Cocos2d to existing project - ios

I would like to appologize in advance however I think this question is overlooked. I have a project I have been working on and I would like to incorporate coco2d. How can I implement the coco2d-iphone-2.0 download. All the tutorials I have tried have either been outdated or left me with errors.
I keep getting ARC Semantic Issue and ARC Restriction once I follow steps of other tutorials to add coco2d to an existing project.
Thus, could someone be so kind as to put a step but step approach to adding the latest stable version of coco2d to an already existing project.
Sorry if this seems trivial.

I think the easiest way would be through cocoapods. have a look at this web site http://cocoapods.org/

Related

Basic Mechanics of iOS Frameworks and Xcode (and Swift)

I think I just must be stupid.
I'm having a lot trouble understanding very basic things concerning frameworks in Xcode/iOs/Swift. While I've certainly gotten some things to work, I've gotten more and more confused about what I'm actually doing. And the documentation on the web just confuses me more.
When I see discussions about how to import particular frameworks (e.g. https://github.com/danielgindi/Charts is the library I'm playing with, but I've seen this pattern repeated in other libraries) they seem to always tell me include the Xcode project file as a child project of my project, in addition to linking things as an embedded binary. This confuses me. Is it not possible to link an already compiled framework to my project without including all the source code of the project?
That is, can't I just take a library.framework file, and add it to my embedded libraries list and be done with it?
In the frameworks I've played with (again https://github.com/danielgindi/Charts is my primary example, but this is true in many others I've played with) I can't seem to use the framework without Carthage or CocoaPods. For me at this stage, that is just confusing... I accept that they are useful tools to automate a difficult process, but I'd really like to understand what that process actually is before I let a tool automate it for me. As I search the web I just seem to always be led back to these tools as being the correct way to do things.
So here are my questions.
If I find a framework library on the web... do I need its source code or can I somehow just link to a compiled version of the framework?
In my reading, it seems that libraries made with Swift are somehow second-class citizens because Swift is a newer thing. Is that still the case? (The articles I read about this seems to date from 2014-2015).
Is there are good place to understand how Apple expects me to add a framework to a project, without using CocoaPods or Carthage?
No need to add source code. Just add the framework to Target ->
General -> Linked Framework and Libraries -> Tap on + and select
your framework.
In my opinion, many new libraries are being written is Swift. So you won't be left behind for using swift.
Apple has documentation about adding frameworks to XCode. But I would suggest to use Cocoapods , as its easy to manage libraries.
Cheers :)

How to create framework with other frameworks and library dependency?

I know, there are so many same questions but I didn't get answer for my requirement.
First time I am creating framework. I have created test framework using Raywenderlich example. But my requirement is little bit different. I used so many different frameworks and also used SQLCipher in my project. Now, I want to convert this project into framework. I followed all the steps but the problem is occur when I am trying to build. Getting an error for SQLCypher because I didn’t add to my framework to avoid conflicts. Finally, I have added SQLCypher library to create build without error and it worked but now I am getting linker error when I am using that framework to test in testProject. I didn’t find any example with third parties. Please help me to solve this issue.
I had the same issue.
One solution is to change all method names of other frameworks or libs, but some lib is not open source.
Another solution is work for me which is to use cocoapods. But the user
who wants to use your framework will be forced using cocoapods, depending iOS 8.0 or above, depending the same version of 3rd libs. I have nothing to do with this restriction.
Seems the best way is do not depend 3rd libs in a framework.

How to make plugin for Xcode6

I want to make plugin for Xcode6 but i don't know how to start and make that.Any one please share any link that explains this in detail for Xcode 6? I find for Xcode 4 but that method is not working for xcode6
I am the creator of IntelliPaste for Xcode.
Plugin development for Xcode is fun but will also be hard at times. There is no documentation that can be found, at least not from Apple. A lot is guess work and look at how other people's plugins are made.
To get started, I would recommend using this template. I haven't used it myself but I wished something like that was around when I got started.

Use of three20 framework in ios programming

I am working on old project there use of three20 framework but i don,t know about three20, So please tell me about it deeply?
what will we can use instead of three20 in current time?
I've also fondly used Three20 on numerous projects and tried hanging on to it for a while. However, iOS8 causes numerous runtime errors / crashes on my Three20 projects. It's actually surprising to see how much functionality still works but you're strongly advised to not use it. There's no real community behind it anymore and no one is maintaining / supporting it.
I'm migrating to NimbusKit - it's developed by some of the original developers of Three20. They also have a good migration guide.
The old Three20 GitHub project is still available, with all of the code and samples still intact on a different branch.
See the "Articles" folder for documentation, and "samples" for sample projects.

Stable ShareKit fork recommendation?

ShareKit looks abandoned. And there are so many forks. But major maintainer is undeterminable. Now I'm just going to pick one to use. What fork do you recommend? Or replacement?
try ShareKit, they are trying to make the ultimate "best of" fork. ShareKit release 2.0 is in final testing.
Socialize is a new social sharing sdk by the folks behind AppMakr. It's open source and appears to be free. I haven't tried it yet - so I can't vouch for it - but maybe it's worth a look?
As of lately, ShareKit hasn't been working on iOS5 so I had to remove it from my app. Facebook has actually released their own class and it's looking pretty sharp so far. Check it out:
https://github.com/facebook/facebook-ios-sdk
I'm using the last official release in my application. Works fine though. You can just add new social networks to the kit yourself if needed.

Resources