Comments (24)
I haven't tested it myself, but I don't see any principled reason why it couldn't work on OS X. Out of the top of my head the only real dependency right now is the application lifecycle and network reachability code. It shouldn't be too difficult to factor that out. I've actually stopped using CocoaPods in my own code and will add a project with a framework target soon. That should make it easier to support a separate OS X target.
from meteor-ios.
I took a closer look and yes I think with some compile time flags it could
be easy to do.
On 2015年2月13日(金) at 18:53 Martijn Walraven [email protected] wrote:
I haven't tested it myself, but I don't see any principled reason why it
couldn't work on OS X. Out of the top of my head the only real dependency
right now is the application lifecycle and network reachability code. It
shouldn't be too difficult to factor that out. I've actually stopped using
CocoaPods in my own code and will add a project with a framework target
soon. That should make it easier to support a separate OS X target.—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from meteor-ios.
Do you think this is likely to happen? I am about to start a project that will have an iOS and OS X application and would very much like to use this framework in them both?
Thanks
Gareth
from meteor-ios.
You'd have to spend some time removing iOS dependencies from the code and configuring the CocoaPods spec for both platforms (or set up separate framework targets), but I don't foresee any real trouble. I'm not sure when I'll get to this myself, as I'm not working on OS X apps right now, but it is on my to do list.
from meteor-ios.
I took a look at it myself and found that the SimpleKeychain dependency to be the non trivial part. Everything else was pretty simple. Martjin what role does the keychain play? Could it be sidestepped for now so that we could move forward?
from meteor-ios.
I've got it to compile by compiling out iOS specific pieces, and without having to comment out too much code ;)
I'm going to take it for a spin in one of my projects and if all goes well I'll put up a pull request.
from meteor-ios.
Let me know how it goes. I'm in the process of making a few other changes to the project structure, so maybe you should wait for them to land before working on a pull request. We would also have to add separate targets for iOS and OS X, and change the Podspec.
from meteor-ios.
Yep, I've already updated the podspec. The changes were minimal (they took
maybe 10 minutes to compile out with compile time flags) so go ahead.
On Tue, Apr 21, 2015 at 9:02 AM Martijn Walraven [email protected]
wrote:
Let me know how it goes. I'm in the process of making a few other changes
to the project structure, so maybe you should wait for them to land before
working on a pull request. We would also have to add separate targets for
iOS and OS X, and change the Podspec.—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from meteor-ios.
Mathieu, can you publish an example OS X project that uses this meteor framework?
from meteor-ios.
I had to update a sub dependency to support the OS X version of meteor-ios, so I guess I have to have that pulled first and then make another for meteor-ios.
Embarrassingly this is my first github pull request
from meteor-ios.
First pull request for SimpleKeychain in case anyone wants to take a look
mathieutozer/SimpleKeychain@2b6d260?diff=split
from meteor-ios.
Working version of Leaderboard for OS X
from meteor-ios.
Can you put the source code of your OSX leaderbord example online?
from meteor-ios.
I was waiting for the pull request for simple keychain to get done, do you
have a local working version of meteor for os x running and want to see how
to make a mac os x leaderboard app or can you wait until the official pull
request is ready?
On Wed, May 6, 2015 at 3:12 PM Devian [email protected] wrote:
Can you put the source code of your OSX leaderbord example online?
—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from meteor-ios.
Ok I've pushed a shaky version to https://github.com/mathieutozer/meteor-ios
I am still waiting for a pull request for SimpleKeychain to happen before making an official PR for meteor-ios, I can't work out how to reference my fork with the podspecs (and some googling tells me it is not possible anyway) so I just copied the keychain source into the meteor pod for now to share how this looks.
Also for some reason with this change the test target in the generated workspace is screwed up. If anyone can clone take a look that would be appreciated!
from meteor-ios.
Any more progress on this? I can help; I have a big paying project that could use this.
from meteor-ios.
Hey I haven't worked on this for a while, I ran into a pretty nasty rebase. If you want to pick it up while I'm on vacation, go ahead!
from meteor-ios.
What's the nasty rebase, where are you at, and what can I do to help move it along?
from meteor-ios.
Just rebasing my fork onto the latest master was pretty bad - maybe start
there?
On Mon, Aug 3, 2015 at 7:01 PM Steve Steiner [email protected]
wrote:
What's the nasty rebase, where are you at, and what can I do to help move
it along?—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from meteor-ios.
+1
from meteor-ios.
For people following along the master in this fork should work. Someone try it out?
https://github.com/mathieutozer/meteor-ios
from meteor-ios.
Cool, @mathieutozer. I’ll check it out asap!
Does it include your OS X leaderboard sample?
from meteor-ios.
Yes it does!
On Fri, Nov 13, 2015 at 7:39 PM Jakob Alminde [email protected]
wrote:
Cool, @mathieutozer https://github.com/mathieutozer. I’ll check it out
asap!Does it include your OS X leaderboard sample?
—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from meteor-ios.
DUDE, SWEET!
from meteor-ios.
Related Issues (20)
- When using local IP of my macbook where meteor is running not able to connect to iPhone (ws://local IP:4000/websocket) HOT 1
- managedObjectContext nil - NSFetchedResultsController
- How to refactor METAccount so we can pass in our own service and access group to keychain?
- [IOS][1.3+] WKWebView terminated [White Screen of Death] - kills Geofence events HOT 5
- Not able to get the document ID from the collection. HOT 3
- hello @import Meteor;
- You this is written in Swift, please HOT 1
- preform complex fetches via METFetchRequest to METDatabase#executeFetchRequest:
- Mobile-config.js - App.info: Team HOT 1
- Application crash after assertionFailure in sendMessage Meteor/METDDPConnection.m:74 HOT 1
- How to listen subscription with METDDPClient HOT 1
- retry opening connection
- How to to get notified for specific collection changes?
- How to correctly use updateDocumentWithID? HOT 2
- Support meteor 1.5?
- How to log Out in Swift?
- Custom Mapping to Coredata
- Is this still being maintained? HOT 1
- How to listen to the subscriptions?
- Library not loaded: @rpath/InflectorKit.framework/InflectorKit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-ios.