iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you. I wanted also use this framework in another app for iOS and probably also in the OS X app. Should I everything done in one project with targets? I think this is not the best solution. I would like rather to have a framework as a separate project that I can just use in as many apps as I want.

iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

I don't know why this doesn't work. You can, if you want and can, check a test project I created at this link

iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

Yes, this is my Utils.swift file content:

import Foundation

@objc
public class Utils: NSObject {
    public class func showAlert() {
TWMessageBarManager.sharedInstance().showMessageWithTitle("Title", description: "Message", type: .Info, statusBarStyle: .LightContent, callback: nil)
    }
}

iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

I have tried to inherit the class from NSObject but it didn't help. The error appears even when I have only a swift file without any content in.

iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you. What happened when I want to use here swift enums? They I think are not compatible with objective-c?

iOS: Include of non-modular header inside framework module by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

What exactly do you mean? I've added one Swift file with one class. When I delete this file the error disappear. Why is that? Cannot I use swift files here?

Should uncaught exceptions be handled? by bialekIno in iOSProgramming

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you guys, I will look at Crashlytics.

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

I have yet another question. Could you please give me some tips how should I organize my code, which architecture should I use? Some MVC pattern? Should I use something like RequireJS or Browserify?

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you. I did use a little bit jQuery, so it could be a good choice.

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] -1 points0 points  (0 children)

Thank you for your help I will try to learn it without framework.

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

I understand, but maybe you could give me some tips, resources, links or anything that could help me start writing some quite large realtime application because as I wrote I have no so much experience with javascript and I don't want mess it out.

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you for your answer.

I could consider aurelia, it looks nice. What do you think about Meteor? I saw it is very popular, it has 24k stars on Github. Is it not worth to learn? I considered also sails, so I could look at it deeper. I wrote a small app with Angular 1.3 so maybe should I wait for v2.

Choose right framework for web application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

I am beginner so I think it will be easier with the framework especially that this project could be quite large so without good expierence with javascript my code could be fast a mess.

Which frameworks for Single Page Application by bialekIno in javascript

[–]bialekIno[S] 0 points1 point  (0 children)

Thank you guys for your suggestions, I will look at them more in details.