Skip to content

#defines for use with feature obj_arc + protocol for more MVC-like behavior - #25

Open
johnkdoe wants to merge 1 commit into
leah:masterfrom
johnkdoe:xolaware_objc_arc_suggested_fixes
Open

#defines for use with feature obj_arc + protocol for more MVC-like behavior#25
johnkdoe wants to merge 1 commit into
leah:masterfrom
johnkdoe:xolaware_objc_arc_suggested_fixes

Conversation

@johnkdoe

Copy link
Copy Markdown

some suggested fixes for use with projects that use ARC

  1. in the vein of github/jdg/MBProgressHUD.git, add #defines for
    _STRONG and _WEAK so this can be used for both older non-arc and newer
    arc-based projects
  2. add @protocol PullToRefreshTableViewDelegate to force the implementor
    to implement their own refresh

also
a) silence "redundant" Xcode 4.4 clang warnings in setupStrings by
using the suggested fixes for the strings
b) also, localize the strings so a project can decide to set these
values to whatever makes most sense to the project, and the most
sense for each localization
c) show how the protocol works in the DemoTableViewController.m

…e behavior
1) in the vein of github/jdg/MBProgressHUD.git, add #defines for
_STRONG and _WEAK so this can be used for both older non-arc and newer
arc-based projects
2) add protocol PullToRefreshTableViewDelegate to force the implementor
to implement their own refresh
also
a) silence "redundant" Xcode 4.4 clang warnings in setupStrings by
using the suggested fixes for the strings
b) also, localize the strings so a project can decide to set these
values to whatever makes most sense to the project, and the most
sense for each localization
c) show how the protocol works in the DemoTableViewController.m
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@johnkdoe