Git Product home page Git Product logo

Comments (24)

martijnwalraven avatar martijnwalraven commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

gazzer82 avatar gazzer82 commented on May 22, 2024

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.

martijnwalraven avatar martijnwalraven commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

martijnwalraven avatar martijnwalraven commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

Dev1an avatar Dev1an commented on May 22, 2024

Mathieu, can you publish an example OS X project that uses this meteor framework?

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

First pull request for SimpleKeychain in case anyone wants to take a look

mathieutozer/SimpleKeychain@2b6d260?diff=split

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

Working version of Leaderboard for OS X
screen shot 2015-04-28 at 4 59 11 pm

from meteor-ios.

Dev1an avatar Dev1an commented on May 22, 2024

Can you put the source code of your OSX leaderbord example online?

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

ssteinerx avatar ssteinerx commented on May 22, 2024

Any more progress on this? I can help; I have a big paying project that could use this.

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

ssteinerx avatar ssteinerx commented on May 22, 2024

What's the nasty rebase, where are you at, and what can I do to help move it along?

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

freysie avatar freysie commented on May 22, 2024

+1

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

For people following along the master in this fork should work. Someone try it out?

https://github.com/mathieutozer/meteor-ios

from meteor-ios.

freysie avatar freysie commented on May 22, 2024

Cool, @mathieutozer. I’ll check it out asap!

Does it include your OS X leaderboard sample?

from meteor-ios.

mathieutozer avatar mathieutozer commented on May 22, 2024

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.

freysie avatar freysie commented on May 22, 2024

DUDE, SWEET!

from meteor-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.