客户端分模块设计-用户注册
2017-03-08 11:50:10 0 举报
用户注册模块是客户端的一个重要部分,主要用于处理用户的注册请求。该模块包括用户名、密码输入框以及注册按钮。当用户输入用户名和密码后,点击注册按钮,模块会将用户输入的信息发送到服务器进行验证。如果验证通过,服务器会返回一个注册成功的信息,否则返回一个错误信息。此外,该模块还需要对用户的输入进行合法性检查,例如检查用户名是否已存在,密码是否符合安全要求等。在设计时,我们需要考虑用户体验,使得注册过程简单易懂,同时也要考虑到安全性,防止恶意攻击。
作者其他创作
大纲/内容
WishListView
UITableView *wishListTable; UIView *headerBarView; UIView *mapHeaderBarView; UIView *toolBarView;
-(void)searchButtonTapped:(id)sender-(void)searchBarCancelButtonClicked:(UISearchBar *)searchBar-(void)showUserInfo:(id)sender-(void)showWishDetail:(int)theWishIndex-(void)claimForWish-(void)sortWishesByDistance-(void)categoryButtonTapped:(id)sender-(void)sortButtonTapped:(id)sender-(void)optionButtonTapped:(id)sender-(void)sendWishListRequest-(double)getDistanceWithTargetLocation:(CLLocation *)dest-(NSString *)getDistanceTextWithDistance:(double)theDistance-(NSString *)intervalBefore: (NSDate *)theDate-(NSString *)intervalRemain: (NSDate *)theDate-( void )requestFinished:( ASIHTTPRequest *)request- ( void )requestFailed:( ASIHTTPRequest *)request-(void)setWishListArrayWithResponseData:(NSData *)infoData-(void)wishClaimResultParser:(NSData *)infoData
WishMapView
UIView *wishMapView; MKMapView *theMapView;
-(void)addAnnotationOnMapForLocation:(CLLocationCoordinate2D)theLocation title:(NSString *)theTitle-(MKAnnotationView *)mapView:(MKMapView *)mV viewForAnnotation:(id )annotation-(void)showWishMap:(id)sender-(void)mapNextButtonTapped:(id)sender-(void)mapLastButtonTapped:(id)sender-(void)addAnnotationsOnMapOfIndex:(NSRange)theIndex
WishCell
UILabel *createUserSexLabel; UILabel *tagLabel; UILabel *contentLabel; UILabel *distanceLabel; UILabel *remainTimeLabel; UIImageView *paybackIcon; UIImageView *genderIcon;
PopOverListView
- (UITableViewCell *)popoverListView:(UIPopoverListView *)popoverListView cellForIndexPath:(NSIndexPath *)indexPath- (NSInteger)popoverListView:(UIPopoverListView *)popoverListView numberOfRowsInSection:(NSInteger)section- (void)popoverListView:(UIPopoverListView *)popoverListView didSelectIndexPath:(NSIndexPath *)indexPath- (void)popoverListViewDidDismiss:(UIPopoverListView *)popoverListView
0 条评论
下一页
为你推荐
查看更多