vitaliy-paliy / messenger Goto Github PK
View Code? Open in Web Editor NEWiOS - Real-time messaging app π¨
License: Apache License 2.0
iOS - Real-time messaging app π¨
License: Apache License 2.0
building for iOS Simulator, but linking in dylib built for iOS, file '/Users/charliemallia/Downloads/Messenger/Pods/Mapbox-iOS-SDK/dynamic/Mapbox.framework/Mapbox' for architecture arm64
I will make it for people on iPad
Iβm very lazy and this seems very cool. Figured Iβd ask. Great work.
This is the same issue as #18 , But the solution was never posted.
From: FriendRequestCell.Swift
private func setupAcceptButton() {
acceptButton.translatesAutoresizingMaskIntoConstraints = false
acceptButton.setTitle("ACCEPT", for: .normal)
acceptButton.titleLabel?.font = UIFont.boldSystemFont(ofSize: 12)
let gradient = setupGradientLayer()
gradient.frame = bounds
acceptButton.layer.insertSublayer(gradient, at: 0)
acceptButton.tintColor = .white
acceptButton.layer.cornerRadius = 12
acceptButton.layer.masksToBounds = true
debugPrint("*** Marker 10")
acceptButton.addTarget(self, action: #selector( addButtonPressed), for: .touchUpInside)
debugPrint("*** Marker 11")
addSubview(acceptButton)
let constraints = [
acceptButton.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -16),
acceptButton.bottomAnchor.constraint(equalTo: centerYAnchor),
acceptButton.widthAnchor.constraint(equalToConstant: 75),
acceptButton.heightAnchor.constraint(equalToConstant: 20)
]
NSLayoutConstraint.activate(constraints)
//addButtonPressed()
}
accecpt.addTarget is the issue. Nothing happens when touched.
The syntax seems to correct. The order seems to be correct as well.
I question the location of it, though.
Or is it something simple?
Marker 10 and 11 do show up without error.
Hi when i change profile image in ipad 13.5.1 it crashes. Can you check it out and help me.
Best wishes
Hi Sir,
I have cloned this app and made the necessary changes (install pods, addition of Google info plist file, creation of database and storage in firebase, mapbox token). When I run it, the app crahses and shows following error message on Appdelegate:
When I go into Exception backtrace thread, it points out to AuthNetworking.Swift (setupUserinfo) function, line 59: Database.database().reference().child("users").child(uid).observeSingleEvent(of: .value)
And also in scene delegate line 30:
authNetworking.setupUserInfo(uid) { (isActive) in
In friend requests screen, both buttons appear next to name and email in the table view, but can't be clicked
it is not possible to change the profile picture if it is not done when we register
When a person sends a friend request, the other is unable to accept it, as no action is taken wherever you press
Done
Does anyone know how to fix this? Happens at app login.
After clicking on "Add Friends" it find's nil in the following function unexpectedly.
This also happens in the demo app (master branch).
private func getUsersList() {
userListNetworking.fetchUsers { usersList in
let sortedUserList = Array(usersList.values).sorted { (friend1, friend2) -> Bool in
return friend1.name < friend2.name. //Xcode showing the nil here
}
self.users = sortedUserList
self.blankLoadingView.isHidden = true
self.tableView.reloadData()
}
}
"import Lottie" it gives me an error with no such module Lottie written
"import Firebase" it gives me an error with Couldn't build Objective-C module "firebase"
#import <FirebaseCore/FirebaseCore.h> this file are missing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.