forked from minima/mopub-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Class Documentation for version 4.0
- Loading branch information
Showing
34 changed files
with
6,300 additions
and
1,766 deletions.
There are no files selected for viewing
201 changes: 201 additions & 0 deletions
201
ClassDocumentation/Blocks/MPNativeAdRequestHandler.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | ||
<title>MPNativeAdRequestHandler Block Reference</title> | ||
<meta id="xcode-display" name="xcode-display" content="render"/> | ||
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | ||
<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | ||
<meta name="generator" content="appledoc 2.2 (build 963)" /> | ||
</head> | ||
<body> | ||
<header id="top_header"> | ||
<div id="library" class="hideInXcode"> | ||
<h1><a id="libraryTitle" href="../index.html">MoPubSDK </a></h1> | ||
<a id="developerHome" href="../index.html">MoPub</a> | ||
</div> | ||
|
||
<div id="title" role="banner"> | ||
<h1 class="hideInXcode">MPNativeAdRequestHandler Block Reference</h1> | ||
</div> | ||
<ul id="headerButtons" role="toolbar"> | ||
<li id="toc_button"> | ||
<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | ||
</li> | ||
<li id="jumpto_button" role="navigation"> | ||
<select id="jumpTo"> | ||
<option value="top">Jump To…</option> | ||
|
||
|
||
|
||
|
||
|
||
</select> | ||
</li> | ||
</ul> | ||
</header> | ||
<nav id="tocContainer" class="isShowingTOC"> | ||
<ul id="toc" role="tree"> | ||
|
||
|
||
|
||
|
||
|
||
</ul> | ||
</nav> | ||
<article> | ||
<div id="contents" class="isShowingTOC" role="main"> | ||
<a title="MPNativeAdRequestHandler Block Reference" name="top"></a> | ||
<div class="main-navigation navigation-top"> | ||
<ul> | ||
<li><a href="../index.html">Index</a></li> | ||
<li><a href="../hierarchy.html">Hierarchy</a></li> | ||
</ul> | ||
</div> | ||
<div id="header"> | ||
<div class="section-header"> | ||
<h1 class="title title-header">MPNativeAdRequestHandler Block Reference</h1> | ||
</div> | ||
</div> | ||
<div id="container"> | ||
|
||
<div class="section section-specification"><table cellspacing="0"><tbody> | ||
<tr> | ||
<td class="specification-title">Declared in</td> | ||
<td class="specification-value">MPNativeAdRequest.h</td> | ||
</tr> | ||
</tbody></table></div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a title="Block Definition" name="instance_methods"></a> | ||
<h2 class="subtitle subtitle-methods">Block Definition</h2> | ||
<h3 class="subsubtitle method-title">MPNativeAdRequestHandler</h3> | ||
|
||
|
||
<code>typedef void (^MPNativeAdRequestHandler) (MPNativeAdRequest *request, MPNativeAd *response, NSError *error)</code> | ||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
<div class="main-navigation navigation-bottom"> | ||
<ul> | ||
<li><a href="../index.html">Index</a></li> | ||
<li><a href="../hierarchy.html">Hierarchy</a></li> | ||
</ul> | ||
</div> | ||
<div id="footer"> | ||
<hr /> | ||
<div class="footer-copyright"> | ||
<p><span class="copyright">© 2015 MoPub. All rights reserved. (Last updated: 2015-10-07)</span><br /> | ||
|
||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 963)</a>.</span></p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</article> | ||
<script type="text/javascript"> | ||
function jumpToChange() | ||
{ | ||
window.location.hash = this.options[this.selectedIndex].value; | ||
} | ||
|
||
function toggleTOC() | ||
{ | ||
var contents = document.getElementById('contents'); | ||
var tocContainer = document.getElementById('tocContainer'); | ||
|
||
if (this.getAttribute('class') == 'open') | ||
{ | ||
this.setAttribute('class', ''); | ||
contents.setAttribute('class', ''); | ||
tocContainer.setAttribute('class', ''); | ||
|
||
window.name = "hideTOC"; | ||
} | ||
else | ||
{ | ||
this.setAttribute('class', 'open'); | ||
contents.setAttribute('class', 'isShowingTOC'); | ||
tocContainer.setAttribute('class', 'isShowingTOC'); | ||
|
||
window.name = ""; | ||
} | ||
return false; | ||
} | ||
|
||
function toggleTOCEntryChildren(e) | ||
{ | ||
e.stopPropagation(); | ||
var currentClass = this.getAttribute('class'); | ||
if (currentClass == 'children') { | ||
this.setAttribute('class', 'children open'); | ||
} | ||
else if (currentClass == 'children open') { | ||
this.setAttribute('class', 'children'); | ||
} | ||
return false; | ||
} | ||
|
||
function tocEntryClick(e) | ||
{ | ||
e.stopPropagation(); | ||
return true; | ||
} | ||
|
||
function init() | ||
{ | ||
var selectElement = document.getElementById('jumpTo'); | ||
selectElement.addEventListener('change', jumpToChange, false); | ||
|
||
var tocButton = document.getElementById('table_of_contents'); | ||
tocButton.addEventListener('click', toggleTOC, false); | ||
|
||
var taskTreeItem = document.getElementById('task_treeitem'); | ||
if (taskTreeItem.getElementsByTagName('li').length > 0) | ||
{ | ||
taskTreeItem.setAttribute('class', 'children'); | ||
taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | ||
} | ||
|
||
var tocList = document.getElementById('toc'); | ||
|
||
var tocEntries = tocList.getElementsByTagName('li'); | ||
for (var i = 0; i < tocEntries.length; i++) { | ||
tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | ||
} | ||
|
||
var tocLinks = tocList.getElementsByTagName('a'); | ||
for (var i = 0; i < tocLinks.length; i++) { | ||
tocLinks[i].addEventListener('click', tocEntryClick, false); | ||
} | ||
|
||
if (window.name == "hideTOC") { | ||
toggleTOC.call(tocButton); | ||
} | ||
} | ||
|
||
window.onload = init; | ||
|
||
// If showing in Xcode, hide the TOC and Header | ||
if (navigator.userAgent.match(/xcode/i)) { | ||
document.getElementById("contents").className = "hideInXcode" | ||
document.getElementById("tocContainer").className = "hideInXcode" | ||
document.getElementById("top_header").className = "hideInXcode" | ||
} | ||
|
||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.