Giter Club home page Giter Club logo

lzalbum's Introduction

LZAlbum

基于 LeanCloud 的朋友圈,展示了如何在 LeanCloud 上实现一对一和一对多的关系建模。

album

Support

如果在使用过程中有任何问题,请提 issue ,我会在 Github 上给予帮助。

Run

   pod install --no-repo-update --verbose (报错说库找不到的话,去掉 --no-repo-update)
   open LZAlbum.xcworkspace

Credit

UI 界面大量借鉴了 MessageDisplayKit,数据放在了 LeanCloud 上,一并表示感谢。

Backend

image

用公共账号登录 https://leancloud.cn ,账号/密码:[email protected]/Public123 ,选择应用 LCAlbum 即可查看表结构。
注意 请不要更改后台数据,查看就好了。否则可能造成客户端崩溃
注意 上面的账号密码不是这个应用登录的账号,而是 LeanCloud 后台的账号。应用登录的账号,先在注册界面注册一个即可。

Document

相关文档

License

MIT

lzalbum's People

Contributors

ldhlfzysys avatar lzwjava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lzalbum's Issues

demo 运行出错

1.diff: /../Podfile.lock: No such file or directory
2.diff: /Manifest.lock: No such file or directory
3.error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

pid

bogon:LZAlbum wenxuanshin$ pod install
Analyzing dependencies

CocoaPods 0.39.0 is available.
To update use: gem install cocoapods

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies
Installing AVOSCloud (3.1.6.3)
Installing DWTagList (0.0.7)
Installing DateTools (1.7.0)
Installing FXForms (1.2.14)
Installing MBProgressHUD (0.9.1)
Installing SDWebImage (3.7.3)
Generating Pods project
2015-11-17 16:20:47.296 ruby[3568:262936] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-9081/IDEFoundation/Initialization/IDEInitialization.m:590
Details: Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread: <NSThread: 0x7f981cef0840>{number = 1, name = main}
Hints: None
Backtrace:
0 0x000000010d528f86 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:](in DVTFoundation)
1 0x000000010d528713 _DVTAssertionHandler (in DVTFoundation)
2 0x000000010d52897f _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000010d5288e1 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x000000010f2456ad IDEIsInitializedForUserInteraction (in IDEFoundation)
5 0x0000000111a78081 +[PBXProject projectWithFile:errorHandler:readOnly:](in DevToolsCore)
6 0x0000000111a79c06 +[PBXProject projectWithFile:errorHandler:](in DevToolsCore)
7 0x00007fff925f8f44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6
之后进程序就会出现与上一个提问者一样的关联错误

注册时候更新头像报错

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

容易奔溃

容易崩溃,怎么评论不了呢,并且,点赞也点不了哦

唉,注册都不能注册

点击注册提交,毫无反应。无法注册,就无法登陆,无法登陆,就啥也看不了。

没法登陆

用公共账号登录 https://leancloud.cn ,账号/密码:[email protected]/Public123 ,选择应用 LCAlbum 即可查看表结构。

登录一个github 一个微博 一个qq 这账号密码哪个都登不上 也就没法注册 是咋回事

评论点击事件问题

评论点击事件似乎有问题,点击有的评论不能弹出键盘和 textfield,有可能是 Cell 复用导致的?没仔细看代码。

有问题的看着里,希望对你有帮助

1.关于后台登陆不上的问题。
这个问题的话。我们自己测试不用上面给的后台,把项目里面的key和id都换掉,换成自己的key和ID
2建表。
上面的操作之后,在自己的后台上建一个表。表的字段和github上的给的表的字段是一样的。其中的creator是pointer。需要绑定一个表,是user表。
3建表之后的问题
建表之后你发一条说说上拉刷新的时候会有个错误。是报403。是访问calss被禁止。这个需要吧user表的get权限打开public(忘记了也可能是find权限都试试,先把demo能够正常的运行起来。别的问题随后在说),
4评论的按钮点击没有反应
把前三个步骤多看看。(第一次运行demo时候我也发现啦这个问题。花里半天时候没有解决。我记得我调试的时候把前三个步骤调好之后。这个问题就顺利解决啦)
5以上内容仅限参考。希望对你有帮助([email protected])

登录引发崩溃

我在没有填写用户名和密码的情况下,直接点击登录按钮,应用就崩溃了,建议添加保护代码

权限的问题

我两台设备上都分别申请账号,进行登陆发现会出现错误,报403的错误,说权限的问题,而且的demo的评论的按钮点击不懂。请作者进行修复

你好

我在项目中注册的用户名是一段字符 (例如 小灰_112);现在我展示的headerViwe的时候名字可以改成小灰;发表状态时的用户名也可替换成小灰,但是点赞和评论的时候发现不只是改了移动端,我后台表里面的userName字段也被修改成小灰了,这个问题应该怎么避免啊,已经调试了一天了,很急,谢谢了

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.