Git Product home page Git Product logo

metacom-ios's People

Contributors

greatandpowerfulking avatar gyfk avatar tshemsedinov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metacom-ios's Issues

GUI for MetaCom

Current version of user interface looks like a prototype. It's not ugly, but not good at all. So I propose to try to create new pretty version of GUI based on a current navigation logic. I doubt that we will look for a graphical designer for this project, that's why I can try to do it myself, but only if you, @GYFK, will approve this task.

Chat export

We need new functionality: before exit user may want to save history to the text file.
For iOS all files should be stored attached to certain application, so I think we will not store files attached to Metacom. Better export to different apps (registered in system), cloud storage apps, etc. @GYFK

Message class modification

I propose to replace MessageType in Message class with an enum with associated values, something like this (it's only concept and should be discussed):

public enum Content {
	case text(String)
	case image(UIImage)
	case file(Data)
}

Remove property type and replace let content: String with let content: Content.

@GYFK If you are agree, I'm ready to work on this modification.

Code refactoring

@GYFK I don't understand a purpose of MessageReceiver protocol. If only notification about new messages, then didJoin() and didLeave() methods are excessive. In other case, it shouldn't be called like MessageReceiver, but ChatRoomDelegate. Also mentioned above methods' names are too short and provide no info about the sender. I suppose we should follow delegate methods naming like chatRoom(_ chat: ChatRoom, didReceiveMessage message: Message).

UI for MetaCom

UI for the first version of MetaCom will be created according to the referenced mock (see metarhia/Metarhia#9 (comment)). @GYFK, what do you think? Do we need to create app design in Sketch? Or we can start creating layouts for application in Interface Builder?

MetaCom logo

We need white logo on black. This is not Metarhia logo, this is solar eclipse:
mc

Files selection for uploading

We should decide how user will select files for uploading. There are two common ways:

  1. Add MetaCom to the system's share menu to accept any files:
    img_1199

  2. Allow user to select files from iCloud Drive:
    img_1200

I suppose we should provide both options.

The first one is a little bit complicated because we should handle file receiving in any point of an application’s lifecycle (e. g. if there is not an active connection, let user to setup it; or to specify a chatroom, if needed; etc).

The second one requires Apple ID enrolled into Apple Developer Program. So, it can be added later.

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.