Building iOS custom universal framework, which includes other frameworks - iphone

I'm trying to build a framework for social media integration (so that developers can just import this framework, make calls to APIs in this framework and have social media actions in their app, instead of having to import and deal with multiple SDKs and their code), following this wonderfully written tutorial by jverkoey.
Everything seems to be going right except this little thing. I'd like to add SDKs such as Facebook and Google Plus to my framework, so that the developer who uses my framework will not have to import those SDKs again. But currently, I'm unable to do that even when I build the custom framework with those SDKs in the project and set to "Required". Any idea on how I can get this done will be appreciated.

Related

How could I combine Swift and SignalR?

So, I and a few other people are working a project where one part of the group is doing an Progressive Web App and the other part is doing an iOS app. Our back-end API is in .NET Core C#. We have decided to use SignalR so we can make the apps real-time.
I have done a small research on SignalR and there is not much available information on how to use it with Swift. Could any of you give any recommendations/suggestions on how should I proceed and how I can combine Swift and SignalR?

add facebook and google login in custom framework in swift

i am working on different projects. where all projects need facebook and google SDK integration.
The are two way's which i can adopt:
integrate fb and google sdk's in all projects
OR
create a common project (cocoa framework) and just add that framework in all projects. common logic
I want to use 2nd approach and now i have a framework project with pod file. How can i add this framework into my App because there is .xcworkspace file which does not add like framework.

Difference between react and ionic framework

I have read some docs and i do not really understand what are the differences between react and ionic frameworks.
Is one of them made from the other ?
I have to store local data. I suppose one of them is just web and javascript so data is only stored on server ? Or is it possible to do local storage with both of them.
Is it possible to host the app on a web server without having a "real" app ?
Thanks
Hi I think that you are a little bit confused. I hope this clarify your doubts:
Ionic framework is a set of tools for create Hybrid apps using html/css and javascript, It is build using apache cordova and Angular 1. In the other hand you have React a library for build rich UX(User experience) web apps.
Ionic is not build on react. They are different purpose tools but you can use that together (Using IONIC 2).
In both cases you can use local storage, but if you want to store data in servers you have to build your own backend to provide data to the app They are front end oriented frameworks(no server side)
You can put Ionic code on a server it is simple JavaScript and HTML but this is not the purpose of the framework and if you do it, you loose the native apis of the device. In the case of React it is just a library and you can use it in an existing project using HTML and Javascript or build your app entirely with it.
You have a long road ahead, hope this help you.
Ionic is an HTML5 mobile app development framework targeted at building hybrid mobile apps. They are essentially small websites running in a browser shell in an app that have access to the native platform layer.
React Native is the next generation of React – a JavaScript code library developed by Facebook and Instagram, which was released on Github in 2013. React Native lets you build mobile apps using only JavaScript.
They have their own way of functioning, below are few points on their differences:
Ionic is a regular web app, written using HTML, CSS, and JavaScript, but it runs in a webview embedded in a native app instead of in a stand-alone mobile browser
React Native has a completely different architecture: instead of writing your UI using web technologies, it uses the React component model to render to native views.
Ionic is a Cordova based app that wrap current web app into a mobile application. It uses the android existing web view to render the app so the file size is quite small
Meanwhile react native create bridge between JavaScript and native component.
When it comes to memory usage, Ionic framework uses more than react native apps
The Ionic app is slower at loading videos because it needs to download from other server, while in react native, it caches the tiles so it loads faster.
When it comes to integration, react native can use every client based JavaScript modules from npm (node package manager) whereas Ionic uses only the Cordova-based code.
Ionic is a framework that creates an idea of writing code only once
React native is not a write once and run anywhere framework, but is popularly touted as a “learn once, write anywhere” framework
Ionic Framework app needs to use device features and APIs through Apache Cordova plugins.
With react native you can access any device component or API
Based on the points above, you can see the difference in their functionalities, so if you want to go for something that creates performant iOS and Android apps that feel at home on their respective platforms ten you can opt for React Native.
And, if you are targeted at building hybrid mobile apps, Ionic is the best choice!

iOS toolkit/framework/component for building news like app

Is there some-kind of open-source (or commercial) toolkit, framework or iOS component that would simplify process of making iPhone app for news-like website?
I know there are on-line services that create a native iPhone app from your blog (Wordpress, Blogger, ...), but we have a custom-build news site and we need a native iPhone app. Is there something cool to begin with, some kind of framework or toolkit that would offer you a basic setup like data fetching, caching, categorizing and common UI in terms of native iOS UIKit elements? Or is the only way to go do-it-yourself-from-beginning-to-the-end?
As far as I know, there are a couple of SDKs that will allow you to create full Apps using html, css and javascript.
Phonegap (http://phonegap.com/)
Cordova (http://cordova.apache.org/)

iphone: cross platform references and referencing external framework resources

working on an iphone app and separate framework.
the separate framework is for an API that i'm building for use in multiple future apps.
this api now needs to reference resources (images). what i would like to do is keep the resources WITH the API framework as local set of resources.
i followed the instructions from http://www.clintharris.net/2009/iphone-app-shared-libraries/ to setup my app's project to use the headers from the separate API framework.
what i can't seem to figure out is how to automatically load the framework's resources into the app's xcode environment so they can be linked in at app compile time.
sure, i can drag the resources across from the framework into the main app's set of resources. but that seems kinda ugly and another step that possibly can be automated (??) anyone know of a better way? it would be great if any changes from the framework would be automatically available in the main app (due to the project 'link-age').
thanks for any help/tips/suggestions...
You can't make your own frameworks and have the apps made with that framework get accepted into the iTunes store... Apple doesn't allow other frameworks in the App Store.